summaryrefslogtreecommitdiff
path: root/engine/hidden_object_functions17.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 /engine/hidden_object_functions17.asm
parentaafed67874b49180b4640eeaf5b20981c24ce9fc (diff)
Split out pikachu engine functions; sprite state data macros
Diffstat (limited to 'engine/hidden_object_functions17.asm')
-rwxr-xr-xengine/hidden_object_functions17.asm2
1 files changed, 1 insertions, 1 deletions
diff --git a/engine/hidden_object_functions17.asm b/engine/hidden_object_functions17.asm
index 8e5920d5..31f9befc 100755
--- a/engine/hidden_object_functions17.asm
+++ b/engine/hidden_object_functions17.asm
@@ -14,7 +14,7 @@ RedBedroomPCText: ; 5db8e (17:5b8e)
db $fc ; FuncTX_ItemStoragePC
Route15GateLeftBinoculars: ; 5db8f (17:5b8f)
- ld a, [wSpriteStateData1 + 9]
+ ld a, [wPlayerFacingDirection]
cp SPRITE_FACING_UP
ret nz
call EnableAutoTextBoxDrawing