Remove all address comments
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
EvolvePokemon: ; 421d8
|
||||
EvolvePokemon:
|
||||
ld hl, wEvolvableFlags
|
||||
xor a
|
||||
ld [hl], a
|
||||
@@ -6,7 +6,7 @@ EvolvePokemon: ; 421d8
|
||||
ld c, a
|
||||
ld b, SET_FLAG
|
||||
call EvoFlagAction
|
||||
EvolveAfterBattle: ; 421e6
|
||||
EvolveAfterBattle:
|
||||
xor a
|
||||
ld [wMonTriedToEvolve], a
|
||||
dec a
|
||||
@@ -323,7 +323,6 @@ EvolveAfterBattle_MasterLoop:
|
||||
ld l, e
|
||||
ld h, d
|
||||
jp EvolveAfterBattle_MasterLoop
|
||||
; 423f8
|
||||
|
||||
.dont_evolve_1
|
||||
inc hl
|
||||
@@ -349,9 +348,8 @@ EvolveAfterBattle_MasterLoop:
|
||||
and a
|
||||
call nz, RestartMapMusic
|
||||
ret
|
||||
; 42414
|
||||
|
||||
UpdateSpeciesNameIfNotNicknamed: ; 42414
|
||||
UpdateSpeciesNameIfNotNicknamed:
|
||||
ld a, [wCurSpecies]
|
||||
push af
|
||||
ld a, [wBaseDexNo]
|
||||
@@ -382,17 +380,15 @@ UpdateSpeciesNameIfNotNicknamed: ; 42414
|
||||
pop de
|
||||
ld bc, MON_NAME_LENGTH
|
||||
jp CopyBytes
|
||||
; 42454
|
||||
|
||||
CancelEvolution: ; 42454
|
||||
CancelEvolution:
|
||||
ld hl, Text_StoppedEvolving
|
||||
call PrintText
|
||||
call ClearTileMap
|
||||
pop hl
|
||||
jp EvolveAfterBattle_MasterLoop
|
||||
; 42461
|
||||
|
||||
IsMonHoldingEverstone: ; 42461
|
||||
IsMonHoldingEverstone:
|
||||
push hl
|
||||
ld a, [wCurPartyMon]
|
||||
ld hl, wPartyMon1Item
|
||||
@@ -402,7 +398,6 @@ IsMonHoldingEverstone: ; 42461
|
||||
cp EVERSTONE
|
||||
pop hl
|
||||
ret
|
||||
; 42473
|
||||
|
||||
Text_CongratulationsYourPokemon: ; 0x42473
|
||||
; Congratulations! Your @ @
|
||||
@@ -429,7 +424,7 @@ Text_WhatEvolving: ; 0x42482
|
||||
; 0x42487
|
||||
|
||||
|
||||
LearnLevelMoves: ; 42487
|
||||
LearnLevelMoves:
|
||||
ld a, [wd265]
|
||||
ld [wCurPartySpecies], a
|
||||
dec a
|
||||
@@ -492,10 +487,9 @@ LearnLevelMoves: ; 42487
|
||||
ld a, [wCurPartySpecies]
|
||||
ld [wd265], a
|
||||
ret
|
||||
; 424e1
|
||||
|
||||
|
||||
FillMoves: ; 424e1
|
||||
FillMoves:
|
||||
; Fill in moves at de for wCurPartySpecies at wCurPartyLevel
|
||||
|
||||
push hl
|
||||
@@ -604,9 +598,8 @@ FillMoves: ; 424e1
|
||||
pop de
|
||||
pop hl
|
||||
ret
|
||||
; 4256e
|
||||
|
||||
ShiftMoves: ; 4256e
|
||||
ShiftMoves:
|
||||
ld c, NUM_MOVES - 1
|
||||
.loop
|
||||
inc de
|
||||
@@ -615,18 +608,16 @@ ShiftMoves: ; 4256e
|
||||
dec c
|
||||
jr nz, .loop
|
||||
ret
|
||||
; 42577
|
||||
|
||||
|
||||
EvoFlagAction: ; 42577
|
||||
EvoFlagAction:
|
||||
push de
|
||||
ld d, $0
|
||||
predef SmallFarFlagAction
|
||||
pop de
|
||||
ret
|
||||
; 42581
|
||||
|
||||
GetPreEvolution: ; 42581
|
||||
GetPreEvolution:
|
||||
; Find the first mon to evolve into wCurPartySpecies.
|
||||
|
||||
; Return carry and the new species in wCurPartySpecies
|
||||
@@ -673,4 +664,3 @@ GetPreEvolution: ; 42581
|
||||
ld [wCurPartySpecies], a
|
||||
scf
|
||||
ret
|
||||
; 425b1
|
||||
|
Reference in New Issue
Block a user