summaryrefslogtreecommitdiff
path: root/home/overworld.asm
diff options
context:
space:
mode:
Diffstat (limited to 'home/overworld.asm')
-rw-r--r--home/overworld.asm2
1 files changed, 1 insertions, 1 deletions
diff --git a/home/overworld.asm b/home/overworld.asm
index 29e4f18d..9c53a3be 100644
--- a/home/overworld.asm
+++ b/home/overworld.asm
@@ -1081,7 +1081,7 @@ IsSpriteInFrontOfPlayer::
ld d, $10 ; talking range in pixels (normal range)
IsSpriteInFrontOfPlayer2::
lb bc, $3c, $40 ; Y and X position of player sprite
- ld a, [wPlayerFacingDirection] ; direction the player is facing
+ ld a, [wSpritePlayerStateData1FacingDirection] ; direction the player is facing
.checkIfPlayerFacingUp
cp SPRITE_FACING_UP
jr nz, .checkIfPlayerFacingDown