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/overworld/movement.asm | |
| parent | Update Discord link. (diff) | |
| download | pokeyellow-c5b2436daadbae47d6251052d62436afbaa91158.tar.gz pokeyellow-c5b2436daadbae47d6251052d62436afbaa91158.tar.xz pokeyellow-c5b2436daadbae47d6251052d62436afbaa91158.zip | |
Rename spritestatedata structs.
Diffstat (limited to 'engine/overworld/movement.asm')
| -rw-r--r-- | engine/overworld/movement.asm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engine/overworld/movement.asm b/engine/overworld/movement.asm index ad4515ff..cc4a818f 100644 --- a/engine/overworld/movement.asm +++ b/engine/overworld/movement.asm @@ -53,7 +53,7 @@ UpdatePlayerSprite: ld a, SPRITE_FACING_RIGHT jr .next .next - ld [wPlayerFacingDirection], a ; facing direction + ld [wSpritePlayerStateData1FacingDirection], a ; facing direction ld a, [wFontLoaded] bit 0, a jr z, .moving @@ -89,7 +89,7 @@ UpdatePlayerSprite: Func_4e32: ld a, [wSpriteStateData1 + 8] ld b, a - ld a, [wPlayerFacingDirection] + ld a, [wSpritePlayerStateData1FacingDirection] add b ld [wSpriteStateData1 + 2], a ret |
