ref: 3db5d61c7f4551da1caf11ff9f597ad1578249b8
parent: 2d5661d19d5e9441e3e678b13a0b1de4bd01f124
author: yenatch <[email protected]>
date: Tue Mar 4 00:19:59 EST 2014
Minor cleanup at the end of bank 10.
--- a/main.asm
+++ b/main.asm
@@ -47619,7 +47619,7 @@
cp $ff
jp z, Function423ff
- ld [MagikarpLength], a
+ ld [Buffer1], a
push hl
ld a, [CurPartyMon]
@@ -47631,7 +47631,7 @@
and a
jp z, Function421f5
- ld a, [MagikarpLength]
+ ld a, [Buffer1]
dec a
ld b, 0
ld c, a
@@ -47927,9 +47927,9 @@
jp .asm_42230
; 423fe
-INCBIN "baserom.gbc", $423fe, $423ff - $423fe
+Function423fe: ; 423fe
+ pop hl
-
Function423ff: ; 423ff
pop de
pop bc
@@ -48027,7 +48027,7 @@
ld a, [$d265]
ld [CurPartySpecies], a
dec a
- ld b, $0
+ ld b, 0
ld c, a
ld hl, EvosAttacksPointers
add hl, bc
@@ -48223,7 +48223,7 @@
; Return carry and the new species in CurPartySpecies
; if a pre-evolution is found.
- ld c, BULBASAUR - 1
+ ld c, 0
.asm_42583
ld hl, EvosAttacksPointers
ld b, 0
@@ -48265,8 +48265,6 @@
scf
ret
; 425b1
-
-