From c5b2436daadbae47d6251052d62436afbaa91158 Mon Sep 17 00:00:00 2001 From: luckytyphlosion <10688458+luckytyphlosion@users.noreply.github.com> Date: Sun, 18 Nov 2018 19:24:53 -0500 Subject: Rename spritestatedata structs. --- engine/overworld/check_player_state.asm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'engine/overworld/check_player_state.asm') 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 -- cgit v1.3.1-sl0p