diff options
author | dannye <corrnondacqb@yahoo.com> | 2016-06-11 16:16:56 -0500 |
---|---|---|
committer | dannye <corrnondacqb@yahoo.com> | 2016-06-11 16:16:56 -0500 |
commit | c979b3bb03b121dd03a800df74144cd69a74601a (patch) | |
tree | 0d6bb48125efe6f6215347967383ba4c3b7da391 /engine/hidden_object_functions18.asm | |
parent | 269f2c3ba72776e975f5b00d9a1361cadbda42a7 (diff) | |
parent | 6e8c3883e430b567f7aa8f9230e366e03610bd5a (diff) |
Merge branch 'master' of https://github.com/pret/pokeyellow
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 443f8369..cdba142b 100755 --- a/engine/hidden_object_functions18.asm +++ b/engine/hidden_object_functions18.asm @@ -3,7 +3,7 @@ GymStatues: ; 625e8 (18:65e8) ; if in a gym and don’t have the corresponding badge, a = GymStatueText1_id and jp PrintPredefTextID ; else ret call EnableAutoTextBoxDrawing - ld a, [wSpriteStateData1 + 9] + ld a, [wPlayerFacingDirection] cp SPRITE_FACING_UP ret nz ld hl, .BadgeFlags @@ -64,7 +64,7 @@ PrintBenchGuyText: ; 6245d (18:645d) .match ld a, [hli] ld b, a - ld a, [wSpriteStateData1 + 9] + ld a, [wPlayerFacingDirection] cp b jr nz, .loop ; player isn't facing left at the bench guy ld a, [hl] @@ -192,7 +192,7 @@ BookcaseText: ; 62511 (18:6511) db "@" OpenPokemonCenterPC: ; 62516 (18:6516) - ld a, [wSpriteStateData1 + 9] + ld a, [wPlayerFacingDirection] cp SPRITE_FACING_UP ; check to see if player is facing up ret nz call EnableAutoTextBoxDrawing |