summaryrefslogtreecommitdiff
path: root/engine/spawn_points.asm
diff options
context:
space:
mode:
Diffstat (limited to 'engine/spawn_points.asm')
-rw-r--r--engine/spawn_points.asm4
1 files changed, 3 insertions, 1 deletions
diff --git a/engine/spawn_points.asm b/engine/spawn_points.asm
index 09c66fa54..eb42ab0d1 100644
--- a/engine/spawn_points.asm
+++ b/engine/spawn_points.asm
@@ -56,7 +56,9 @@ LoadSpawnPoint: ; 1531f
jr z, .spawn_n_a
ld l, a
ld h, 0
- add_n_times hl, hl, 2 ; multiply hl by 4
+rept 2 ; multiply hl by 4
+ add hl,hl
+endr
ld de, SpawnPoints
add hl, de
ld a, [hli]