aboutsummaryrefslogtreecommitdiffstats
path: root/engine/overworld/check_player_state.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 /engine/overworld/check_player_state.asm
parentUpdate Discord link. (diff)
downloadpokeyellow-c5b2436daadbae47d6251052d62436afbaa91158.tar.gz
pokeyellow-c5b2436daadbae47d6251052d62436afbaa91158.tar.xz
pokeyellow-c5b2436daadbae47d6251052d62436afbaa91158.zip
Rename spritestatedata structs.
Diffstat (limited to 'engine/overworld/check_player_state.asm')
-rw-r--r--engine/overworld/check_player_state.asm4
1 files changed, 2 insertions, 2 deletions
diff --git a/engine/overworld/check_player_state.asm b/engine/overworld/check_player_state.asm
index b3eab447..2fcb5b9d 100644
--- a/engine/overworld/check_player_state.asm
+++ b/engine/overworld/check_player_state.asm
@@ -90,7 +90,7 @@ IsPlayerFacingEdgeOfMap:
push hl
push de
push bc
- ld a, [wPlayerFacingDirection] ; player sprite's facing direction
+ ld a, [wSpritePlayerStateData1FacingDirection] ; player sprite's facing direction
srl a
ld c, a
ld b, $0
@@ -160,7 +160,7 @@ IsWarpTileInFrontOfPlayer:
ld a, [wCurMap]
cp SS_ANNE_5
jr z, .ssAnne5
- ld a, [wPlayerFacingDirection] ; player sprite's facing direction
+ ld a, [wSpritePlayerStateData1FacingDirection] ; player sprite's facing direction
srl a
ld c, a
ld b, 0