Finish consistent Special function names

This commit is contained in:
xCrystal 2018-01-02 17:47:58 +01:00
parent f1ea15bbfe
commit b4a49351c1
47 changed files with 207 additions and 207 deletions

View File

@ -1,4 +1,4 @@
SpecialBuenasPassword: ; 8af6b Special_BuenasPassword: ; 8af6b
xor a xor a
ld [wWhichIndexSet], a ld [wWhichIndexSet], a
ld hl, .MenuDataHeader ld hl, .MenuDataHeader
@ -64,7 +64,7 @@ SpecialBuenasPassword: ; 8af6b
ret ret
; 8afd4 ; 8afd4
SpecialBuenaPrize: ; 8afd4 Special_BuenaPrize: ; 8afd4
xor a xor a
ld [wMenuScrollPosition], a ld [wMenuScrollPosition], a
ld a, $1 ld a, $1

View File

@ -1,4 +1,4 @@
AskRememberPassword: ; 4ae12 Special_AskRememberPassword: ; 4ae12
call .DoMenu call .DoMenu
ld a, $0 ld a, $0
jr c, .okay jr c, .okay

View File

@ -361,7 +361,7 @@ CelebiEvent_SetBattleType: ; 49bf3
; 49bf9 ; 49bf9
CheckCaughtCelebi: ; 49bf9 Special_CheckCaughtCelebi: ; 49bf9
ld a, [wBattleResult] ld a, [wBattleResult]
bit 6, a bit 6, a
jr z, .false jr z, .false

View File

@ -1,4 +1,4 @@
SpecialHoOhChamber: ; 0x8addb Special_HoOhChamber: ; 0x8addb
ld hl, PartySpecies ld hl, PartySpecies
ld a, [hl] ld a, [hl]
cp HO_OH ; is Ho-oh the first Pokémon in the party? cp HO_OH ; is Ho-oh the first Pokémon in the party?
@ -11,7 +11,7 @@ SpecialHoOhChamber: ; 0x8addb
ret ret
; 0x8adef ; 0x8adef
SpecialOmanyteChamber: ; 8adef Special_OmanyteChamber: ; 8adef
call GetSecondaryMapHeaderPointer call GetSecondaryMapHeaderPointer
ld de, EVENT_WALL_OPENED_IN_OMANYTE_CHAMBER ld de, EVENT_WALL_OPENED_IN_OMANYTE_CHAMBER
ld b, CHECK_FLAG ld b, CHECK_FLAG

View File

@ -1,4 +1,4 @@
SpecialDratini: ; 0x8b170 Special_Dratini: ; 0x8b170
; if ScriptVar is 0 or 1, change the moveset of the last Dratini in the party. ; if ScriptVar is 0 or 1, change the moveset of the last Dratini in the party.
; 0: give it a special moveset with Extremespeed. ; 0: give it a special moveset with Extremespeed.
; 1: give it the normal moveset of a level 15 Dratini. ; 1: give it the normal moveset of a level 15 Dratini.

View File

@ -15,7 +15,7 @@
const SEERACTION_CANT_TELL_2 const SEERACTION_CANT_TELL_2
const SEERACTION_LEVEL_ONLY const SEERACTION_LEVEL_ONLY
SpecialPokeSeer: ; 4f0bc Special_PokeSeer: ; 4f0bc
ld a, SEER_INTRO ld a, SEER_INTRO
call PrintSeerText call PrintSeerText
call JoyWaitAorB call JoyWaitAorB

View File

@ -107,7 +107,7 @@ PokecenterNurseScript:
farwritetext NurseTakePokemonText farwritetext NurseTakePokemonText
pause 20 pause 20
special TrainerRankings_Healings special Special_TrainerRankings_Healings
spriteface LAST_TALKED, LEFT spriteface LAST_TALKED, LEFT
pause 10 pause 10
special HealParty special HealParty

View File

@ -79,7 +79,7 @@ MapSetupCommands: ; 15440
dba LoadGraphics ; 0e dba LoadGraphics ; 0e
dba LoadTileset ; 0f dba LoadTileset ; 0f
dba LoadMapTimeOfDay ; 10 dba LoadMapTimeOfDay ; 10
dba LoadMapPalettes ; 11 dba Special_LoadMapPalettes ; 11
dba LoadWildMonData ; 12 dba LoadWildMonData ; 12
dba RefreshMapSprites ; 13 dba RefreshMapSprites ; 13
dba HandleNewMap ; 14 dba HandleNewMap ; 14

View File

@ -41,7 +41,7 @@ Function14157: ; mobile
ret ret
; 14168 ; 14168
RefreshSprites:: ; 14168 Special_RefreshSprites:: ; 14168
call .Refresh call .Refresh
call Special_MapCallbackSprites_LoadUsedSpritesGFX call Special_MapCallbackSprites_LoadUsedSpritesGFX
ret ret

View File

@ -1,4 +1,4 @@
SpecialBeastsCheck: ; 0x4a6e8 Special_BeastsCheck: ; 0x4a6e8
; Check if the player owns all three legendary beasts. ; Check if the player owns all three legendary beasts.
; They must exist in either party or PC, and have the player's OT and ID. ; They must exist in either party or PC, and have the player's OT and ID.
; Return the result in ScriptVar. ; Return the result in ScriptVar.
@ -29,7 +29,7 @@ SpecialBeastsCheck: ; 0x4a6e8
ret ret
SpecialMonCheck: ; 0x4a711 Special_MonCheck: ; 0x4a711
; Check if the player owns any monsters of the species in ScriptVar. ; Check if the player owns any monsters of the species in ScriptVar.
; Return the result in ScriptVar. ; Return the result in ScriptVar.

View File

@ -126,73 +126,73 @@ SpecialsPointers:: ; c029
add_special Special_PhotoStudio add_special Special_PhotoStudio
add_special Special_InitRoamMons add_special Special_InitRoamMons
add_special Special_FadeOutMusic add_special Special_FadeOutMusic
add_special Diploma add_special Special_Diploma
add_special PrintDiploma add_special Special_PrintDiploma
; Crystal ; Crystal
add_special Function11ac3e add_special Special_Function11ac3e
add_special Function11b444 add_special Special_Function11b444
add_special Function11b5e8 add_special Special_Function11b5e8
add_special Function11b7e5 add_special Special_Function11b7e5
add_special Function11b879 add_special Special_Function11b879
add_special Function11b920 add_special Special_Function11b920
add_special Function11b93b add_special Special_Function11b93b
add_special BattleTowerRoomMenu add_special Special_BattleTowerRoomMenu
add_special Function1700ba add_special Special_Function1700ba
add_special Function170114 add_special Special_Function170114
add_special BattleTowerBattle add_special Special_BattleTowerBattle
add_special Function1704e1 add_special Special_Function1704e1
add_special EmptySpecial_17021d add_special DummySpecial17021d
add_special Function_LoadOpponentTrainerAndPokemonsWithOTSprite add_special Special_LoadOpponentTrainerAndPokemonWithOTSprite
add_special Function11ba38 add_special Special_Function11ba38
add_special SpecialCheckForBattleTowerRules add_special Special_CheckForBattleTowerRules
add_special Special_GiveOddEgg add_special Special_GiveOddEgg
add_special Reset add_special Reset ; bank 0
add_special Function1011f1 add_special Special_Function1011f1
add_special Function101220 add_special Special_Function101220
add_special Function101225 add_special Special_Function101225
add_special Function101231 add_special Special_Function101231
add_special Special_MoveTutor add_special Special_MoveTutor
add_special SpecialOmanyteChamber add_special Special_OmanyteChamber
add_special Function11c1ab add_special Special_Function11c1ab
add_special BattleTowerAction add_special Special_BattleTowerAction
add_special Special_DisplayUnownWords add_special Special_DisplayUnownWords
add_special Special_Menu_ChallengeExplanationCancel add_special Special_Menu_ChallengeExplanationCancel
add_special Function17d2b6 add_special Special_Function17d2b6
add_special Function17d2ce add_special Special_Function17d2ce
add_special BattleTowerMobileError add_special Special_BattleTowerMobileError
add_special AskMobileOrCable add_special Special_AskMobileOrCable
add_special SpecialHoOhChamber add_special Special_HoOhChamber
add_special Function102142 add_special Special_Function102142
add_special Special_CelebiShrineEvent add_special Special_CelebiShrineEvent
add_special CheckCaughtCelebi add_special Special_CheckCaughtCelebi
add_special SpecialPokeSeer add_special Special_PokeSeer
add_special SpecialBuenasPassword add_special Special_BuenasPassword
add_special SpecialBuenaPrize add_special Special_BuenaPrize
add_special SpecialDratini add_special Special_Dratini
add_special Special_SampleKenjiBreakCountdown add_special Special_SampleKenjiBreakCountdown
add_special SpecialBeastsCheck add_special Special_BeastsCheck
add_special SpecialMonCheck add_special Special_MonCheck
add_special Special_SetPlayerPalette add_special Special_SetPlayerPalette
add_special ret_170bd2 add_special DummySpecial170bd2
add_special Mobile_SelectThreeMons add_special Special_Mobile_SelectThreeMons
add_special Function1037eb add_special Special_Function1037eb
add_special Function10383c add_special Special_Function10383c
add_special TrainerRankings_Healings add_special Special_TrainerRankings_Healings
add_special RefreshSprites add_special Special_RefreshSprites
add_special Function1037c2 add_special Special_Function1037c2
add_special Mobile_DummyReturnFalse add_special Special_Mobile_DummyReturnFalse
add_special Function103780 add_special Special_Function103780
add_special Function10387b add_special Special_Function10387b
add_special AskRememberPassword add_special Special_AskRememberPassword
add_special LoadMapPalettes add_special Special_LoadMapPalettes
add_special FindItemInPCOrBag add_special UnusedSpecial_FindItemInPCOrBag
add_special Special_InitialSetDSTFlag add_special Special_InitialSetDSTFlag
add_special Special_InitialClearDSTFlag add_special Special_InitialClearDSTFlag
add_special SpecialNone add_special DummySpecialc224
; c224 ; c224
SpecialNone: ; c224 DummySpecialc224: ; c224
ret ret
; c225 ; c225
@ -625,14 +625,14 @@ Special_FadeOutMusic: ; c48f
ret ret
; c49f ; c49f
Diploma: ; c49f Special_Diploma: ; c49f
call FadeToMenu call FadeToMenu
farcall _Diploma farcall _Diploma
call ExitAllMenus call ExitAllMenus
ret ret
; c4ac ; c4ac
PrintDiploma: ; c4ac Special_PrintDiploma: ; c4ac
call FadeToMenu call FadeToMenu
farcall _PrintDiploma farcall _PrintDiploma
call ExitAllMenus call ExitAllMenus

View File

@ -298,12 +298,12 @@ LoadGraphics: ; 1047cf
ld [hMapAnims], a ld [hMapAnims], a
xor a xor a
ld [hTileAnimFrame], a ld [hTileAnimFrame], a
farcall RefreshSprites farcall Special_RefreshSprites
call LoadFontsExtra call LoadFontsExtra
farcall LoadOverworldFont farcall LoadOverworldFont
ret ret
LoadMapPalettes: ; 1047eb Special_LoadMapPalettes: ; 1047eb
ld b, SCGB_MAPPALS ld b, SCGB_MAPPALS
jp GetSGBLayout jp GetSGBLayout
; 1047f0 ; 1047f0

View File

@ -2042,7 +2042,7 @@ ReturnToMapWithSpeechTextbox:: ; 0x2b74
ReloadTilesetAndPalettes:: ; 2bae ReloadTilesetAndPalettes:: ; 2bae
call DisableLCD call DisableLCD
call ClearSprites call ClearSprites
farcall RefreshSprites farcall Special_RefreshSprites
call LoadStandardFont call LoadStandardFont
call LoadFontsExtra call LoadFontsExtra
ld a, [hROMBank] ld a, [hROMBank]

View File

@ -16,10 +16,10 @@ BattleTower1F_MapScriptHeader:
.Scene0: .Scene0:
writebyte BATTLETOWERACTION_CHECKSAVEFILEISYOURS writebyte BATTLETOWERACTION_CHECKSAVEFILEISYOURS
special BattleTowerAction special Special_BattleTowerAction
iffalse .SkipEverything iffalse .SkipEverything
writebyte BATTLETOWERACTION_GET_CHALLENGE_STATE ; copybytetovar sBattleTowerChallengeState writebyte BATTLETOWERACTION_GET_CHALLENGE_STATE ; copybytetovar sBattleTowerChallengeState
special BattleTowerAction special Special_BattleTowerAction
if_equal $0, .SkipEverything if_equal $0, .SkipEverything
if_equal $2, .priorityjump1 if_equal $2, .priorityjump1
if_equal $3, .SkipEverything if_equal $3, .SkipEverything
@ -34,9 +34,9 @@ BattleTower1F_MapScriptHeader:
.priorityjump1 .priorityjump1
priorityjump BattleTower_LeftWithoutSaving priorityjump BattleTower_LeftWithoutSaving
writebyte BATTLETOWERACTION_CHALLENGECANCELED writebyte BATTLETOWERACTION_CHALLENGECANCELED
special BattleTowerAction special Special_BattleTowerAction
writebyte BATTLETOWERACTION_06 writebyte BATTLETOWERACTION_06
special BattleTowerAction special Special_BattleTowerAction
.SkipEverything: .SkipEverything:
setscene $1 setscene $1
.Scene1: .Scene1:
@ -55,13 +55,13 @@ UnknownScript_0x9e3e0:
ReceptionistScript_0x9e3e2: ReceptionistScript_0x9e3e2:
writebyte BATTLETOWERACTION_GET_CHALLENGE_STATE ; copybytetovar sBattleTowerChallengeState writebyte BATTLETOWERACTION_GET_CHALLENGE_STATE ; copybytetovar sBattleTowerChallengeState
special BattleTowerAction special Special_BattleTowerAction
if_equal $3, Script_BeatenAllTrainers2 ; maps/BattleTowerBattleRoom.asm if_equal $3, Script_BeatenAllTrainers2 ; maps/BattleTowerBattleRoom.asm
opentext opentext
writetext Text_BattleTowerWelcomesYou writetext Text_BattleTowerWelcomesYou
buttonsound buttonsound
writebyte BATTLETOWERACTION_CHECK_EXPLANATION_READ ; if new save file: bit 1, [sBattleTowerSaveFileFlags] writebyte BATTLETOWERACTION_CHECK_EXPLANATION_READ ; if new save file: bit 1, [sBattleTowerSaveFileFlags]
special BattleTowerAction special Special_BattleTowerAction
if_not_equal $0, Script_Menu_ChallengeExplanationCancel if_not_equal $0, Script_Menu_ChallengeExplanationCancel
jump Script_BattleTowerIntroductionYesNo jump Script_BattleTowerIntroductionYesNo
@ -75,8 +75,8 @@ Script_Menu_ChallengeExplanationCancel: ; 0x9e3fc
Script_ChooseChallenge: ; 0x9e40f Script_ChooseChallenge: ; 0x9e40f
writebyte BATTLETOWERACTION_RESETDATA ; ResetBattleTowerTrainerSRAM writebyte BATTLETOWERACTION_RESETDATA ; ResetBattleTowerTrainerSRAM
special BattleTowerAction special Special_BattleTowerAction
special SpecialCheckForBattleTowerRules special Special_CheckForBattleTowerRules
if_not_equal $0, Script_WaitButton if_not_equal $0, Script_WaitButton
writetext Text_SaveBeforeEnteringBattleRoom writetext Text_SaveBeforeEnteringBattleRoom
yesorno yesorno
@ -86,23 +86,23 @@ Script_ChooseChallenge: ; 0x9e40f
iffalse Script_Menu_ChallengeExplanationCancel iffalse Script_Menu_ChallengeExplanationCancel
setscene $1 setscene $1
writebyte BATTLETOWERACTION_SET_EXPLANATION_READ ; set 1, [sBattleTowerSaveFileFlags] writebyte BATTLETOWERACTION_SET_EXPLANATION_READ ; set 1, [sBattleTowerSaveFileFlags]
special BattleTowerAction special Special_BattleTowerAction
special BattleTowerRoomMenu special Special_BattleTowerRoomMenu
if_equal $a, Script_Menu_ChallengeExplanationCancel if_equal $a, Script_Menu_ChallengeExplanationCancel
if_not_equal $0, Script_MobileError if_not_equal $0, Script_MobileError
writebyte BATTLETOWERACTION_11 writebyte BATTLETOWERACTION_11
special BattleTowerAction special Special_BattleTowerAction
writetext Text_RightThisWayToYourBattleRoom writetext Text_RightThisWayToYourBattleRoom
waitbutton waitbutton
closetext closetext
writebyte BATTLETOWERACTION_CHOOSEREWARD writebyte BATTLETOWERACTION_CHOOSEREWARD
special BattleTowerAction special Special_BattleTowerAction
jump Script_WalkToBattleTowerElevator jump Script_WalkToBattleTowerElevator
Script_ResumeBattleTowerChallenge: Script_ResumeBattleTowerChallenge:
closetext closetext
writebyte BATTLETOWERACTION_LOADLEVELGROUP ; load choice of level group writebyte BATTLETOWERACTION_LOADLEVELGROUP ; load choice of level group
special BattleTowerAction special Special_BattleTowerAction
Script_WalkToBattleTowerElevator: Script_WalkToBattleTowerElevator:
musicfadeout MUSIC_NONE, 8 musicfadeout MUSIC_NONE, 8
setmapscene BATTLE_TOWER_BATTLE_ROOM, $0 setmapscene BATTLE_TOWER_BATTLE_ROOM, $0
@ -111,7 +111,7 @@ Script_WalkToBattleTowerElevator:
follow BATTLETOWER1F_RECEPTIONIST, PLAYER follow BATTLETOWER1F_RECEPTIONIST, PLAYER
applymovement BATTLETOWER1F_RECEPTIONIST, MovementData_BattleTower1FWalkToElevator applymovement BATTLETOWER1F_RECEPTIONIST, MovementData_BattleTower1FWalkToElevator
writebyte BATTLETOWERACTION_0A writebyte BATTLETOWERACTION_0A
special BattleTowerAction special Special_BattleTowerAction
warpsound warpsound
disappear BATTLETOWER1F_RECEPTIONIST disappear BATTLETOWER1F_RECEPTIONIST
stopfollow stopfollow
@ -121,15 +121,15 @@ Script_WalkToBattleTowerElevator:
Script_GivePlayerHisPrize: ; 0x9e47a Script_GivePlayerHisPrize: ; 0x9e47a
writebyte BATTLETOWERACTION_1C writebyte BATTLETOWERACTION_1C
special BattleTowerAction special Special_BattleTowerAction
writebyte BATTLETOWERACTION_GIVEREWARD writebyte BATTLETOWERACTION_GIVEREWARD
special BattleTowerAction special Special_BattleTowerAction
if_equal POTION, Script_YourPackIsStuffedFull if_equal POTION, Script_YourPackIsStuffedFull
itemtotext $0, $1 itemtotext $0, $1
giveitem ITEM_FROM_MEM, 5 giveitem ITEM_FROM_MEM, 5
writetext Text_PlayerGotFive writetext Text_PlayerGotFive
writebyte BATTLETOWERACTION_1D writebyte BATTLETOWERACTION_1D
special BattleTowerAction special Special_BattleTowerAction
closetext closetext
end end
@ -147,7 +147,7 @@ Script_BattleTowerExplanation: ; 0x9e4a5
writetext Text_BattleTowerIntroduction_2 writetext Text_BattleTowerIntroduction_2
Script_BattleTowerSkipExplanation: Script_BattleTowerSkipExplanation:
writebyte BATTLETOWERACTION_SET_EXPLANATION_READ writebyte BATTLETOWERACTION_SET_EXPLANATION_READ
special BattleTowerAction special Special_BattleTowerAction
jump Script_Menu_ChallengeExplanationCancel jump Script_Menu_ChallengeExplanationCancel
Script_BattleTowerHopeToServeYouAgain: Script_BattleTowerHopeToServeYouAgain:
@ -157,7 +157,7 @@ Script_BattleTowerHopeToServeYouAgain:
end end
UnreferencedScript_0x9e4b6: UnreferencedScript_0x9e4b6:
special BattleTowerMobileError special Special_BattleTowerMobileError
closetext closetext
end end
@ -173,8 +173,8 @@ UnreferencedScript_0x9e4be:
special Special_TryQuickSave special Special_TryQuickSave
iffalse Script_Menu_ChallengeExplanationCancel iffalse Script_Menu_ChallengeExplanationCancel
writebyte BATTLETOWERACTION_SET_EXPLANATION_READ writebyte BATTLETOWERACTION_SET_EXPLANATION_READ
special BattleTowerAction special Special_BattleTowerAction
special Function1700ba special Special_Function1700ba
if_equal $a, Script_Menu_ChallengeExplanationCancel if_equal $a, Script_Menu_ChallengeExplanationCancel
if_not_equal $0, Script_MobileError if_not_equal $0, Script_MobileError
writetext Text_ReceivedAListOfLeadersOnTheHonorRoll writetext Text_ReceivedAListOfLeadersOnTheHonorRoll
@ -187,15 +187,15 @@ UnreferencedScript_0x9e4be:
UnreferencedScript_0x9e4ea: UnreferencedScript_0x9e4ea:
writebyte BATTLETOWERACTION_LEVEL_CHECK writebyte BATTLETOWERACTION_LEVEL_CHECK
special BattleTowerAction special Special_BattleTowerAction
if_not_equal $0, Script_APkmnLevelExceeds if_not_equal $0, Script_APkmnLevelExceeds
writebyte BATTLETOWERACTION_UBERS_CHECK writebyte BATTLETOWERACTION_UBERS_CHECK
special BattleTowerAction special Special_BattleTowerAction
if_not_equal $0, Script_MayNotEnterABattleRoomUnderL70 if_not_equal $0, Script_MayNotEnterABattleRoomUnderL70
special SpecialCheckForBattleTowerRules special Special_CheckForBattleTowerRules
if_not_equal $0, Script_WaitButton if_not_equal $0, Script_WaitButton
writebyte BATTLETOWERACTION_05 writebyte BATTLETOWERACTION_05
special BattleTowerAction special Special_BattleTowerAction
if_equal $0, .zero if_equal $0, .zero
writetext Text_CantBeRegistered_PreviousRecordDeleted writetext Text_CantBeRegistered_PreviousRecordDeleted
jump continue jump continue
@ -213,9 +213,9 @@ continue:
iffalse Script_Menu_ChallengeExplanationCancel iffalse Script_Menu_ChallengeExplanationCancel
setscene $1 setscene $1
writebyte BATTLETOWERACTION_06 writebyte BATTLETOWERACTION_06
special BattleTowerAction special Special_BattleTowerAction
writebyte BATTLETOWERACTION_12 writebyte BATTLETOWERACTION_12
special BattleTowerAction special Special_BattleTowerAction
writetext Text_RightThisWayToYourBattleRoom writetext Text_RightThisWayToYourBattleRoom
waitbutton waitbutton
jump Script_ResumeBattleTowerChallenge jump Script_ResumeBattleTowerChallenge
@ -236,7 +236,7 @@ Script_MayNotEnterABattleRoomUnderL70: ; 0x9e549
jump Script_Menu_ChallengeExplanationCancel jump Script_Menu_ChallengeExplanationCancel
Script_MobileError: Script_MobileError:
special BattleTowerMobileError special Special_BattleTowerMobileError
closetext closetext
end end

View File

@ -23,7 +23,7 @@ Script_BattleRoom: ; 0x9f421
; beat all 7 opponents in a row ; beat all 7 opponents in a row
Script_BattleRoomLoop: ; 0x9f425 Script_BattleRoomLoop: ; 0x9f425
writebyte BATTLETOWERBATTLEROOM_YOUNGSTER writebyte BATTLETOWERBATTLEROOM_YOUNGSTER
special Function_LoadOpponentTrainerAndPokemonsWithOTSprite special Special_LoadOpponentTrainerAndPokemonWithOTSprite
appear BATTLETOWERBATTLEROOM_YOUNGSTER appear BATTLETOWERBATTLEROOM_YOUNGSTER
warpsound warpsound
waitsfx waitsfx
@ -32,7 +32,7 @@ Script_BattleRoomLoop: ; 0x9f425
battletowertext 1 battletowertext 1
buttonsound buttonsound
closetext closetext
special BattleTowerBattle ; calls predef startbattle special Special_BattleTowerBattle ; calls predef startbattle
special Special_FadeOutPalettes special Special_FadeOutPalettes
reloadmap reloadmap
if_not_equal $0, Script_FailedBattleTowerChallenge if_not_equal $0, Script_FailedBattleTowerChallenge
@ -49,7 +49,7 @@ Script_BattleRoomLoop: ; 0x9f425
closetext closetext
playmusic MUSIC_HEAL playmusic MUSIC_HEAL
special Special_FadeOutPalettes special Special_FadeOutPalettes
special LoadMapPalettes special Special_LoadMapPalettes
pause 60 pause 60
special Special_FadeInPalettes special Special_FadeInPalettes
special RestartMapMusic special RestartMapMusic
@ -68,11 +68,11 @@ Script_DontBattleNextOpponent: ; 0x9f483
yesorno yesorno
iffalse Script_DontSaveAndEndTheSession iffalse Script_DontSaveAndEndTheSession
writebyte BATTLETOWERACTION_SAVELEVELGROUP ; save level group writebyte BATTLETOWERACTION_SAVELEVELGROUP ; save level group
special BattleTowerAction special Special_BattleTowerAction
writebyte BATTLETOWERACTION_SAVEOPTIONS ; choose reward writebyte BATTLETOWERACTION_SAVEOPTIONS ; choose reward
special BattleTowerAction special Special_BattleTowerAction
writebyte BATTLETOWERACTION_SAVE_AND_QUIT ; quicksave writebyte BATTLETOWERACTION_SAVE_AND_QUIT ; quicksave
special BattleTowerAction special Special_BattleTowerAction
playsound SFX_SAVE playsound SFX_SAVE
waitsfx waitsfx
special Special_FadeOutPalettes special Special_FadeOutPalettes
@ -82,9 +82,9 @@ Script_DontSaveAndEndTheSession: ; 0x9f4a3
yesorno yesorno
iffalse Script_ContinueAndBattleNextOpponent iffalse Script_ContinueAndBattleNextOpponent
writebyte BATTLETOWERACTION_CHALLENGECANCELED writebyte BATTLETOWERACTION_CHALLENGECANCELED
special BattleTowerAction special Special_BattleTowerAction
writebyte BATTLETOWERACTION_06 writebyte BATTLETOWERACTION_06
special BattleTowerAction special Special_BattleTowerAction
closetext closetext
special Special_FadeOutPalettes special Special_FadeOutPalettes
warpfacing UP, BATTLE_TOWER_1F, $7, $7 warpfacing UP, BATTLE_TOWER_1F, $7, $7
@ -96,7 +96,7 @@ Script_FailedBattleTowerChallenge:
special Special_BattleTowerFade special Special_BattleTowerFade
warpfacing UP, BATTLE_TOWER_1F, $7, $7 warpfacing UP, BATTLE_TOWER_1F, $7, $7
writebyte BATTLETOWERACTION_CHALLENGECANCELED writebyte BATTLETOWERACTION_CHALLENGECANCELED
special BattleTowerAction special Special_BattleTowerAction
opentext opentext
writetext Text_ThanksForVisiting writetext Text_ThanksForVisiting
waitbutton waitbutton
@ -114,7 +114,7 @@ Script_BeatenAllTrainers2:
UnreferencedScript_0x9f4eb: UnreferencedScript_0x9f4eb:
writebyte BATTLETOWERACTION_CHALLENGECANCELED writebyte BATTLETOWERACTION_CHALLENGECANCELED
special BattleTowerAction special Special_BattleTowerAction
opentext opentext
writetext Text_TooMuchTimeElapsedNoRegister writetext Text_TooMuchTimeElapsedNoRegister
waitbutton waitbutton
@ -123,9 +123,9 @@ UnreferencedScript_0x9f4eb:
UnreferencedScript_0x9f4f7: UnreferencedScript_0x9f4f7:
writebyte BATTLETOWERACTION_CHALLENGECANCELED writebyte BATTLETOWERACTION_CHALLENGECANCELED
special BattleTowerAction special Special_BattleTowerAction
writebyte BATTLETOWERACTION_06 writebyte BATTLETOWERACTION_06
special BattleTowerAction special Special_BattleTowerAction
opentext opentext
writetext Text_ThanksForVisiting writetext Text_ThanksForVisiting
writetext Text_WeHopeToServeYouAgain writetext Text_WeHopeToServeYouAgain

View File

@ -22,7 +22,7 @@ BattleTowerElevator_MapScriptHeader:
applymovement BATTLETOWERELEVATOR_RECEPTIONIST, MovementData_BattleTowerElevatorReceptionistWalksIn applymovement BATTLETOWERELEVATOR_RECEPTIONIST, MovementData_BattleTowerElevatorReceptionistWalksIn
applymovement PLAYER, MovementData_BattleTowerElevatorPlayerWalksIn applymovement PLAYER, MovementData_BattleTowerElevatorPlayerWalksIn
writebyte BATTLETOWERACTION_0A writebyte BATTLETOWERACTION_0A
special BattleTowerAction special Special_BattleTowerAction
playsound SFX_ELEVATOR playsound SFX_ELEVATOR
earthquake 60 earthquake 60
waitsfx waitsfx

View File

@ -28,7 +28,7 @@ UnknownScript_0x7167e:
waitsfx waitsfx
writetext UnknownText_0x71760 writetext UnknownText_0x71760
buttonsound buttonsound
special Diploma special Special_Diploma
writetext UnknownText_0x71763 writetext UnknownText_0x71763
waitbutton waitbutton
closetext closetext
@ -49,7 +49,7 @@ UnknownScript_0x716a4:
writetext UnknownText_0x717d8 writetext UnknownText_0x717d8
yesorno yesorno
iffalse UnknownScript_0x716b0 iffalse UnknownScript_0x716b0
special PrintDiploma special Special_PrintDiploma
closetext closetext
end end

View File

@ -30,9 +30,9 @@ CeladonEusine:
writetext CeladonEusineText1 writetext CeladonEusineText1
buttonsound buttonsound
writebyte SUICUNE writebyte SUICUNE
special SpecialMonCheck special Special_MonCheck
iffalse .NoSuicune iffalse .NoSuicune
special SpecialBeastsCheck special Special_BeastsCheck
iftrue .HoOh iftrue .HoOh
writetext NoBeastsText writetext NoBeastsText
waitbutton waitbutton

View File

@ -14,7 +14,7 @@ NurseScript_0x18820f:
jumpstd pokecenternurse jumpstd pokecenternurse
SuperNerdScript_0x188212: SuperNerdScript_0x188212:
special Mobile_DummyReturnFalse special Special_Mobile_DummyReturnFalse
iftrue .mobile iftrue .mobile
jumptextfaceplayer UnknownText_0x188221 jumptextfaceplayer UnknownText_0x188221

View File

@ -217,7 +217,7 @@ ElderScript_0x18d1a5:
waitsfx waitsfx
givepoke DRATINI, 15 givepoke DRATINI, 15
checkevent EVENT_ANSWERED_DRAGON_MASTER_QUIZ_WRONG checkevent EVENT_ANSWERED_DRAGON_MASTER_QUIZ_WRONG
special SpecialDratini special Special_Dratini
setevent EVENT_GOT_DRATINI setevent EVENT_GOT_DRATINI
setevent EVENT_JUST_RECEIVED_DRATINI setevent EVENT_JUST_RECEIVED_DRATINI
writetext UnknownText_0x18d6ca writetext UnknownText_0x18d6ca

View File

@ -61,7 +61,7 @@ EcruteakPokecenter1FNurseScript:
jumpstd pokecenternurse jumpstd pokecenternurse
EcruteakPokecenter1FPokefanMScript: EcruteakPokecenter1FPokefanMScript:
special Mobile_DummyReturnFalse special Special_Mobile_DummyReturnFalse
iftrue .mobile iftrue .mobile
jumptextfaceplayer EcruteakPokecenter1FPokefanMText jumptextfaceplayer EcruteakPokecenter1FPokefanMText

View File

@ -308,7 +308,7 @@ ElmsLabHealingMachine:
end end
ElmsLabHealingMachine_HealParty: ElmsLabHealingMachine_HealParty:
special TrainerRankings_Healings special Special_TrainerRankings_Healings
special HealParty special HealParty
playmusic MUSIC_NONE playmusic MUSIC_NONE
writebyte 1 ; Machine is in Elm's Lab writebyte 1 ; Machine is in Elm's Lab

View File

@ -49,7 +49,7 @@ TrainerGuitaristClyde:
.Script: .Script:
end_if_just_battled end_if_just_battled
special Mobile_DummyReturnFalse special Special_Mobile_DummyReturnFalse
iftrue .mobile iftrue .mobile
opentext opentext
writetext UnknownText_0x75d65 writetext UnknownText_0x75d65
@ -71,7 +71,7 @@ FastShipBed:
closetext closetext
special Special_FadeBlackQuickly special Special_FadeBlackQuickly
special Special_ReloadSpritesNoPalettes special Special_ReloadSpritesNoPalettes
special TrainerRankings_Healings special Special_TrainerRankings_Healings
special HealParty special HealParty
playmusic MUSIC_HEAL playmusic MUSIC_HEAL
pause 60 pause 60

View File

@ -17,7 +17,7 @@ NurseScript_0x60f91:
GoldenrodPokecenter1F_GSBallSceneLeft: GoldenrodPokecenter1F_GSBallSceneLeft:
writebyte BATTLETOWERACTION_CHECKMOBILEEVENT writebyte BATTLETOWERACTION_CHECKMOBILEEVENT
special BattleTowerAction special Special_BattleTowerAction
if_equal MOBILE_EVENT_OBJECT_GS_BALL, .gsball if_equal MOBILE_EVENT_OBJECT_GS_BALL, .gsball
end end
@ -49,7 +49,7 @@ GoldenrodPokecenter1F_GSBallSceneLeft:
GoldenrodPokecenter1F_GSBallSceneRight: GoldenrodPokecenter1F_GSBallSceneRight:
writebyte BATTLETOWERACTION_CHECKMOBILEEVENT writebyte BATTLETOWERACTION_CHECKMOBILEEVENT
special BattleTowerAction special Special_BattleTowerAction
if_equal MOBILE_EVENT_OBJECT_GS_BALL, .gsball if_equal MOBILE_EVENT_OBJECT_GS_BALL, .gsball
end end

View File

@ -472,7 +472,7 @@ MapIlexForestSignpost4Script:
startbattle startbattle
reloadmapafterbattle reloadmapafterbattle
pause 20 pause 20
special CheckCaughtCelebi special Special_CheckCaughtCelebi
iffalse .DidntCatchCelebi iffalse .DidntCatchCelebi
appear ILEXFOREST_KURT appear ILEXFOREST_KURT
applymovement ILEXFOREST_KURT, MovementData_0x6ef4e applymovement ILEXFOREST_KURT, MovementData_0x6ef4e

View File

@ -21,9 +21,9 @@ MobileBattleRoom_MapScriptHeader:
MapMobileBattleRoomSignpost0Script: MapMobileBattleRoomSignpost0Script:
refreshscreen $0 refreshscreen $0
special Function1037c2 special Special_Function1037c2
if_equal $1, .one if_equal $1, .one
special Function1037eb special Special_Function1037eb
iffalse .false iffalse .false
if_equal $1, .one_ if_equal $1, .one_
if_equal $2, .two_ if_equal $2, .two_
@ -35,22 +35,22 @@ MapMobileBattleRoomSignpost0Script:
closetext closetext
special Special_FadeOutPalettes special Special_FadeOutPalettes
playmusic MUSIC_HEAL playmusic MUSIC_HEAL
special LoadMapPalettes special Special_LoadMapPalettes
pause 60 pause 60
special Special_FadeInPalettes special Special_FadeInPalettes
special RestartMapMusic special RestartMapMusic
refreshscreen $0 refreshscreen $0
.two_ .two_
special TrainerRankings_Healings special Special_TrainerRankings_Healings
special HealParty special HealParty
special Function10383c special Special_Function10383c
iftrue .false iftrue .false
.one .one
special Function10387b special Special_Function10387b
writetext MobileBattleRoom_EstablishingCommsText writetext MobileBattleRoom_EstablishingCommsText
waitbutton waitbutton
reloadmappart reloadmappart
special Function101225 special Special_Function101225
.false .false
closetext closetext
end end

View File

@ -21,11 +21,11 @@ MobileTradeRoomMobile_MapScriptHeader:
MapMobileTradeRoomMobileSignpost0Script: MapMobileTradeRoomMobileSignpost0Script:
refreshscreen $0 refreshscreen $0
special Function1037c2 special Special_Function1037c2
writetext MobileTradeRoomMobile_EstablishingCommsText writetext MobileTradeRoomMobile_EstablishingCommsText
waitbutton waitbutton
reloadmappart reloadmappart
special Function101231 special Special_Function101231
closetext closetext
end end

View File

@ -113,7 +113,7 @@ MrPokemonsHouse_OakScript:
special Special_FadeBlackQuickly special Special_FadeBlackQuickly
special Special_ReloadSpritesNoPalettes special Special_ReloadSpritesNoPalettes
playmusic MUSIC_HEAL playmusic MUSIC_HEAL
special TrainerRankings_Healings special Special_TrainerRankings_Healings
special HealParty special HealParty
pause 60 pause 60
special Special_FadeInQuickly special Special_FadeInQuickly

View File

@ -11,7 +11,7 @@ PokeSeersHouse_MapScriptHeader:
SeerScript: SeerScript:
faceplayer faceplayer
opentext opentext
special SpecialPokeSeer special Special_PokeSeer
waitbutton waitbutton
closetext closetext
end end

View File

@ -76,10 +76,10 @@ LinkReceptionistScript_Trade:
writetext Text_TradeReceptionistIntro writetext Text_TradeReceptionistIntro
yesorno yesorno
iffalse .Cancel iffalse .Cancel
special Mobile_DummyReturnFalse ; always returns false special Special_Mobile_DummyReturnFalse ; always returns false
iffalse .NoMobile iffalse .NoMobile
writetext Text_TradeReceptionistMobile writetext Text_TradeReceptionistMobile
special AskMobileOrCable special Special_AskMobileOrCable
iffalse .Cancel iffalse .Cancel
if_equal $1, .Mobile if_equal $1, .Mobile
.NoMobile: .NoMobile:
@ -153,7 +153,7 @@ LinkReceptionistScript_Trade:
iffalse .Mobile_DidNotSave iffalse .Mobile_DidNotSave
special Special_TryQuickSave special Special_TryQuickSave
iffalse .Mobile_DidNotSave iffalse .Mobile_DidNotSave
special Function1011f1 special Special_Function1011f1
writetext Text_PleaseComeIn2 writetext Text_PleaseComeIn2
waitbutton waitbutton
closetext closetext
@ -178,10 +178,10 @@ LinkReceptionistScript_Battle:
writetext Text_BattleReceptionistIntro writetext Text_BattleReceptionistIntro
yesorno yesorno
iffalse .Cancel iffalse .Cancel
special Mobile_DummyReturnFalse ; always returns false special Special_Mobile_DummyReturnFalse ; always returns false
iffalse .NoMobile iffalse .NoMobile
writetext Text_BattleReceptionistMobile writetext Text_BattleReceptionistMobile
special AskMobileOrCable special Special_AskMobileOrCable
iffalse .Cancel iffalse .Cancel
if_equal $1, .Mobile if_equal $1, .Mobile
.NoMobile: .NoMobile:
@ -255,9 +255,9 @@ LinkReceptionistScript_Battle:
writetext Text_MustSaveGame writetext Text_MustSaveGame
yesorno yesorno
iffalse .Mobile_DidNotSave iffalse .Mobile_DidNotSave
special Function103780 special Special_Function103780
iffalse .Mobile_DidNotSave iffalse .Mobile_DidNotSave
special Function1011f1 special Special_Function1011f1
writetext Text_PleaseComeIn2 writetext Text_PleaseComeIn2
waitbutton waitbutton
closetext closetext
@ -271,7 +271,7 @@ LinkReceptionistScript_Battle:
end end
.SelectThreeMons: .SelectThreeMons:
special Mobile_SelectThreeMons special Special_Mobile_SelectThreeMons
iffalse .Mobile_DidNotSelect iffalse .Mobile_DidNotSelect
if_equal $1, .Mobile_OK if_equal $1, .Mobile_OK
if_equal $2, .Mobile_OK if_equal $2, .Mobile_OK
@ -381,7 +381,7 @@ Script_LeftCableTradeCenter:
end end
Script_LeftMobileTradeRoom: Script_LeftMobileTradeRoom:
special Function101220 special Special_Function101220
scall Script_WalkOutOfMobileTradeRoom scall Script_WalkOutOfMobileTradeRoom
setscene $0 setscene $0
setmapscene MOBILE_TRADE_ROOM_MOBILE, $0 setmapscene MOBILE_TRADE_ROOM_MOBILE, $0
@ -401,7 +401,7 @@ Script_LeftCableColosseum:
end end
Script_LeftMobileBattleRoom: Script_LeftMobileBattleRoom:
special Function101220 special Special_Function101220
scall Script_WalkOutOfMobileBattleRoom scall Script_WalkOutOfMobileBattleRoom
setscene $0 setscene $0
setmapscene MOBILE_BATTLE_ROOM, $0 setmapscene MOBILE_BATTLE_ROOM, $0

View File

@ -117,7 +117,7 @@ Buena:
if_equal 30, UnknownScript_0x5d87f if_equal 30, UnknownScript_0x5d87f
playmusic MUSIC_BUENAS_PASSWORD playmusic MUSIC_BUENAS_PASSWORD
writetext UnknownText_0x5de35 writetext UnknownText_0x5de35
special AskRememberPassword special Special_AskRememberPassword
iffalse UnknownScript_0x5d81e iffalse UnknownScript_0x5d81e
writetext UnknownText_0x5de84 writetext UnknownText_0x5de84
waitbutton waitbutton
@ -134,7 +134,7 @@ UnknownScript_0x5d7be:
closetext closetext
spriteface RADIOTOWER2F_BUENA, DOWN spriteface RADIOTOWER2F_BUENA, DOWN
refreshscreen $0 refreshscreen $0
special SpecialBuenasPassword special Special_BuenasPassword
closetext closetext
iffalse UnknownScript_0x5d845 iffalse UnknownScript_0x5d845
opentext opentext
@ -316,7 +316,7 @@ ReceptionistScript_0x5d8ff:
iffalse UnknownScript_0x5d90f iffalse UnknownScript_0x5d90f
writetext UnknownText_0x5e392 writetext UnknownText_0x5e392
buttonsound buttonsound
special SpecialBuenaPrize special Special_BuenaPrize
closetext closetext
end end

View File

@ -16,7 +16,7 @@ TeacherScript_0x7b125:
closetext closetext
special Special_FadeBlackQuickly special Special_FadeBlackQuickly
special Special_ReloadSpritesNoPalettes special Special_ReloadSpritesNoPalettes
special TrainerRankings_Healings special Special_TrainerRankings_Healings
playmusic MUSIC_HEAL playmusic MUSIC_HEAL
special HealParty special HealParty
pause 60 pause 60

View File

@ -95,7 +95,7 @@ DidntCatchSudowoodo:
disappear ROUTE36_WEIRD_TREE disappear ROUTE36_WEIRD_TREE
variablesprite SPRITE_WEIRD_TREE, SPRITE_TWIN variablesprite SPRITE_WEIRD_TREE, SPRITE_TWIN
special Special_MapCallbackSprites_LoadUsedSpritesGFX special Special_MapCallbackSprites_LoadUsedSpritesGFX
special RefreshSprites special Special_RefreshSprites
end end
Route36FloriaScript: Route36FloriaScript:

View File

@ -79,7 +79,7 @@ Route40Lass1Script:
jumptextfaceplayer Route40Lass1Text jumptextfaceplayer Route40Lass1Text
PokefanMScript_0x1a61c7: PokefanMScript_0x1a61c7:
special Mobile_DummyReturnFalse special Special_Mobile_DummyReturnFalse
iftrue .mobile iftrue .mobile
jumptextfaceplayer UnknownText_0x1a646a jumptextfaceplayer UnknownText_0x1a646a

View File

@ -9,7 +9,7 @@ RuinsOfAlphHoOhChamber_MapScriptHeader:
dbw MAPCALLBACK_TILES, .HiddenDoors dbw MAPCALLBACK_TILES, .HiddenDoors
.CheckWall: .CheckWall:
special SpecialHoOhChamber special Special_HoOhChamber
checkevent EVENT_WALL_OPENED_IN_HO_OH_CHAMBER checkevent EVENT_WALL_OPENED_IN_HO_OH_CHAMBER
iftrue .OpenWall iftrue .OpenWall
end end

View File

@ -9,7 +9,7 @@ RuinsOfAlphOmanyteChamber_MapScriptHeader:
dbw MAPCALLBACK_TILES, .HiddenDoors dbw MAPCALLBACK_TILES, .HiddenDoors
.CheckWall: .CheckWall:
special SpecialOmanyteChamber special Special_OmanyteChamber
checkevent EVENT_WALL_OPENED_IN_OMANYTE_CHAMBER checkevent EVENT_WALL_OPENED_IN_OMANYTE_CHAMBER
iftrue .OpenWall iftrue .OpenWall
end end

View File

@ -15,7 +15,7 @@ NurseScript_0x18a47d:
jumpstd pokecenternurse jumpstd pokecenternurse
TeacherScript_0x18a480: TeacherScript_0x18a480:
special Mobile_DummyReturnFalse special Special_Mobile_DummyReturnFalse
iftrue .mobile iftrue .mobile
jumptextfaceplayer UnknownText_0x18a4a3 jumptextfaceplayer UnknownText_0x18a4a3

View File

@ -167,7 +167,7 @@ LanceHealsCommon:
waitbutton waitbutton
closetext closetext
special Special_FadeOutPalettes special Special_FadeOutPalettes
special TrainerRankings_Healings special Special_TrainerRankings_Healings
playsound SFX_FULL_HEAL playsound SFX_FULL_HEAL
special HealParty special HealParty
special Special_FadeInPalettes special Special_FadeInPalettes

View File

@ -33,7 +33,7 @@ TinTower1F_MapScriptHeader:
iftrue .GotRainbowWing iftrue .GotRainbowWing
checkevent EVENT_BEAT_ELITE_FOUR checkevent EVENT_BEAT_ELITE_FOUR
iffalse .FaceBeasts iffalse .FaceBeasts
special SpecialBeastsCheck special Special_BeastsCheck
iffalse .FaceBeasts iffalse .FaceBeasts
clearevent EVENT_TIN_TOWER_1F_WISE_TRIO_2 clearevent EVENT_TIN_TOWER_1F_WISE_TRIO_2
setevent EVENT_TIN_TOWER_1F_WISE_TRIO_1 setevent EVENT_TIN_TOWER_1F_WISE_TRIO_1
@ -49,7 +49,7 @@ TinTower1F_MapScriptHeader:
iftrue .FoughtSuicune iftrue .FoughtSuicune
appear TINTOWER1F_SUICUNE appear TINTOWER1F_SUICUNE
writebyte RAIKOU writebyte RAIKOU
special SpecialMonCheck special Special_MonCheck
iftrue .NoRaikou iftrue .NoRaikou
appear TINTOWER1F_RAIKOU appear TINTOWER1F_RAIKOU
jump .CheckEntei jump .CheckEntei
@ -58,7 +58,7 @@ TinTower1F_MapScriptHeader:
disappear TINTOWER1F_RAIKOU disappear TINTOWER1F_RAIKOU
.CheckEntei: .CheckEntei:
writebyte ENTEI writebyte ENTEI
special SpecialMonCheck special Special_MonCheck
iftrue .NoEntei iftrue .NoEntei
appear TINTOWER1F_ENTEI appear TINTOWER1F_ENTEI
jump .BeastsDone jump .BeastsDone
@ -87,7 +87,7 @@ TinTower1F_MapScriptHeader:
applymovement PLAYER, TinTowerPlayerMovement1 applymovement PLAYER, TinTowerPlayerMovement1
pause 15 pause 15
writebyte RAIKOU writebyte RAIKOU
special SpecialMonCheck special Special_MonCheck
iftrue .Next1 ; if player caught Raikou, he doesn't appear in Tin Tower iftrue .Next1 ; if player caught Raikou, he doesn't appear in Tin Tower
applymovement TINTOWER1F_RAIKOU, TinTowerRaikouMovement1 applymovement TINTOWER1F_RAIKOU, TinTowerRaikouMovement1
spriteface PLAYER, LEFT spriteface PLAYER, LEFT
@ -100,7 +100,7 @@ TinTower1F_MapScriptHeader:
waitsfx waitsfx
.Next1: .Next1:
writebyte ENTEI writebyte ENTEI
special SpecialMonCheck special Special_MonCheck
iftrue .Next2 ; if player caught Entei, he doesn't appear in Tin Tower iftrue .Next2 ; if player caught Entei, he doesn't appear in Tin Tower
applymovement TINTOWER1F_ENTEI, TinTowerEnteiMovement1 applymovement TINTOWER1F_ENTEI, TinTowerEnteiMovement1
spriteface PLAYER, RIGHT spriteface PLAYER, RIGHT

View File

@ -1,11 +1,11 @@
BattleTowerRoomMenu: ; 1700b0 Special_BattleTowerRoomMenu: ; 1700b0
; special ; special
call InitBattleTowerChallengeRAM call InitBattleTowerChallengeRAM
farcall _BattleTowerRoomMenu farcall _BattleTowerRoomMenu
ret ret
; 1700ba ; 1700ba
Function1700ba: ; 1700ba Special_Function1700ba: ; 1700ba
call InitBattleTowerChallengeRAM call InitBattleTowerChallengeRAM
farcall Function11811a farcall Function11811a
ret ret
@ -53,7 +53,7 @@ Function1700c4: ; 1700c4
ret ret
; 170114 ; 170114
Function170114: ; 170114 Special_Function170114: ; 170114
call InitBattleTowerChallengeRAM call InitBattleTowerChallengeRAM
call .Function170121 call .Function170121
farcall Function11805f farcall Function11805f
@ -182,14 +182,14 @@ Function170139: ; 170139
ret ret
; 170215 ; 170215
BattleTowerBattle: ; 170215 Special_BattleTowerBattle: ; 170215
xor a xor a
ld [wBattleTowerBattleEnded], a ld [wBattleTowerBattleEnded], a
call _BattleTowerBattle call _BattleTowerBattle
ret ret
; 17021d ; 17021d
EmptySpecial_17021d: ; 17021d DummySpecial17021d: ; 17021d
ret ret
; 17021e ; 17021e
@ -243,7 +243,7 @@ RunBattleTowerTrainer: ; 17024d
xor a xor a
ld [wLinkMode], a ld [wLinkMode], a
farcall TrainerRankings_Healings farcall Special_TrainerRankings_Healings
farcall HealParty farcall HealParty
call ReadBTTrainerParty call ReadBTTrainerParty
call Clears5_a89a call Clears5_a89a
@ -654,7 +654,7 @@ Unreferenced_Function1704ca: ; 1704ca
ret ret
; 1704e1 ; 1704e1
Function1704e1: ; 1704e1 Special_Function1704e1: ; 1704e1
; unreferenced special ; unreferenced special
call SpeechTextBox call SpeechTextBox
call FadeToMenu call FadeToMenu
@ -936,7 +936,7 @@ Function1704e1: ; 1704e1
db "れきだいりーダーいちらん@" db "れきだいりーダーいちらん@"
; 170687 ; 170687
BattleTowerAction: ; 170687 Special_BattleTowerAction: ; 170687
ld a, [ScriptVar] ld a, [ScriptVar]
ld e, a ld e, a
ld d, 0 ld d, 0
@ -1639,7 +1639,7 @@ BattleTowerAction_UbersCheck: ; 170b16 (5c:4b16) BattleTowerAction $19
ld [ScriptVar], a ld [ScriptVar], a
ret ret
Function_LoadOpponentTrainerAndPokemonsWithOTSprite: ; 0x170b44 Special_LoadOpponentTrainerAndPokemonWithOTSprite: ; 0x170b44
farcall Function_LoadOpponentTrainerAndPokemons farcall Function_LoadOpponentTrainerAndPokemons
ld a, [rSVBK] ld a, [rSVBK]
push af push af
@ -1752,11 +1752,11 @@ Function_LoadOpponentTrainerAndPokemonsWithOTSprite: ; 0x170b44
db SPRITE_OFFICER db SPRITE_OFFICER
db SPRITE_ROCKET_GIRL db SPRITE_ROCKET_GIRL
ret_170bd2: ; 170bd2 DummySpecial170bd2: ; 170bd2
ret ret
; 170bd3 ; 170bd3
SpecialCheckForBattleTowerRules: ; 170bd3 Special_CheckForBattleTowerRules: ; 170bd3
farcall CheckForBattleTowerRules farcall CheckForBattleTowerRules
jr c, .asm_170bde jr c, .asm_170bde
xor a xor a

View File

@ -274,7 +274,7 @@ CopyMobileEZChatToC608: ; 11c156
jr .copy_string jr .copy_string
; 11c1ab ; 11c1ab
Function11c1ab: ; 11c1ab Special_Function11c1ab: ; 11c1ab
ld a, [hInMenu] ld a, [hInMenu]
push af push af
ld a, $1 ld a, $1

View File

@ -159,7 +159,7 @@ MobileCheckOwnMonAnywhere: ; 4a843
ret ret
; 4a927 ; 4a927
FindItemInPCOrBag: ; 4a927 UnusedSpecial_FindItemInPCOrBag: ; 4a927
ld a, [ScriptVar] ld a, [ScriptVar]
ld [CurItem], a ld [CurItem], a
ld hl, PCItems ld hl, PCItems

View File

@ -2804,7 +2804,7 @@ LoadSelectedPartiesForColosseum: ; 1010f2
ret ret
; 1011f1 ; 1011f1
Function1011f1: ; 1011f1 Special_Function1011f1: ; 1011f1
ld a, $04 ld a, $04
call GetSRAMBank call GetSRAMBank
ld a, [$a60c] ld a, [$a60c]
@ -2828,20 +2828,20 @@ Function1011f1: ; 1011f1
ret ret
; 101220 ; 101220
Function101220: ; 101220 Special_Function101220: ; 101220
xor a xor a
ld [wLinkMode], a ld [wLinkMode], a
ret ret
; 101225 ; 101225
Function101225: ; 101225 Special_Function101225: ; 101225
ld d, 1 ld d, 1
ld e, BANK(Jumptable_101297) ld e, BANK(Jumptable_101297)
ld bc, Jumptable_101297 ld bc, Jumptable_101297
call Function100000 call Function100000
jr Function10123d jr Function10123d
Function101231: ; 101231 Special_Function101231: ; 101231
ld d, 2 ld d, 2
ld e, BANK(Jumptable_101297) ld e, BANK(Jumptable_101297)
ld bc, Jumptable_101297 ld bc, Jumptable_101297
@ -2872,7 +2872,7 @@ Function101251: ; 101251
call Function1021e0 call Function1021e0
call Function1020ea call Function1020ea
ret c ret c
call Function102142 call Special_Function102142
ret ret
; 101265 ; 101265
@ -5025,7 +5025,7 @@ Function102112: ; 102112
ret ret
; 102142 ; 102142
Function102142: ; 102142 Special_Function102142: ; 102142
call Function10218d call Function10218d
call Function102180 call Function102180
ld hl, UnknownText_0x1021d1 ld hl, UnknownText_0x1021d1
@ -7724,9 +7724,9 @@ Unknown_1035d7: ; 1035d7
dw Unknown_103608 dw Unknown_103608
dw Unknown_103608 dw Unknown_103608
dw Unknown_1035fe dw Unknown_1035fe
dw AskMobileOrCable dw Special_AskMobileOrCable
dw AskMobileOrCable dw Special_AskMobileOrCable
dw AskMobileOrCable dw Special_AskMobileOrCable
Unknown_1035e7: ; 1035e7 Unknown_1035e7: ; 1035e7
dwcoord 0, 6 dwcoord 0, 6
@ -7757,7 +7757,7 @@ Unknown_103608: ; 103608
db 2, 2, 3 db 2, 2, 3
; 103612 ; 103612
AskMobileOrCable: ; 103612 Special_AskMobileOrCable: ; 103612
ld hl, MenuDataHeader_103640 ld hl, MenuDataHeader_103640
call LoadMenuDataHeader call LoadMenuDataHeader
ld a, [wMobileOrCable_LastSelection] ld a, [wMobileOrCable_LastSelection]
@ -7814,7 +7814,7 @@ Function103654: ; 103654
ret ret
; 10366e ; 10366e
Mobile_SelectThreeMons: ; 10366e Special_Mobile_SelectThreeMons: ; 10366e
farcall Mobile_AlwaysReturnNotCarry farcall Mobile_AlwaysReturnNotCarry
bit 7, c bit 7, c
jr z, .asm_10369b jr z, .asm_10369b
@ -7983,7 +7983,7 @@ UnknownText_0x10377b: ; 0x10377b
db "@" db "@"
; 0x103780 ; 0x103780
Function103780: ; 103780 Special_Function103780: ; 103780
ld a, [wd265] ld a, [wd265]
push af push af
call Function10378c call Function10378c
@ -8025,7 +8025,7 @@ Function10378c: ; 10378c
ret ret
; 1037c2 ; 1037c2
Function1037c2: ; 1037c2 Special_Function1037c2: ; 1037c2
call Function103823 call Function103823
jr c, .nope jr c, .nope
ld a, [wdc5f] ld a, [wdc5f]
@ -8051,7 +8051,7 @@ UnknownText_0x1037e6: ; 0x1037e6
db "@" db "@"
; 0x1037eb ; 0x1037eb
Function1037eb: ; 1037eb Special_Function1037eb: ; 1037eb
call Function103823 call Function103823
jr nc, .asm_103807 jr nc, .asm_103807
ld hl, UnknownText_0x103819 ld hl, UnknownText_0x103819
@ -8106,7 +8106,7 @@ Function103823: ; 103823
ret ret
; 10383c ; 10383c
Function10383c: ; 10383c Special_Function10383c: ; 10383c
ld a, $01 ld a, $01
ld [wdc60], a ld [wdc60], a
xor a xor a
@ -8139,7 +8139,7 @@ UnknownText_0x103876: ; 0x103876
db "@" db "@"
; 0x10387b ; 0x10387b
Function10387b: ; 10387b Special_Function10387b: ; 10387b
farcall Mobile_AlwaysReturnNotCarry farcall Mobile_AlwaysReturnNotCarry
bit 7, c bit 7, c
ret nz ret nz

View File

@ -304,7 +304,7 @@ TrainerRankings_FruitPicked: mobile ; 10609b
ld hl, sTrainerRankingFruitPicked ld hl, sTrainerRankingFruitPicked
jp TrainerRankings_Increment3Byte jp TrainerRankings_Increment3Byte
TrainerRankings_Healings: mobile ; 1060a2 Special_TrainerRankings_Healings: mobile ; 1060a2
ld hl, sTrainerRankingHealings ld hl, sTrainerRankingHealings
jp TrainerRankings_Increment3Byte jp TrainerRankings_Increment3Byte
@ -773,7 +773,7 @@ endr
; functions related to the cable club and various NPC scripts referencing mobile communications ; functions related to the cable club and various NPC scripts referencing mobile communications
Mobile_DummyReturnFalse: ; 10630f Special_Mobile_DummyReturnFalse: ; 10630f
xor a xor a
ld [ScriptVar], a ld [ScriptVar], a
ret ret
@ -798,7 +798,7 @@ Mobile_AlwaysReturnNotCarry: ; 10632f
or a or a
ret ret
Function106331: ; 106331 - called by Mobile_DummyReturnFalse in Crystal-J Function106331: ; 106331 - called by Special_Mobile_DummyReturnFalse in Crystal-J
; check ~[4:b000] == [7:a800] ; check ~[4:b000] == [7:a800]
ld a, $4 ld a, $4
call GetSRAMBank call GetSRAMBank

View File

@ -1672,7 +1672,7 @@ Function118ded: ; 118ded
push af push af
ld a, $1 ld a, $1
ld [rSVBK], a ld [rSVBK], a
farcall Function11b93b farcall Special_Function11b93b
pop af pop af
ld [rSVBK], a ld [rSVBK], a
@ -5729,7 +5729,7 @@ Text_ThisBattleRoomPleaseWait: ; 0x11ac1f
done done
; 0x11ac3e ; 0x11ac3e
Function11ac3e: ; 11ac3e Special_Function11ac3e: ; 11ac3e
call SpeechTextBox call SpeechTextBox
call FadeToMenu call FadeToMenu
callfar ClearSpriteAnims2 callfar ClearSpriteAnims2
@ -7060,7 +7060,7 @@ Function11b3d9: ; 11b3d9
ret ret
; 11b444 ; 11b444
Function11b444: ; 11b444 Special_Function11b444: ; 11b444
; special ; special
call Mobile46_InitJumptable call Mobile46_InitJumptable
call Mobile46_RunJumptable call Mobile46_RunJumptable
@ -7349,7 +7349,7 @@ Function11b5e7: ; 11b5e7
ret ret
; 11b5e8 ; 11b5e8
Function11b5e8: ; 11b5e8 Special_Function11b5e8: ; 11b5e8
ld a, $0 ld a, $0
call GetSRAMBank call GetSRAMBank
ld hl, wRTC ld hl, wRTC
@ -7585,7 +7585,7 @@ Function11b6b4: ; 11b6b4
ret ret
; 11b7e5 ; 11b7e5
Function11b7e5: ; 11b7e5 Special_Function11b7e5: ; 11b7e5
ld a, [$c60d] ; species ld a, [$c60d] ; species
ld [wOTTrademonSpecies], a ld [wOTTrademonSpecies], a
ld [CurPartySpecies], a ld [CurPartySpecies], a
@ -7644,7 +7644,7 @@ Function11b7e5: ; 11b7e5
ret ret
; 11b879 ; 11b879
Function11b879: ; 11b879 Special_Function11b879: ; 11b879
farcall BattleTower_CheckSaveFileExistsAndIsYours farcall BattleTower_CheckSaveFileExistsAndIsYours
ld a, [ScriptVar] ld a, [ScriptVar]
and a and a
@ -7737,7 +7737,7 @@ Function11b879: ; 11b879
ret ret
; 11b920 ; 11b920
Function11b920: ; 11b920 Special_Function11b920: ; 11b920
call Mobile46_InitJumptable call Mobile46_InitJumptable
ld a, $5 ld a, $5
call GetSRAMBank call GetSRAMBank
@ -7750,7 +7750,7 @@ Function11b920: ; 11b920
ret ret
; 11b93b ; 11b93b
Function11b93b: ; 11b93b Special_Function11b93b: ; 11b93b
ld a, $5 ld a, $5
call GetSRAMBank call GetSRAMBank
xor a xor a
@ -7894,7 +7894,7 @@ AddMobileMonToParty: ; 11b98f
ret ret
; 11ba38 ; 11ba38
Function11ba38: ; 11ba38 Special_Function11ba38: ; 11ba38
farcall CheckCurPartyMonFainted farcall CheckCurPartyMonFainted
ret c ret c
xor a xor a

View File

@ -513,7 +513,7 @@ MenuData2_ChallengeExplanationCancel: ; 17d297
db "Cancel@" db "Cancel@"
; 17d2b6 ; 17d2b6
Function17d2b6: ; 17d2b6 Special_Function17d2b6: ; 17d2b6
call Function17d2c0 call Function17d2c0
farcall Function1181da farcall Function1181da
ret ret
@ -528,7 +528,7 @@ Function17d2c0: ; 17d2c0
ret ret
; 17d2ce ; 17d2ce
Function17d2ce: ; 17d2ce Special_Function17d2ce: ; 17d2ce
ld a, $5 ld a, $5
call GetSRAMBank call GetSRAMBank
ld a, [$aa72] ld a, [$aa72]
@ -4619,7 +4619,7 @@ Function17f524: ; 17f524
jr .asm_17f536 jr .asm_17f536
; 17f53d ; 17f53d
BattleTowerMobileError: ; 17f53d Special_BattleTowerMobileError: ; 17f53d
call FadeToMenu call FadeToMenu
xor a xor a
ld [wc303], a ld [wc303], a

View File

@ -847,7 +847,7 @@ Function4a6ab: ; 4a6ab (12:66ab)
call ClearBGPalettes call ClearBGPalettes
ld b, SCGB_DIPLOMA ld b, SCGB_DIPLOMA
call GetSGBLayout call GetSGBLayout
farcall Function11c1ab farcall Special_Function11c1ab
pop bc pop bc
call LoadFontsExtra call LoadFontsExtra
jp Function4a4c4 jp Function4a4c4