aboutsummaryrefslogtreecommitdiffstats
path: root/engine/events/card_key.asm
diff options
context:
space:
mode:
Diffstat (limited to 'engine/events/card_key.asm')
-rwxr-xr-xengine/events/card_key.asm2
1 files changed, 1 insertions, 1 deletions
diff --git a/engine/events/card_key.asm b/engine/events/card_key.asm
index cc641893..a37a1f27 100755
--- a/engine/events/card_key.asm
+++ b/engine/events/card_key.asm
@@ -88,7 +88,7 @@ GetCoordsInFrontOfPlayer:
ld d, a
ld a, [wXCoord]
ld e, a
- ld a, [wSpriteStateData1 + 9] ; player's sprite facing direction
+ ld a, [wSpritePlayerStateData1FacingDirection]
and a
jr nz, .notFacingDown
; facing down