aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/route12gateupstairs.asm
diff options
context:
space:
mode:
authorpikalaxalt <PikalaxALT@gmail.com>2016-06-06 12:09:36 -0400
committerpikalaxalt <PikalaxALT@gmail.com>2016-06-06 12:09:36 -0400
commit96a58ce52ac4b8c4c8b2ecbf0f185d1ebda10a6e (patch)
tree94af78e339c96436e8ee2180e19279788659056d /scripts/route12gateupstairs.asm
parentMore printer labels (diff)
downloadpokeyellow-96a58ce52ac4b8c4c8b2ecbf0f185d1ebda10a6e.tar.gz
pokeyellow-96a58ce52ac4b8c4c8b2ecbf0f185d1ebda10a6e.tar.xz
pokeyellow-96a58ce52ac4b8c4c8b2ecbf0f185d1ebda10a6e.zip
Split out pikachu engine functions; sprite state data macros
Diffstat (limited to 'scripts/route12gateupstairs.asm')
-rwxr-xr-xscripts/route12gateupstairs.asm2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/route12gateupstairs.asm b/scripts/route12gateupstairs.asm
index e7ad5cbf..12b7b242 100755
--- a/scripts/route12gateupstairs.asm
+++ b/scripts/route12gateupstairs.asm
@@ -64,7 +64,7 @@ Route12GateUpstairsText_495c4: ; 495c4 (12:55c4)
db "@"
GateUpstairsScript_PrintIfFacingUp: ; 495c9 (12:55c9)
- ld a, [wSpriteStateData1 + 9]
+ ld a, [wPlayerFacingDirection]
cp SPRITE_FACING_UP
jr z, .up
ld a, $1