aboutsummaryrefslogtreecommitdiffstats
path: root/home/overworld.asm
diff options
context:
space:
mode:
authorluckytyphlosion <10688458+luckytyphlosion@users.noreply.github.com>2018-11-18 19:24:53 -0500
committerluckytyphlosion <10688458+luckytyphlosion@users.noreply.github.com>2018-11-18 19:24:53 -0500
commitc5b2436daadbae47d6251052d62436afbaa91158 (patch)
tree5671f8d0e7368b736c8e85bdae277bf9eee09b40 /home/overworld.asm
parentUpdate Discord link. (diff)
downloadpokeyellow-c5b2436daadbae47d6251052d62436afbaa91158.tar.gz
pokeyellow-c5b2436daadbae47d6251052d62436afbaa91158.tar.xz
pokeyellow-c5b2436daadbae47d6251052d62436afbaa91158.zip
Rename spritestatedata structs.
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