summaryrefslogtreecommitdiff
path: root/engine/overworld/step_functions.asm
diff options
context:
space:
mode:
Diffstat (limited to 'engine/overworld/step_functions.asm')
-rw-r--r--engine/overworld/step_functions.asm2
1 files changed, 1 insertions, 1 deletions
diff --git a/engine/overworld/step_functions.asm b/engine/overworld/step_functions.asm
index 58667e51..64d215a1 100644
--- a/engine/overworld/step_functions.asm
+++ b/engine/overworld/step_functions.asm
@@ -2,7 +2,7 @@ ApplyOutOfBattlePoisonDamage: ; c3de (3:43de)
ld a, [wd730]
add a
jp c, .noBlackOut ; no black out if joypad states are being simulated
- ld a, [wPreventBlackout]
+ ld a, [wd492]
bit 7, a
jp nz, .noBlackOut
ld a, [wd72e]