diff options
Diffstat (limited to 'home/movement.asm')
-rw-r--r-- | home/movement.asm | 34 |
1 files changed, 16 insertions, 18 deletions
diff --git a/home/movement.asm b/home/movement.asm index 0e131e468..c4b5b578d 100644 --- a/home/movement.asm +++ b/home/movement.asm @@ -107,9 +107,8 @@ ComputePathToWalkToPlayer:: ; 1b5f push hl ld l, b ld h, 0 -rept 2 add hl, hl -endr + add hl, hl ld e, a ld d, 0 add hl, de @@ -122,18 +121,18 @@ endr ; 1ba5 .MovementData: - slow_step_down - slow_step_up - slow_step_left - slow_step_right - step_down - step_up - step_left - step_right - big_step_down - big_step_up - big_step_left - big_step_right + slow_step DOWN + slow_step UP + slow_step LEFT + slow_step RIGHT + step DOWN + step UP + step LEFT + step RIGHT + big_step DOWN + big_step UP + big_step LEFT + big_step RIGHT ; 1bb1 SetMenuAttributes:: ; 1bb1 @@ -148,13 +147,12 @@ SetMenuAttributes:: ; 1bb1 dec b jr nz, .loop ld a, $1 -rept 2 ld [hli], a -endr + ld [hli], a xor a -rept 3 ld [hli], a -endr + ld [hli], a + ld [hli], a pop bc pop hl ret |