summaryrefslogtreecommitdiff
path: root/engine/pikachu_emotions.asm
diff options
context:
space:
mode:
authorluckytyphlosion <10688458+luckytyphlosion@users.noreply.github.com>2018-11-18 19:24:53 -0500
committerluckytyphlosion <10688458+luckytyphlosion@users.noreply.github.com>2018-11-18 19:24:53 -0500
commitc5b2436daadbae47d6251052d62436afbaa91158 (patch)
tree5671f8d0e7368b736c8e85bdae277bf9eee09b40 /engine/pikachu_emotions.asm
parent080bba1bd5ebca74eb155a21afa62b68400e4b93 (diff)
Rename spritestatedata structs.
Diffstat (limited to 'engine/pikachu_emotions.asm')
-rwxr-xr-xengine/pikachu_emotions.asm8
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