summaryrefslogtreecommitdiff
path: root/engine/events/hidden_objects/bookshelves.asm
diff options
context:
space:
mode:
Diffstat (limited to 'engine/events/hidden_objects/bookshelves.asm')
-rw-r--r--engine/events/hidden_objects/bookshelves.asm2
1 files changed, 1 insertions, 1 deletions
diff --git a/engine/events/hidden_objects/bookshelves.asm b/engine/events/hidden_objects/bookshelves.asm
index eaf744ff..9cdd037a 100644
--- a/engine/events/hidden_objects/bookshelves.asm
+++ b/engine/events/hidden_objects/bookshelves.asm
@@ -1,6 +1,6 @@
; prints text for bookshelves in buildings without sign events
PrintBookshelfText::
- ld a, [wSpriteStateData1 + 9] ; player's sprite facing direction
+ ld a, [wSpritePlayerStateData1FacingDirection]
cp SPRITE_FACING_UP
jr nz, .noMatch
; facing up