More splitting of main.asm; remove unneeded rept 2
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user