mirror of
https://gitlab.com/xCrystal/pokecrystal-board.git
synced 2025-04-09 05:44:44 -07:00
No more mobile EQUS ret (replace with Stubbed_ + ret)
This commit is contained in:
parent
b4e087167f
commit
aa9a0a900d
@ -160,7 +160,7 @@ WildFled_EnemyFled_LinkBattleCanceled: ; 3c0e5
|
||||
|
||||
BattleTurn: ; 3c12f
|
||||
.loop
|
||||
call MobileFn_3c1bf
|
||||
call Stubbed_Function3c1bf
|
||||
call CheckContestBattleOver
|
||||
jp c, .quit
|
||||
|
||||
@ -231,7 +231,8 @@ BattleTurn: ; 3c12f
|
||||
ret
|
||||
; 3c1bf
|
||||
|
||||
MobileFn_3c1bf: mobile
|
||||
Stubbed_Function3c1bf:
|
||||
ret
|
||||
ld a, $5
|
||||
call GetSRAMBank
|
||||
ld hl, $a89b ; s5_a89b
|
||||
@ -2588,7 +2589,7 @@ AddBattleMoneyToAccount: ; 3d0be
|
||||
push bc
|
||||
ld b, h
|
||||
ld c, l
|
||||
farcall TrainerRankings_AddToBattlePayouts
|
||||
farcall StubbedTrainerRankings_AddToBattlePayouts
|
||||
pop bc
|
||||
pop hl
|
||||
.loop
|
||||
@ -8375,7 +8376,7 @@ Unreferenced_DoBattle: ; 3f4d9
|
||||
; 3f4dd
|
||||
|
||||
BattleIntro: ; 3f4dd
|
||||
farcall TrainerRankings_Battles ; mobile
|
||||
farcall StubbedTrainerRankings_Battles ; mobile
|
||||
call LoadTrainerOrWildMonPic
|
||||
xor a
|
||||
ld [TempBattleMonSpecies], a
|
||||
@ -8460,7 +8461,7 @@ BackUpBGMap2: ; 3f568
|
||||
|
||||
InitEnemyTrainer: ; 3f594
|
||||
ld [TrainerClass], a
|
||||
farcall TrainerRankings_TrainerBattles
|
||||
farcall StubbedTrainerRankings_TrainerBattles
|
||||
xor a
|
||||
ld [TempEnemyMonSpecies], a
|
||||
callfar GetTrainerAttributes
|
||||
@ -8516,7 +8517,7 @@ InitEnemyTrainer: ; 3f594
|
||||
InitEnemyWildmon: ; 3f607
|
||||
ld a, WILD_BATTLE
|
||||
ld [wBattleMode], a
|
||||
farcall TrainerRankings_WildBattles
|
||||
farcall StubbedTrainerRankings_WildBattles
|
||||
call LoadEnemyMon
|
||||
ld hl, EnemyMonMoves
|
||||
ld de, wWildMonMoves
|
||||
@ -8698,7 +8699,7 @@ CheckPayDay: ; 3f71d
|
||||
; 3f759
|
||||
|
||||
ShowLinkBattleParticipantsAfterEnd: ; 3f759
|
||||
farcall TrainerRankings_LinkBattles
|
||||
farcall StubbedTrainerRankings_LinkBattles
|
||||
farcall BackupMobileEventIndex
|
||||
ld a, [CurOTMon]
|
||||
ld hl, OTPartyMon1Status
|
||||
@ -8728,17 +8729,17 @@ DisplayLinkBattleResult: ; 3f77c
|
||||
cp $1
|
||||
jr c, .victory
|
||||
jr z, .loss
|
||||
farcall TrainerRankings_ColosseumDraws
|
||||
farcall StubbedTrainerRankings_ColosseumDraws
|
||||
ld de, .Draw
|
||||
jr .store_result
|
||||
|
||||
.victory
|
||||
farcall TrainerRankings_ColosseumWins
|
||||
farcall StubbedTrainerRankings_ColosseumWins
|
||||
ld de, .Win
|
||||
jr .store_result
|
||||
|
||||
.loss
|
||||
farcall TrainerRankings_ColosseumLosses
|
||||
farcall StubbedTrainerRankings_ColosseumLosses
|
||||
ld de, .Lose
|
||||
jr .store_result
|
||||
|
||||
@ -9486,7 +9487,7 @@ BattleStartMessage: ; 3fc8b
|
||||
cp BATTLETYPE_FISH
|
||||
jr nz, .NotFishing
|
||||
|
||||
farcall TrainerRankings_HookedEncounters
|
||||
farcall StubbedTrainerRankings_HookedEncounters
|
||||
|
||||
ld hl, HookedPokemonAttackedText
|
||||
jr .PlaceBattleStartText
|
||||
|
@ -8078,7 +8078,7 @@ BattleCommand_LeechSeed: ; 36f9d
|
||||
|
||||
BattleCommand_Splash: ; 36fe1
|
||||
call AnimateCurrentMove
|
||||
farcall TrainerRankings_Splash
|
||||
farcall StubbedTrainerRankings_Splash
|
||||
jp PrintNothingHappened
|
||||
|
||||
; 36fed
|
||||
@ -8605,7 +8605,7 @@ CheckSubstituteOpp: ; 37378
|
||||
|
||||
|
||||
BattleCommand_Selfdestruct: ; 37380
|
||||
farcall TrainerRankings_Selfdestruct
|
||||
farcall StubbedTrainerRankings_Selfdestruct
|
||||
ld a, BATTLEANIM_PLAYER_DAMAGE
|
||||
ld [wNumHits], a
|
||||
ld c, 3
|
||||
|
@ -232,7 +232,7 @@ HatchEggs: ; 16f70 (5:6f70)
|
||||
push de
|
||||
|
||||
farcall SetEggMonCaughtData
|
||||
farcall TrainerRankings_EggsHatched
|
||||
farcall StubbedTrainerRankings_EggsHatched
|
||||
ld a, [CurPartyMon]
|
||||
ld hl, PartyMon1Species
|
||||
ld bc, PARTYMON_STRUCT_LENGTH
|
||||
|
@ -737,7 +737,8 @@ GetMonPalettePointer_:
|
||||
call GetMonPalettePointer
|
||||
ret
|
||||
|
||||
Function9779: mobile
|
||||
Unreferenced_Function9779:
|
||||
ret
|
||||
call CheckCGB
|
||||
ret z
|
||||
ld hl, BattleObjectPals
|
||||
|
@ -1,6 +1,6 @@
|
||||
_Special_BugContestJudging: ; 1369d
|
||||
call ContestScore
|
||||
farcall TrainerRankings_BugContestScore
|
||||
farcall StubbedTrainerRankings_BugContestScore
|
||||
call BugContest_JudgeContestants
|
||||
ld a, [wBugContestThirdPlaceWinnerID]
|
||||
call LoadContestantName
|
||||
|
@ -58,7 +58,7 @@ CheckFruitTree: ; 44055
|
||||
; 4405f
|
||||
|
||||
PickedFruitTree: ; 4405f
|
||||
farcall TrainerRankings_FruitPicked
|
||||
farcall StubbedTrainerRankings_FruitPicked
|
||||
ld b, 1
|
||||
jp GetFruitTreeFlag
|
||||
; 4406a
|
||||
|
@ -103,7 +103,7 @@ Special_CheckForLuckyNumberWinners: ; 4d87a
|
||||
ld a, [ScriptVar]
|
||||
and a
|
||||
ret z ; found nothing
|
||||
farcall TrainerRankings_LuckyNumberShow
|
||||
farcall StubbedTrainerRankings_LuckyNumberShow
|
||||
ld a, [wFoundMatchingIDInParty]
|
||||
and a
|
||||
push af
|
||||
|
@ -28,7 +28,7 @@ Special_CheckMagikarpLength: ; fbb32
|
||||
ld c, l
|
||||
call CalcMagikarpLength
|
||||
call PrintMagikarpLength
|
||||
farcall TrainerRankings_MagikarpLength
|
||||
farcall StubbedTrainerRankings_MagikarpLength
|
||||
ld hl, .MeasureItText
|
||||
call PrintText
|
||||
|
||||
|
@ -427,7 +427,7 @@ UsedSurfScript: ; c986
|
||||
end
|
||||
|
||||
.empty_fn ; c9a2
|
||||
farcall TrainerRankings_Surf
|
||||
farcall StubbedTrainerRankings_Surf
|
||||
ret
|
||||
|
||||
UsedSurfText: ; c9a9
|
||||
@ -700,7 +700,7 @@ Script_UsedWaterfall: ; 0xcb20
|
||||
ld a, [PlayerStandingTile]
|
||||
call CheckWaterfallTile
|
||||
ret z
|
||||
farcall TrainerRankings_Waterfall
|
||||
farcall StubbedTrainerRankings_Waterfall
|
||||
ld a, $1
|
||||
ld [ScriptVar], a
|
||||
ret
|
||||
|
@ -107,7 +107,7 @@ PokecenterNurseScript:
|
||||
|
||||
farwritetext NurseTakePokemonText
|
||||
pause 20
|
||||
special Special_TrainerRankings_Healings
|
||||
special Special_StubbedTrainerRankings_Healings
|
||||
spriteface LAST_TALKED, LEFT
|
||||
pause 10
|
||||
special HealParty
|
||||
|
@ -49,7 +49,7 @@ BattleBGMap: ; 1250a
|
||||
; 12513
|
||||
|
||||
HalveMoney: ; 12513
|
||||
farcall TrainerRankings_WhiteOuts
|
||||
farcall StubbedTrainerRankings_WhiteOuts
|
||||
|
||||
; Halve the player's money.
|
||||
ld hl, Money
|
||||
|
@ -360,7 +360,7 @@ CheckForHiddenItems: ; b8172
|
||||
|
||||
|
||||
TreeMonEncounter: ; b81ea
|
||||
farcall TrainerRankings_TreeEncounters
|
||||
farcall StubbedTrainerRankings_TreeEncounters
|
||||
|
||||
xor a
|
||||
ld [TempWildMonSpecies], a
|
||||
|
@ -247,7 +247,7 @@ EvolveAfterBattle_MasterLoop
|
||||
push hl
|
||||
ld hl, Text_EvolvedIntoPKMN
|
||||
call PrintTextBoxText
|
||||
farcall TrainerRankings_MonsEvolved
|
||||
farcall StubbedTrainerRankings_MonsEvolved
|
||||
|
||||
ld de, MUSIC_NONE
|
||||
call PlayMusic
|
||||
|
@ -517,7 +517,7 @@ ParkBall: ; e8a2
|
||||
cp BATTLETYPE_TUTORIAL
|
||||
jp z, .FinishTutorial
|
||||
|
||||
farcall TrainerRankings_WildMonsCaught
|
||||
farcall StubbedTrainerRankings_WildMonsCaught
|
||||
|
||||
ld hl, Text_GotchaMonWasCaught
|
||||
call PrintText
|
||||
|
@ -1957,7 +1957,7 @@ LinkTrade: ; 28b87
|
||||
|
||||
.save
|
||||
farcall SaveAfterLinkTrade
|
||||
farcall TrainerRankings_Trades
|
||||
farcall StubbedTrainerRankings_Trades
|
||||
farcall BackupMobileEventIndex
|
||||
ld c, 40
|
||||
call DelayFrames
|
||||
|
@ -1570,7 +1570,7 @@ StepType05: ; 4e0c
|
||||
ld [hl], a
|
||||
call IncrementObjectStructField1c
|
||||
StepType04: ; 4e21
|
||||
call MobileFn_4fb2
|
||||
call Stubbed_Function4fb2
|
||||
ld hl, OBJECT_DIRECTION_WALKING
|
||||
add hl, bc
|
||||
ld [hl], STANDING
|
||||
@ -1578,7 +1578,7 @@ StepType04: ; 4e21
|
||||
; 4e2b
|
||||
|
||||
NPCStep: ; 4e2b
|
||||
call MobileFn_4fb2
|
||||
call Stubbed_Function4fb2
|
||||
call AddStepVector
|
||||
ld hl, OBJECT_STEP_DURATION
|
||||
add hl, bc
|
||||
@ -1841,7 +1841,8 @@ SkyfallTop: ; 4f83
|
||||
ret
|
||||
; 4fb2
|
||||
|
||||
MobileFn_4fb2: mobile
|
||||
Stubbed_Function4fb2:
|
||||
ret
|
||||
ld hl, OBJECT_1D
|
||||
add hl, bc
|
||||
inc [hl]
|
||||
|
@ -63,7 +63,7 @@ DoMysteryGift: ; 1048ba (41:48ba)
|
||||
jr z, .skip_append_save
|
||||
call .SaveMysteryGiftTrainerName
|
||||
farcall RestoreMobileEventIndex
|
||||
farcall TrainerRankings_MysteryGift
|
||||
farcall StubbedTrainerRankings_MysteryGift
|
||||
farcall BackupMobileEventIndex
|
||||
.skip_append_save
|
||||
ld a, [wMysteryGiftPartnerSentDeco]
|
||||
|
@ -471,7 +471,7 @@ UnknownScript_0x90261: ; 0x90261
|
||||
RingTwice_StartCall: ; 9026f
|
||||
call .Ring
|
||||
call .Ring
|
||||
farcall TrainerRankings_PhoneCalls
|
||||
farcall StubbedTrainerRankings_PhoneCalls
|
||||
ret
|
||||
; 9027c
|
||||
|
||||
@ -500,7 +500,7 @@ PhoneCall:: ; 9029a
|
||||
ld [PhoneCaller + 1], a
|
||||
call Phone_FirstOfTwoRings
|
||||
call Phone_FirstOfTwoRings
|
||||
farcall TrainerRankings_PhoneCalls
|
||||
farcall StubbedTrainerRankings_PhoneCalls
|
||||
ret
|
||||
; 902b3
|
||||
|
||||
|
@ -76,7 +76,7 @@ HandlePlayerStep: ; d4e5 (3:54e5)
|
||||
ret
|
||||
|
||||
.mobile ; d509 (3:5509)
|
||||
farcall TrainerRankings_StepCount
|
||||
farcall StubbedTrainerRankings_StepCount
|
||||
ret
|
||||
|
||||
.fail2 ; d510 (3:5510)
|
||||
|
@ -2994,8 +2994,8 @@ Script_halloffame:
|
||||
|
||||
ld hl, wGameTimerPause
|
||||
res 0, [hl]
|
||||
farcall TrainerRankings_HallOfFame
|
||||
farcall TrainerRankings_HallOfFame2
|
||||
farcall StubbedTrainerRankings_HallOfFame
|
||||
farcall StubbedTrainerRankings_HallOfFame2
|
||||
farcall HallOfFame
|
||||
ld hl, wGameTimerPause
|
||||
set 0, [hl]
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
x
Reference in New Issue
Block a user