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

@@ -8,9 +8,8 @@ GetTrainerDVs: ; 270c4
ld b, 0
ld hl, TrainerClassDVs
rept 2
add hl, bc
endr
add hl, bc
ld a, [hli]
ld b, a

View File

@@ -32,9 +32,8 @@ ReadTrainerParty: ; 39771
ld c, a
ld b, 0
ld hl, TrainerGroups
rept 2
add hl, bc
endr
add hl, bc
ld a, [hli]
ld h, [hl]
ld l, a
@@ -62,9 +61,8 @@ endr
ld d, h
ld e, l
ld hl, TrainerTypes
rept 2
add hl, bc
endr
add hl, bc
ld a, [hli]
ld h, [hl]
ld l, a
@@ -364,9 +362,8 @@ GetTrainerName:: ; 3994c
push bc
ld b, 0
ld hl, TrainerGroups
rept 2
add hl, bc
endr
add hl, bc
ld a, [hli]
ld h, [hl]
ld l, a