summaryrefslogtreecommitdiff
path: root/engine/overworld/step_functions.asm
diff options
context:
space:
mode:
authordannye <corrnondacqb@yahoo.com>2016-06-11 16:16:56 -0500
committerdannye <corrnondacqb@yahoo.com>2016-06-11 16:16:56 -0500
commitc979b3bb03b121dd03a800df74144cd69a74601a (patch)
tree0d6bb48125efe6f6215347967383ba4c3b7da391 /engine/overworld/step_functions.asm
parent269f2c3ba72776e975f5b00d9a1361cadbda42a7 (diff)
parent6e8c3883e430b567f7aa8f9230e366e03610bd5a (diff)
Merge branch 'master' of https://github.com/pret/pokeyellow
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 5b9c7e2b..bc1a74aa 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]