summaryrefslogtreecommitdiff
path: root/engine/events.asm
diff options
context:
space:
mode:
authorPikalaxALT <PikalaxALT@gmail.com>2015-07-20 11:28:05 -0400
committerPikalaxALT <PikalaxALT@gmail.com>2015-07-20 11:28:05 -0400
commitd9300a9becc9aa699b7191f87d8b493a93139ba2 (patch)
tree14f742415c8976596a8d79a6dcdaa040e6b34083 /engine/events.asm
parentbef792f2d21ccac0127aeffd9e0838aba81f44b6 (diff)
Fix unnecessary white space and retire add_n_times
Diffstat (limited to 'engine/events.asm')
-rw-r--r--engine/events.asm8
1 files changed, 6 insertions, 2 deletions
diff --git a/engine/events.asm b/engine/events.asm
index 1b85c7f7c..e63d24b4f 100644
--- a/engine/events.asm
+++ b/engine/events.asm
@@ -472,7 +472,9 @@ Function968ec: ; 968ec
ld a, [hli]
ld h, [hl]
ld l, a
- add_n_times hl, de, 4
+rept 4
+ add hl,de
+endr
call GetMapScriptHeaderBank
call GetFarHalfword
@@ -1043,7 +1045,9 @@ Function96beb: ; 96beb
ld c, a
ld b, 0
ld hl, ScriptPointers96c0c
- add_n_times hl, bc, 3
+rept 3
+ add hl,bc
+endr
ld a, [hli]
ld [ScriptBank], a
ld a, [hli]