diff options
author | Rangi <35663410+Rangi42@users.noreply.github.com> | 2020-07-05 19:58:21 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-07-05 19:58:21 -0400 |
commit | c57c93d2b2fb06cadafefda37c0974ba1ec9e6c0 (patch) | |
tree | 531d6b30d5a606ae963024825ed6e614843000a6 /engine/overworld/push_boulder.asm | |
parent | 2718c36065e7eb201a149938bcdd51987c4e56b6 (diff) | |
parent | 5fe8aab3445cb76d8e1c4be954c0392f40798950 (diff) |
Merge pull request #259 from Rangi42/master
Port pokecrystal's formatting of text commands and special characters
Diffstat (limited to 'engine/overworld/push_boulder.asm')
-rw-r--r-- | engine/overworld/push_boulder.asm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engine/overworld/push_boulder.asm b/engine/overworld/push_boulder.asm index e4dd91cf..da1c6dee 100644 --- a/engine/overworld/push_boulder.asm +++ b/engine/overworld/push_boulder.asm @@ -12,7 +12,7 @@ TryPushingBoulder:: ld [wBoulderSpriteIndex], a and a jp z, ResetBoulderPushFlags - ld hl, wSpriteStateData1 + 1 + ld hl, wSpritePlayerStateData1MovementStatus ld d, $0 ld a, [hSpriteIndexOrTextID] swap a @@ -36,7 +36,7 @@ TryPushingBoulder:: jp nz, ResetBoulderPushFlags ld a, [hJoyHeld] ld b, a - ld a, [wSpriteStateData1 + 9] ; player's sprite facing direction + ld a, [wSpritePlayerStateData1FacingDirection] cp SPRITE_FACING_UP jr z, .pushBoulderUp cp SPRITE_FACING_LEFT |