summaryrefslogtreecommitdiff
path: root/home/movement.asm
diff options
context:
space:
mode:
Diffstat (limited to 'home/movement.asm')
-rw-r--r--home/movement.asm6
1 files changed, 2 insertions, 4 deletions
diff --git a/home/movement.asm b/home/movement.asm
index 0e131e468..8471e81ca 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
@@ -148,9 +147,8 @@ 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