summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorTal Hayon <talhayon1@gmail.com>2022-01-03 08:29:21 +0200
committerTal Hayon <talhayon1@gmail.com>2022-01-03 08:31:20 +0200
commit6e6517d2872d88569a927f47e21cd2ca428ddc1c (patch)
treef258bbcce856c2c92d25d43f0ccdda5cd1cd70d8 /src
parent0698806e00d7da64f5c007e23426ed68d52c69ea (diff)
Decompile EU sub_08075ADC
Diffstat (limited to 'src')
-rw-r--r--src/item/itemLantern.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/item/itemLantern.c b/src/item/itemLantern.c
index 6a171d8c..fbcf618c 100644
--- a/src/item/itemLantern.c
+++ b/src/item/itemLantern.c
@@ -44,14 +44,15 @@ void sub_08075A0C(ItemBehavior* this, u32 arg1) {
}
}
-#ifdef EU
-ASM_FUNC("asm/non_matching/eu/sub_08075ADC.inc", void sub_08075ADC(ItemBehavior* this, u32 arg1))
-#else
void sub_08075ADC(ItemBehavior* this, u32 arg1) {
u32 bVar1;
- if (gPlayerState.item != NULL || (this->field_0x5[9] & 1) == 0 ||
- (gPlayerState.flags & (PL_DISABLE_ITEMS | PL_CAPTURED)) != 0 || sub_08079D48() == 0) {
+ if (
+#ifndef EU
+ gPlayerState.item != NULL ||
+#endif
+ (this->field_0x5[9] & 1) == 0 || (gPlayerState.flags & (PL_DISABLE_ITEMS | PL_CAPTURED)) != 0 ||
+ sub_08079D48() == 0) {
this->field_0xf = 0;
this->stateID += 1;
gPlayerState.flags |= PL_USE_LANTERN;
@@ -65,7 +66,6 @@ void sub_08075ADC(ItemBehavior* this, u32 arg1) {
UpdateItemAnim(this);
}
}
-#endif
void sub_08075B54(ItemBehavior* this, u32 arg1) {
u32 bVar1;