aboutsummaryrefslogtreecommitdiffstats
path: root/engine/battle
diff options
context:
space:
mode:
Diffstat (limited to 'engine/battle')
-rw-r--r--engine/battle/wild_encounters.asm2
1 files changed, 1 insertions, 1 deletions
diff --git a/engine/battle/wild_encounters.asm b/engine/battle/wild_encounters.asm
index 6e29dd4c..da0097c9 100644
--- a/engine/battle/wild_encounters.asm
+++ b/engine/battle/wild_encounters.asm
@@ -1,7 +1,7 @@
; try to initiate a wild pokemon encounter
; returns success in Z
TryDoWildEncounter:
- ld a, [wSlopNoWild] ; SL0P no-wild-encounters toggle
+ ld a, [wUnusedFlag] ; SL0P no-wild-encounters toggle
and a
jr nz, .CantEncounter
ld a, [wNPCMovementScriptPointerTableNum]