summaryrefslogtreecommitdiff
path: root/engine/evolve.asm
diff options
context:
space:
mode:
authorpikalaxalt <PikalaxALT@gmail.com>2016-05-04 11:46:23 -0400
committerpikalaxalt <PikalaxALT@gmail.com>2016-05-04 11:46:23 -0400
commit3713b71d9e3f3f1bc099d4704910cb9c1d172dcf (patch)
tree03069bd1fb4576c16b773b23bab0071aabb7cabd /engine/evolve.asm
parent82f1534925c5fe1f0d876ea88119b0121cfa65a6 (diff)
More splitting of main.asm; remove unneeded rept 2
Diffstat (limited to 'engine/evolve.asm')
-rwxr-xr-xengine/evolve.asm9
1 files changed, 3 insertions, 6 deletions
diff --git a/engine/evolve.asm b/engine/evolve.asm
index db7d7e946..9a70290f2 100755
--- a/engine/evolve.asm
+++ b/engine/evolve.asm
@@ -46,9 +46,8 @@ EvolveAfterBattle_MasterLoop
ld b, 0
ld c, a
ld hl, EvosAttacksPointers
-rept 2
add hl, bc
-endr
+ add hl, bc
ld a, [hli]
ld h, [hl]
ld l, a
@@ -437,9 +436,8 @@ LearnLevelMoves: ; 42487
ld b, 0
ld c, a
ld hl, EvosAttacksPointers
-rept 2
add hl, bc
-endr
+ add hl, bc
ld a, [hli]
ld h, [hl]
ld l, a
@@ -638,9 +636,8 @@ GetPreEvolution: ; 42581
.loop ; For each Pokemon...
ld hl, EvosAttacksPointers
ld b, 0
-rept 2
add hl, bc
-endr
+ add hl, bc
ld a, [hli]
ld h, [hl]
ld l, a