callba/callab → farcall/callfar

This commit is contained in:
Remy Oukaour
2017-12-24 12:47:30 -05:00
parent d787c66374
commit c66d195089
170 changed files with 1751 additions and 1751 deletions

View File

@@ -5,14 +5,14 @@ SpecialBuenasPassword: ; 8af6b
call CopyMenuDataHeader
ld a, [wBuenasPassword]
ld c, a
callba GetBuenasPassword
farcall GetBuenasPassword
ld a, [wMenuBorderLeftCoord]
add c
add $2
ld [wMenuBorderRightCoord], a
call PushWindow
call DoNthMenu ; menu
callba Buena_ExitMenu
farcall Buena_ExitMenu
ld b, $0
ld a, [MenuSelection]
ld c, a
@@ -58,7 +58,7 @@ SpecialBuenasPassword: ; 8af6b
ld a, [MenuSelection]
add c
ld c, a
callba GetBuenasPassword
farcall GetBuenasPassword
pop hl
call PlaceString
ret

View File

@@ -3,8 +3,8 @@ BugContest_SetCaughtContestMon: ; e6ce
and a
jr z, .firstcatch
ld [wd265], a
callba DisplayAlreadyCaughtText
callba DisplayCaughtContestMonStats
farcall DisplayAlreadyCaughtText
farcall DisplayCaughtContestMonStats
lb bc, 14, 7
call PlaceYesNoBox
ret c

View File

@@ -3,7 +3,7 @@ Special_GiveParkBalls: ; 135db
ld [wContestMon], a
ld a, 20
ld [wParkBallsRemaining], a
callba StartBugContestTimer
farcall StartBugContestTimer
ret
BugCatchingContestBattleScript:: ; 0x135eb

View File

@@ -1,6 +1,6 @@
_BugContestJudging: ; 1369d
call ContestScore
callba TrainerRankings_BugContestScore
farcall TrainerRankings_BugContestScore
call BugContest_JudgeContestants
ld a, [wBugContestThirdPlacePersonID]
call LoadContestantName
@@ -97,7 +97,7 @@ LoadContestantName: ; 13730
push hl
push bc
; Get the Trainer Class name and copy it into wBugContestWinnerName.
callab GetTrainerClassName
callfar GetTrainerClassName
ld hl, StringBuffer1
ld de, wBugContestWinnerName
ld bc, TRAINER_CLASS_NAME_LENGTH
@@ -120,7 +120,7 @@ LoadContestantName: ; 13730
; Get the name of the trainer with class c and ID b.
ld a, [hl]
ld b, a
callab GetTrainerName
callfar GetTrainerName
; Append the name to wBugContestWinnerName.
ld hl, StringBuffer1
pop de

View File

@@ -41,7 +41,7 @@ CatchTutorial:: ; 4e554
ld hl, .AutoInput
ld a, BANK(.AutoInput)
call StartAutoInput
callab StartBattle
callfar StartBattle
call StopAutoInput
pop af

View File

@@ -31,7 +31,7 @@ Special_CelebiShrineEvent: ; 4989a
push de
ld a, $90
ld [wCurrSpriteOAMAddr], a
callba DoNextFrameForAllSprites
farcall DoNextFrameForAllSprites
call CelebiEvent_CountDown
ld c, 2
call DelayFrames
@@ -70,7 +70,7 @@ Special_CelebiShrineEvent: ; 4989a
; 49912
LoadCelebiGFX: ; 49912
callba ClearSpriteAnims
farcall ClearSpriteAnims
ld de, SpecialCelebiLeafGFX
ld hl, VTiles1
lb bc, BANK(SpecialCelebiLeafGFX), 4

View File

@@ -30,7 +30,7 @@ Special_DayCareMan: ; 166d6
jr c, .cancel
call DayCareAskDepositPokemon
jr c, .print_text
callba DepositMonWithDayCareMan
farcall DepositMonWithDayCareMan
ld hl, wDayCareMan
set 0, [hl]
call DayCare_DepositPokemonText
@@ -38,12 +38,12 @@ Special_DayCareMan: ; 166d6
ret
.AskWithdrawMon:
callba GetBreedMon1LevelGrowth
farcall GetBreedMon1LevelGrowth
ld hl, wBreedMon1Nick
call GetPriceToRetrieveBreedmon
call DayCare_AskWithdrawBreedMon
jr c, .print_text
callba RetrievePokemonFromDayCareMan
farcall RetrievePokemonFromDayCareMan
call DayCare_TakeMoney_PlayCry
ld hl, wDayCareMan
res 0, [hl]
@@ -69,7 +69,7 @@ Special_DayCareLady: ; 1672a
jr c, .cancel
call DayCareAskDepositPokemon
jr c, .print_text
callba DepositMonWithDayCareLady
farcall DepositMonWithDayCareLady
ld hl, wDayCareLady
set 0, [hl]
call DayCare_DepositPokemonText
@@ -77,12 +77,12 @@ Special_DayCareLady: ; 1672a
ret
.AskWithdrawMon:
callba GetBreedMon2LevelGrowth
farcall GetBreedMon2LevelGrowth
ld hl, wBreedMon2Nick
call GetPriceToRetrieveBreedmon
call DayCare_AskWithdrawBreedMon
jr c, .print_text
callba RetrievePokemonFromDayCareLady
farcall RetrievePokemonFromDayCareLady
call DayCare_TakeMoney_PlayCry
ld hl, wDayCareLady
res 0, [hl]
@@ -124,19 +124,19 @@ DayCareAskDepositPokemon: ; 16798
ld a, DAYCARETEXT_WHICH_ONE
call PrintDayCareText
ld b, PARTYMENUACTION_GIVE_MON
callba SelectTradeOrDayCareMon
farcall SelectTradeOrDayCareMon
jr c, .Declined
ld a, [CurPartySpecies]
cp EGG
jr z, .Egg
callba CheckCurPartyMonFainted
farcall CheckCurPartyMonFainted
jr c, .OutOfUsableMons
ld hl, PartyMon1Item
ld bc, PARTYMON_STRUCT_LENGTH
ld a, [CurPartyMon]
call AddNTimes
ld d, [hl]
callba ItemIsMail
farcall ItemIsMail
jr c, .HoldingMail
ld hl, PartyMonNicknames
ld a, [CurPartyMon]
@@ -209,7 +209,7 @@ DayCare_AskWithdrawBreedMon: ; 16807
.check_money
ld de, Money
ld bc, StringBuffer2 + 2
callba CompareMoney
farcall CompareMoney
jr c, .not_enough_money
ld a, [PartyCount]
cp PARTY_LENGTH
@@ -236,7 +236,7 @@ DayCare_AskWithdrawBreedMon: ; 16807
DayCare_TakeMoney_PlayCry: ; 16850
ld bc, StringBuffer2 + 2
ld de, Money
callba TakeMoney
farcall TakeMoney
ld a, DAYCARETEXT_WITHDRAW
call PrintDayCareText
ld a, [CurPartySpecies]
@@ -596,7 +596,7 @@ DayCare_InitBreeding: ; 16a3b
ld a, [wDayCareMan]
bit 0, a
ret z
callab CheckBreedmonCompatibility
callfar CheckBreedmonCompatibility
ld a, [wd265]
and a
ret z
@@ -639,7 +639,7 @@ DayCare_InitBreeding: ; 16a3b
cp DITTO
ld a, $0
jr z, .LoadWhichBreedmonIsTheMother
callba GetGender
farcall GetGender
ld a, $0
jr z, .LoadWhichBreedmonIsTheMother
inc a
@@ -653,8 +653,8 @@ DayCare_InitBreeding: ; 16a3b
.GotMother:
ld [CurPartySpecies], a
callab GetPreEvolution
callab GetPreEvolution
callfar GetPreEvolution
callfar GetPreEvolution
ld a, EGG_LEVEL
ld [CurPartyLevel], a
@@ -685,7 +685,7 @@ DayCare_InitBreeding: ; 16a3b
xor a
ld [Buffer1], a
predef FillMoves
callba InitEggMoves
farcall InitEggMoves
ld hl, wEggMonID
ld a, [PlayerID]
ld [hli], a
@@ -693,7 +693,7 @@ DayCare_InitBreeding: ; 16a3b
ld [hl], a
ld a, [CurPartyLevel]
ld d, a
callab CalcExpAtLevel
callfar CalcExpAtLevel
ld hl, wEggMonExp
ld a, [hMultiplicand]
ld [hli], a
@@ -726,7 +726,7 @@ DayCare_InitBreeding: ; 16a3b
ld a, TEMPMON
ld [MonType], a
push hl
callba GetGender
farcall GetGender
pop hl
ld de, wBreedMon1DVs
ld bc, wBreedMon2DVs

View File

@@ -7,20 +7,20 @@ PlayWhirlpoolSound: ; 8c7d4
; 8c7e1
BlindingFlash: ; 8c7e1
callba FadeOutPalettes
farcall FadeOutPalettes
ld hl, StatusFlags
set 2, [hl] ; Flash
callba ReplaceTimeOfDayPals
callba UpdateTimeOfDayPal
farcall ReplaceTimeOfDayPals
farcall UpdateTimeOfDayPal
ld b, SCGB_MAPPALS
call GetSGBLayout
callba LoadOW_BGPal7
callba FadeInPalettes
farcall LoadOW_BGPal7
farcall FadeInPalettes
ret
; 8c80a
ShakeHeadbuttTree: ; 8c80a
callba ClearSpriteAnims
farcall ClearSpriteAnims
ld de, CutGrassGFX
ld hl, VTiles1
lb bc, BANK(CutGrassGFX), 4
@@ -37,7 +37,7 @@ ShakeHeadbuttTree: ; 8c80a
ld [hl], $84
ld a, 36 * 4
ld [wCurrSpriteOAMAddr], a
callba DoNextFrameForAllSprites
farcall DoNextFrameForAllSprites
call HideHeadbuttTree
ld a, $20
ld [wcf64], a
@@ -52,7 +52,7 @@ ShakeHeadbuttTree: ; 8c80a
dec [hl]
ld a, 36 * 4
ld [wCurrSpriteOAMAddr], a
callba DoNextFrameForAllSprites
farcall DoNextFrameForAllSprites
call DelayFrame
jr .loop
@@ -61,7 +61,7 @@ ShakeHeadbuttTree: ; 8c80a
call WaitBGMap
xor a
ld [hBGMapMode], a
callba ClearSpriteAnims
farcall ClearSpriteAnims
ld hl, Sprites + 36 * 4
ld bc, SpritesEnd - (Sprites + 36 * 4)
xor a
@@ -129,7 +129,7 @@ OWCutAnimation: ; 8c940
jr nz, .finish
ld a, 36 * 4
ld [wCurrSpriteOAMAddr], a
callab DoNextFrameForAllSprites
callfar DoNextFrameForAllSprites
call OWCutJumptable
call DelayFrame
jr .loop
@@ -139,7 +139,7 @@ OWCutAnimation: ; 8c940
; 8c96d
.LoadCutGFX: ; 8c96d
callab ClearSpriteAnims ; pointless to farcall
callfar ClearSpriteAnims ; pointless to farcall
ld de, CutGrassGFX
ld hl, VTiles1
lb bc, BANK(CutGrassGFX), 4
@@ -343,7 +343,7 @@ FlyFromAnim: ; 8caed
jr nz, .exit
ld a, 0 * 4
ld [wCurrSpriteOAMAddr], a
callab DoNextFrameForAllSprites
callfar DoNextFrameForAllSprites
call FlyFunction_FrameTimer
call DelayFrame
jr .loop
@@ -381,7 +381,7 @@ FlyToAnim: ; 8cb33
jr nz, .exit
ld a, 0 * 4
ld [wCurrSpriteOAMAddr], a
callab DoNextFrameForAllSprites
callfar DoNextFrameForAllSprites
call FlyFunction_FrameTimer
call DelayFrame
jr .loop
@@ -411,7 +411,7 @@ FlyToAnim: ; 8cb33
ret
FlyFunction_InitGFX: ; 8cb9b (23:4b9b)
callab ClearSpriteAnims
callfar ClearSpriteAnims
ld de, CutGrassGFX
ld hl, VTiles1 tile $00
lb bc, BANK(CutGrassGFX), 4
@@ -424,7 +424,7 @@ FlyFunction_InitGFX: ; 8cb9b (23:4b9b)
ld a, [hl]
ld [wd265], a
ld e, $84
callba FlyFunction_GetMonIcon
farcall FlyFunction_GetMonIcon
xor a
ld [wJumptableIndex], a
ret

View File

@@ -14,7 +14,7 @@ HallOfFame:: ; 0x8640e
ld hl, StatusFlags
set 6, [hl] ; hall of fame
callba HallOfFame_InitSaveIfNeeded
farcall HallOfFame_InitSaveIfNeeded
ld hl, wHallOfFameCount
ld a, [hl]
@@ -22,16 +22,16 @@ HallOfFame:: ; 0x8640e
jr nc, .ok
inc [hl]
.ok
callba SaveGameData
farcall SaveGameData
call GetHallOfFameParty
callba AddHallOfFameEntry
farcall AddHallOfFameEntry
xor a
ld [wGameLogicPaused], a
call AnimateHallOfFame
pop af
ld b, a
callba Credits
farcall Credits
ret
; 0x86455
@@ -42,11 +42,11 @@ RedCredits:: ; 86455
ld [MusicFadeID + 1], a
ld a, 10
ld [MusicFade], a
callba FadeOutPalettes
farcall FadeOutPalettes
xor a
ld [VramState], a
ld [hMapAnims], a
callba InitDisplayForRedCredits
farcall InitDisplayForRedCredits
ld c, 8
call DelayFrames
call DisableSpriteUpdates
@@ -54,7 +54,7 @@ RedCredits:: ; 86455
ld [wSpawnAfterChampion], a
ld a, [StatusFlags]
ld b, a
callba Credits
farcall Credits
ret
; 8648e
@@ -65,11 +65,11 @@ HallOfFame_FadeOutMusic: ; 8648e
ld [MusicFadeID + 1], a
ld a, 10
ld [MusicFade], a
callba FadeOutPalettes
farcall FadeOutPalettes
xor a
ld [VramState], a
ld [hMapAnims], a
callba InitDisplayForHallOfFame
farcall InitDisplayForHallOfFame
ld c, 100
jp DelayFrames
; 864b4
@@ -232,7 +232,7 @@ GetHallOfFameParty: ; 8653f
AnimateHOFMonEntrance: ; 865b5
push hl
call ClearBGPalettes
callba ResetDisplayBetweenHallOfFameMons
farcall ResetDisplayBetweenHallOfFameMons
pop hl
ld a, [hli]
ld [TempMonSpecies], a
@@ -499,7 +499,7 @@ DisplayHOFMon: ; 86748
call PlaceString
ld a, TEMPMON
ld [MonType], a
callba GetGender
farcall GetGender
ld a, " "
jr c, .got_gender
ld a, "♂"
@@ -541,7 +541,7 @@ HOF_AnimatePlayerPic: ; 86810
ld bc, SCREEN_WIDTH * SCREEN_HEIGHT
ld a, " "
call ByteFill
callba GetPlayerBackpic
farcall GetPlayerBackpic
ld a, $31
ld [hGraphicStartTile], a
hlcoord 6, 6
@@ -565,7 +565,7 @@ HOF_AnimatePlayerPic: ; 86810
ld bc, SCREEN_WIDTH * SCREEN_HEIGHT
ld a, " "
call ByteFill
callba HOF_LoadTrainerFrontpic
farcall HOF_LoadTrainerFrontpic
xor a
ld [hGraphicStartTile], a
hlcoord 12, 5
@@ -612,7 +612,7 @@ HOF_AnimatePlayerPic: ; 86810
lb bc, PRINTNUM_LEADINGZEROS | 1, 2
call PrintNum
call WaitBGMap
callba ProfOaksPCRating
farcall ProfOaksPCRating
ret
; 868ed

View File

@@ -196,7 +196,7 @@ DayCareStep:: ; 7282
call Random
ld [hl], a
callab CheckBreedmonCompatibility
callfar CheckBreedmonCompatibility
ld a, [wd265]
cp 230
ld b, -1 + 32 percent

View File

@@ -1,5 +1,5 @@
ItemFinder: ; 12580
callba CheckForHiddenItems
farcall CheckForHiddenItems
jr c, .found_something
ld hl, .Script_FoundNothing
jr .resume

View File

@@ -57,7 +57,7 @@ Special_SelectApricornForKurt: ; 88018
; 88055
Kurt_SelectApricorn: ; 88055
callba FindApricornsInBag
farcall FindApricornsInBag
jr c, .nope
ld hl, .MenuDataHeader
call CopyMenuDataHeader
@@ -106,7 +106,7 @@ Kurt_SelectApricorn: ; 88055
ld a, [MenuSelection]
and a
ret z
callba PlaceMenuItemName
farcall PlaceMenuItemName
ret
; 880ab
@@ -117,7 +117,7 @@ Kurt_SelectApricorn: ; 88055
ret z
ld a, [wItemQuantityChangeBuffer]
ld [MenuSelectionQuantity], a
callba PlaceMenuItemQuantity
farcall PlaceMenuItemQuantity
ret
; 880c2
@@ -140,7 +140,7 @@ Kurt_SelectQuantity: ; 880c2
call .PlaceApricornName
call PlaceApricornQuantity
call ApplyTilemap
callba Kurt_SelectQuantity_InterpretJoypad
farcall Kurt_SelectQuantity_InterpretJoypad
jr nc, .loop
push bc
@@ -171,7 +171,7 @@ Kurt_SelectQuantity: ; 880c2
add hl, de
ld d, h
ld e, l
callba PlaceMenuItemName
farcall PlaceMenuItemName
ret
; 88126

View File

@@ -103,7 +103,7 @@ Special_CheckForLuckyNumberWinners: ; 4d87a
ld a, [ScriptVar]
and a
ret z ; found nothing
callba TrainerRankings_LuckyNumberShow
farcall TrainerRankings_LuckyNumberShow
ld a, [wFoundMatchingIDInParty]
and a
push af

View File

@@ -5,7 +5,7 @@ Special_CheckMagikarpLength: ; fbb32
; Returns 0 if the Pokemon you select is not a Magikarp.
; Let's start by selecting a Magikarp.
callba SelectMonFromParty
farcall SelectMonFromParty
jr c, .declined
ld a, [CurPartySpecies]
cp MAGIKARP
@@ -28,7 +28,7 @@ Special_CheckMagikarpLength: ; fbb32
ld c, l
call CalcMagikarpLength
call PrintMagikarpLength
callba TrainerRankings_MagikarpLength
farcall TrainerRankings_MagikarpLength
ld hl, .MeasureItText
call PrintText

View File

@@ -45,7 +45,7 @@ Special_MagnetTrain: ; 8cc04
jr z, .initialize
bit 7, a
jr nz, .done
callab PlaySpriteAnimations
callfar PlaySpriteAnimations
call MagnetTrain_Jumptable
call MagnetTrain_UpdateLYOverrides
call PushLYOverrides
@@ -117,7 +117,7 @@ MagntTrain_LoadGFX_PlayMusic: ; 8ccc9
call ClearBGPalettes
call ClearSprites
call DisableLCD
callab ClearSpriteAnims
callfar ClearSpriteAnims
call SetMagnetTrainPals
call DrawMagnetTrain
ld a, $90
@@ -131,7 +131,7 @@ MagntTrain_LoadGFX_PlayMusic: ; 8ccc9
push af
ld a, $1
ld [rSVBK], a
callba GetPlayerIcon
farcall GetPlayerIcon
pop af
ld [rSVBK], a
ld hl, VTiles0
@@ -423,7 +423,7 @@ MagnetTrain_Jumptable: ; 8cdf7
; 8ceae
MagnetTrain_Jumptable_FirstRunThrough: ; 8ceae
callba PlaySpriteAnimations
farcall PlaySpriteAnimations
call MagnetTrain_Jumptable
call MagnetTrain_UpdateLYOverrides
call PushLYOverrides

View File

@@ -161,7 +161,7 @@ Special_BankOfMom: ; 16218
jr z, .CancelDeposit
ld de, Money
ld bc, StringBuffer2
callba CompareMoney
farcall CompareMoney
jr c, .DontHaveThatMuchToDeposit
ld hl, StringBuffer2
ld de, StringBuffer2 + 3
@@ -169,11 +169,11 @@ Special_BankOfMom: ; 16218
call CopyBytes
ld bc, wMomsMoney
ld de, StringBuffer2
callba GiveMoney
farcall GiveMoney
jr c, .CantDepositThatMuch
ld bc, StringBuffer2 + 3
ld de, Money
callba TakeMoney
farcall TakeMoney
ld hl, StringBuffer2
ld de, wMomsMoney
ld bc, 3
@@ -232,15 +232,15 @@ Special_BankOfMom: ; 16218
call CopyBytes
ld de, wMomsMoney
ld bc, StringBuffer2
callba CompareMoney
farcall CompareMoney
jr c, .InsufficientFundsInBank
ld bc, Money
ld de, StringBuffer2
callba GiveMoney
farcall GiveMoney
jr c, .NotEnoughRoomInWallet
ld bc, StringBuffer2 + 3
ld de, wMomsMoney
callba TakeMoney
farcall TakeMoney
ld hl, StringBuffer2
ld de, Money
ld bc, 3
@@ -568,7 +568,7 @@ Mom_WithdrawDepositMenuJoypad: ; 16571
ld c, l
ld b, h
ld de, StringBuffer2
callba GiveMoney
farcall GiveMoney
ret
.decrementdigit
@@ -577,7 +577,7 @@ Mom_WithdrawDepositMenuJoypad: ; 16571
ld c, l
ld b, h
ld de, StringBuffer2
callba TakeMoney
farcall TakeMoney
ret
.getdigitquantity

View File

@@ -20,7 +20,7 @@ MomTriesToBuySomething:: ; fcfec
ret nc
ld b, BANK(.Script)
ld de, .Script
callba LoadScriptBDE
farcall LoadScriptBDE
scf
ret
; fd00f
@@ -71,7 +71,7 @@ CheckBalance_MomItem2: ; fd044
ld [hMoneyTemp + 2], a
ld de, wMomsMoney
ld bc, hMoneyTemp
callba CompareMoney
farcall CompareMoney
jr nc, .have_enough_money
.nope
@@ -91,7 +91,7 @@ CheckBalance_MomItem2: ; fd044
.loop
ld de, MomItemTriggerBalance
ld bc, wMomsMoney
callba CompareMoney
farcall CompareMoney
jr z, .exact
jr nc, .less_than
call .AddMoney
@@ -113,7 +113,7 @@ CheckBalance_MomItem2: ; fd044
.AddMoney:
ld de, MomItemTriggerBalance
ld bc, hMoneyTemp
callba AddMoney
farcall AddMoney
ret
; fd0a6
@@ -130,7 +130,7 @@ MomBuysItem_DeductFunds: ; fd0a6 (3f:50a6)
ld [hMoneyTemp + 2], a
ld de, wMomsMoney
ld bc, hMoneyTemp
callba TakeMoney
farcall TakeMoney
ret
@@ -144,7 +144,7 @@ Mom_GiveItemOrDoll: ; fd0c3
ld a, [hl]
ld c, a
ld b, 1
callba DecorationFlagAction_c
farcall DecorationFlagAction_c
scf
ret

View File

@@ -5,7 +5,7 @@ MoveDeletion:
jr c, .declined
ld hl, .AskWhichMonText
call PrintText
callba SelectMonFromParty
farcall SelectMonFromParty
jr c, .declined
ld a, [CurPartySpecies]
cp EGG
@@ -20,7 +20,7 @@ MoveDeletion:
ld hl, .AskWhichMoveText
call PrintText
call LoadStandardMenuDataHeader
callba ChooseMoveToDelete
farcall ChooseMoveToDelete
push af
call ReturnToMapWithSpeechTextbox
pop af

View File

@@ -12,12 +12,12 @@ Special_MoveTutor: ; 4925b
ld [wPutativeTMHMMove], a
call GetMoveName
call CopyName1
callba ChooseMonToLearnTMHM
farcall ChooseMonToLearnTMHM
jr c, .cancel
jr .enter_loop
.loop
callba ChooseMonToLearnTMHM_NoRefresh
farcall ChooseMonToLearnTMHM_NoRefresh
jr c, .cancel
.enter_loop
call CheckCanLearnMoveTutorMove
@@ -75,7 +75,7 @@ CheckCanLearnMoveTutorMove: ; 492b9
jr .didnt_learn
.can_learn
callab KnowsMove
callfar KnowsMove
jr c, .didnt_learn
predef LearnMove
@@ -84,7 +84,7 @@ CheckCanLearnMoveTutorMove: ; 492b9
jr z, .didnt_learn
ld c, HAPPINESS_LEARNMOVE
callab ChangeHappiness
callfar ChangeHappiness
jr .learned
.didnt_learn

View File

@@ -7,7 +7,7 @@ NameRater: ; fb6ed
; Select a Pokemon from your party
ld hl, NameRaterWhichMonText
call PrintText
callba SelectMonFromParty
farcall SelectMonFromParty
jr c, .cancel
; He can't rename an egg...
ld a, [CurPartySpecies]
@@ -34,7 +34,7 @@ NameRater: ; fb6ed
call GetBaseData
ld b, 0
ld de, StringBuffer2
callba _NamingScreen
farcall _NamingScreen
; If the new name is empty, treat it as unchanged.
call IsNewNameEmpty
ld hl, NameRaterSameAsBeforeText

Some files were not shown because too many files have changed in this diff Show More