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/pikachu_emotions.asm | |
parent | 080bba1bd5ebca74eb155a21afa62b68400e4b93 (diff) |
Rename spritestatedata structs.
Diffstat (limited to 'engine/pikachu_emotions.asm')
-rwxr-xr-x | engine/pikachu_emotions.asm | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/engine/pikachu_emotions.asm b/engine/pikachu_emotions.asm index 8702bc3f..b3b64970 100755 --- a/engine/pikachu_emotions.asm +++ b/engine/pikachu_emotions.asm @@ -174,9 +174,9 @@ StarterPikachuEmotionCommand_9: ret StarterPikachuEmotionCommand_turnawayfromplayer: - ld a, [wPlayerFacingDirection] + ld a, [wSpritePlayerStateData1FacingDirection] xor $4 - ld [wPikachuFacingDirection], a + ld [wSpritePikachuStateData1FacingDirection], a ret DeletedFunction_fcffb: @@ -370,9 +370,9 @@ PikachuWalksToNurseJoy: ret .GetMovementData: - ld a, [wPikachuMapY] + ld a, [wSpritePikachuStateData2MapY] ld e, a - ld a, [wPikachuMapX] + ld a, [wSpritePikachuStateData2MapX] ld d, a ld a, [wYCoord] add 4 |