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/hidden_objects.asm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'engine/overworld/hidden_objects.asm') diff --git a/engine/overworld/hidden_objects.asm b/engine/overworld/hidden_objects.asm index 9a81dcfc..66815b60 100755 --- a/engine/overworld/hidden_objects.asm +++ b/engine/overworld/hidden_objects.asm @@ -61,7 +61,7 @@ CheckForHiddenObject: ; checks if the coordinates in front of the player's sprite match Y in b and X in c ; [hCoordsInFrontOfPlayerMatch] = $00 if they match, $ff if they don't match CheckIfCoordsInFrontOfPlayerMatch: - ld a, [wPlayerFacingDirection] ; player's sprite facing direction + ld a, [wSpritePlayerStateData1FacingDirection] ; player's sprite facing direction cp SPRITE_FACING_UP jr z, .facingUp cp SPRITE_FACING_LEFT -- cgit v1.3.1-sl0p