summaryrefslogtreecommitdiff
path: root/home/flag.asm
diff options
context:
space:
mode:
Diffstat (limited to 'home/flag.asm')
-rw-r--r--home/flag.asm4
1 files changed, 2 insertions, 2 deletions
diff --git a/home/flag.asm b/home/flag.asm
index d2b70731a..442c811c2 100644
--- a/home/flag.asm
+++ b/home/flag.asm
@@ -14,7 +14,7 @@ ResetBikeFlags:: ; 2e56
; 2e5d
ResetFlashIfOutOfCave:: ; 2e5d
- ld a, [wPermission]
+ ld a, [wEnvironment]
cp $2
jr z, .asm_2e69
cp $1
@@ -105,7 +105,7 @@ FlagAction:: ; 0x2e76
CheckReceivedDex:: ; 2ead
ld de, ENGINE_POKEDEX
ld b, CHECK_FLAG
- callba EngineFlagAction
+ farcall EngineFlagAction
ld a, c
and a
ret