diff options
| author | pikalaxalt <PikalaxALT@gmail.com> | 2016-06-06 12:09:36 -0400 |
|---|---|---|
| committer | pikalaxalt <PikalaxALT@gmail.com> | 2016-06-06 12:09:36 -0400 |
| commit | 96a58ce52ac4b8c4c8b2ecbf0f185d1ebda10a6e (patch) | |
| tree | 94af78e339c96436e8ee2180e19279788659056d /scripts/safarizoneentrance.asm | |
| parent | More printer labels (diff) | |
| download | pokeyellow-96a58ce52ac4b8c4c8b2ecbf0f185d1ebda10a6e.tar.gz pokeyellow-96a58ce52ac4b8c4c8b2ecbf0f185d1ebda10a6e.tar.xz pokeyellow-96a58ce52ac4b8c4c8b2ecbf0f185d1ebda10a6e.zip | |
Split out pikachu engine functions; sprite state data macros
Diffstat (limited to 'scripts/safarizoneentrance.asm')
| -rwxr-xr-x | scripts/safarizoneentrance.asm | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/scripts/safarizoneentrance.asm b/scripts/safarizoneentrance.asm index df80f4e1..a83944fc 100755 --- a/scripts/safarizoneentrance.asm +++ b/scripts/safarizoneentrance.asm @@ -26,7 +26,7 @@ SafariZoneEntranceScriptPointers: ; 751d9 (1d:51d9) xor a ld [hJoyHeld], a ld a, SPRITE_FACING_RIGHT - ld [wSpriteStateData1 + 9], a + ld [wPlayerFacingDirection], a ld a, [wCoordIndex] cp $1 jr z, .asm_7520f @@ -160,7 +160,7 @@ SafariZoneEntranceTextPointers: ; 752b9 (1d:52b9) ld hl, .SafariZoneEntranceText_753bb call PrintText xor a - ld [wSpriteStateData1 + 9], a + ld [wPlayerFacingDirection], a ld a, D_DOWN ld c, $3 call SafariZoneEntranceAutoWalk @@ -172,7 +172,7 @@ SafariZoneEntranceTextPointers: ; 752b9 (1d:52b9) ld hl, .SafariZoneEntranceText_753c0 call PrintText ld a, SPRITE_FACING_UP - ld [wSpriteStateData1 + 9], a + ld [wPlayerFacingDirection], a ld a, D_UP ld c, $1 call SafariZoneEntranceAutoWalk |
