More splitting of main.asm; remove unneeded rept 2

This commit is contained in:
pikalaxalt
2016-05-04 11:46:23 -04:00
parent 82f1534925
commit 3713b71d9e
107 changed files with 1222 additions and 1610 deletions

View File

@@ -111,9 +111,8 @@ Function170c06: ; 170c06
inc [hl]
.asm_170c15
rept 2
inc hl
endr
inc hl
ld a, [$a89b]
add [hl]
ld [hld], a
@@ -138,9 +137,8 @@ endr
ld a, [hli]
ld b, a
ld c, [hl]
rept 2
inc hl
endr
inc hl
ld a, [hld]
sub c
ld c, a
@@ -370,9 +368,8 @@ Function171a36: ; 171a36 (5c:5a36)
ld e, a
ld d, 0
ld hl, Jumptable_171a45
rept 2
add hl, de
endr
add hl, de
ld a, [hli]
ld h, [hl]
ld l, a
@@ -732,9 +729,8 @@ Function171ccd: ; 171ccd (5c:5ccd)
Function171cf0: ; 171cf0 (5c:5cf0)
xor a
hlcoord 4, 15
rept 2
ld [hli], a
endr
ld [hli], a
ld a, [wcd4b]
xor $1
ld [wcd4b], a