diff options
author | pikalaxalt <PikalaxALT@gmail.com> | 2016-05-14 13:46:14 -0400 |
---|---|---|
committer | pikalaxalt <PikalaxALT@gmail.com> | 2016-05-14 13:46:14 -0400 |
commit | 1fa6aecbfcc81b8794ca10e6d88837b1645f95e1 (patch) | |
tree | 52fc07965084952c820b0e5eea1d858da217f273 /engine/player_object.asm | |
parent | 3108c9fa6a265a7ecbac6fa2aaa458025f5aeead (diff) |
Unify directional movement macros
Diffstat (limited to 'engine/player_object.asm')
-rwxr-xr-x | engine/player_object.asm | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/engine/player_object.asm b/engine/player_object.asm index bb19a144f..6b38a6328 100755 --- a/engine/player_object.asm +++ b/engine/player_object.asm @@ -598,10 +598,10 @@ Special_SurfStartStep: ; 8379 ret .movement_data - slow_step_down - slow_step_up - slow_step_left - slow_step_right + slow_step DOWN + slow_step UP + slow_step LEFT + slow_step RIGHT FollowNotExact:: ; 839e push bc @@ -827,12 +827,12 @@ QueueFollowerFirstStep: ; 848a jr z, .check_y jr c, .left and a - ld a, movement_step_right + ld a, movement_step + RIGHT ret .left and a - ld a, movement_step_left + ld a, movement_step + LEFT ret .check_y @@ -843,12 +843,12 @@ QueueFollowerFirstStep: ; 848a jr z, .same_xy jr c, .up and a - ld a, movement_step_down + ld a, movement_step + DOWN ret .up and a - ld a, movement_step_up + ld a, movement_step + UP ret .same_xy |