summaryrefslogtreecommitdiff
path: root/engine/battle/init_battle_variables.asm
diff options
context:
space:
mode:
Diffstat (limited to 'engine/battle/init_battle_variables.asm')
-rw-r--r--engine/battle/init_battle_variables.asm2
1 files changed, 1 insertions, 1 deletions
diff --git a/engine/battle/init_battle_variables.asm b/engine/battle/init_battle_variables.asm
index 78f4ad22..5383a546 100644
--- a/engine/battle/init_battle_variables.asm
+++ b/engine/battle/init_battle_variables.asm
@@ -27,7 +27,7 @@ InitBattleVariables: ; f6236 (3d:6236)
jr nz, .loop
inc a ; POUND
ld [wTestBattlePlayerSelectedMove], a
- ld a, [W_CURMAP]
+ ld a, [wCurMap]
cp SAFARI_ZONE_EAST
jr c, .notSafariBattle
cp SAFARI_ZONE_REST_HOUSE_1