diff options
author | luckytyphlosion <10688458+luckytyphlosion@users.noreply.github.com> | 2018-11-18 19:24:53 -0500 |
---|---|---|
committer | luckytyphlosion <10688458+luckytyphlosion@users.noreply.github.com> | 2018-11-18 19:24:53 -0500 |
commit | c5b2436daadbae47d6251052d62436afbaa91158 (patch) | |
tree | 5671f8d0e7368b736c8e85bdae277bf9eee09b40 /engine/hidden_object_functions18.asm | |
parent | 080bba1bd5ebca74eb155a21afa62b68400e4b93 (diff) |
Rename spritestatedata structs.
Diffstat (limited to 'engine/hidden_object_functions18.asm')
-rwxr-xr-x | engine/hidden_object_functions18.asm | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/engine/hidden_object_functions18.asm b/engine/hidden_object_functions18.asm index 1bb31e00..8d468988 100755 --- a/engine/hidden_object_functions18.asm +++ b/engine/hidden_object_functions18.asm @@ -3,7 +3,7 @@ GymStatues: ; if in a gym and don’t have the corresponding badge, a = GymStatueText1_id and jp PrintPredefTextID ; else ret call EnableAutoTextBoxDrawing - ld a, [wPlayerFacingDirection] + ld a, [wSpritePlayerStateData1FacingDirection] cp SPRITE_FACING_UP ret nz ld hl, .BadgeFlags @@ -64,7 +64,7 @@ PrintBenchGuyText: .match ld a, [hli] ld b, a - ld a, [wPlayerFacingDirection] + ld a, [wSpritePlayerStateData1FacingDirection] cp b jr nz, .loop ; player isn't facing left at the bench guy ld a, [hl] @@ -192,7 +192,7 @@ BookcaseText: db "@" OpenPokemonCenterPC: - ld a, [wPlayerFacingDirection] + ld a, [wSpritePlayerStateData1FacingDirection] cp SPRITE_FACING_UP ; check to see if player is facing up ret nz call EnableAutoTextBoxDrawing |