mirror of
https://gitlab.com/xCrystal/pokecrystal-board.git
synced 2024-11-16 11:27:33 -08:00
Remove Special_ prefix from special routines (close #478)
This commit is contained in:
parent
132fe46925
commit
d719d318e8
@ -86,7 +86,7 @@
|
|||||||
charmap "▲", $61 ; gfx/font/up_arrow.png
|
charmap "▲", $61 ; gfx/font/up_arrow.png
|
||||||
charmap "☎", $62 ; gfx/font/phone_icon.2bpp
|
charmap "☎", $62 ; gfx/font/phone_icon.2bpp
|
||||||
|
|
||||||
; needed for Special_MagikarpHouseSign (see engine/events/magikarp.asm)
|
; needed for MagikarpHouseSign (see engine/events/magikarp.asm)
|
||||||
charmap "′", $6e ; gfx/font/feet_inches.png
|
charmap "′", $6e ; gfx/font/feet_inches.png
|
||||||
charmap "″", $6f ; gfx/font/feet_inches.png
|
charmap "″", $6f ; gfx/font/feet_inches.png
|
||||||
|
|
||||||
|
@ -217,7 +217,7 @@ NUM_FRUIT_TREES EQU const_value +- 1
|
|||||||
const SWARM_YANMA ; 1
|
const SWARM_YANMA ; 1
|
||||||
|
|
||||||
|
|
||||||
; Special_ActivateFishingSwarm writebyte arguments
|
; ActivateFishingSwarm writebyte arguments
|
||||||
const_def
|
const_def
|
||||||
const FISHSWARM_NONE ; 0
|
const FISHSWARM_NONE ; 0
|
||||||
const FISHSWARM_QWILFISH ; 1
|
const FISHSWARM_QWILFISH ; 1
|
||||||
@ -229,7 +229,7 @@ NUM_FRUIT_TREES EQU const_value +- 1
|
|||||||
const GBCHECK_SGB ; 1
|
const GBCHECK_SGB ; 1
|
||||||
const GBCHECK_CGB ; 2
|
const GBCHECK_CGB ; 2
|
||||||
|
|
||||||
; Special_CheckMagikarpLength return values
|
; CheckMagikarpLength return values
|
||||||
const_def
|
const_def
|
||||||
const MAGIKARPLENGTH_NOT_MAGIKARP ; 0
|
const MAGIKARPLENGTH_NOT_MAGIKARP ; 0
|
||||||
const MAGIKARPLENGTH_REFUSED ; 1
|
const MAGIKARPLENGTH_REFUSED ; 1
|
||||||
@ -257,7 +257,7 @@ NUM_FRUIT_TREES EQU const_value +- 1
|
|||||||
const HEALMACHINE_ELMS_LAB ; 1
|
const HEALMACHINE_ELMS_LAB ; 1
|
||||||
const HEALMACHINE_HALL_OF_FAME ; 2
|
const HEALMACHINE_HALL_OF_FAME ; 2
|
||||||
|
|
||||||
; Special_UnownPuzzle writebyte arguments
|
; UnownPuzzle writebyte arguments
|
||||||
; LoadUnownPuzzlePiecesGFX.LZPointers indexes (see engine/unown_puzzle.asm)
|
; LoadUnownPuzzlePiecesGFX.LZPointers indexes (see engine/unown_puzzle.asm)
|
||||||
const_def
|
const_def
|
||||||
const UNOWNPUZZLE_KABUTO ; 0
|
const UNOWNPUZZLE_KABUTO ; 0
|
||||||
@ -266,7 +266,7 @@ NUM_FRUIT_TREES EQU const_value +- 1
|
|||||||
const UNOWNPUZZLE_HO_OH ; 3
|
const UNOWNPUZZLE_HO_OH ; 3
|
||||||
NUM_UNOWN_PUZZLES EQU const_value
|
NUM_UNOWN_PUZZLES EQU const_value
|
||||||
|
|
||||||
; Special_DisplayUnownWords writebyte arguments
|
; DisplayUnownWords writebyte arguments
|
||||||
; UnownWalls and MenuHeaders_UnownWalls indexes (see data/unown_walls.asm)
|
; UnownWalls and MenuHeaders_UnownWalls indexes (see data/unown_walls.asm)
|
||||||
const_def
|
const_def
|
||||||
const UNOWNWORDS_ESCAPE ; 0
|
const UNOWNWORDS_ESCAPE ; 0
|
||||||
@ -274,7 +274,7 @@ NUM_UNOWN_PUZZLES EQU const_value
|
|||||||
const UNOWNWORDS_WATER ; 2
|
const UNOWNWORDS_WATER ; 2
|
||||||
const UNOWNWORDS_HO_OH ; 3
|
const UNOWNWORDS_HO_OH ; 3
|
||||||
|
|
||||||
; Special_MoveTutor writebyte arguments
|
; MoveTutor writebyte arguments
|
||||||
const_value set 1
|
const_value set 1
|
||||||
const MOVETUTOR_FLAMETHROWER ; 1
|
const MOVETUTOR_FLAMETHROWER ; 1
|
||||||
const MOVETUTOR_THUNDERBOLT ; 2
|
const MOVETUTOR_THUNDERBOLT ; 2
|
||||||
|
@ -7,179 +7,179 @@ add_special: MACRO
|
|||||||
ENDM
|
ENDM
|
||||||
|
|
||||||
SpecialsPointers:: ; c029
|
SpecialsPointers:: ; c029
|
||||||
add_special Special_WarpToSpawnPoint
|
add_special WarpToSpawnPoint
|
||||||
|
|
||||||
; Communications
|
; Communications
|
||||||
add_special Special_SetBitsForLinkTradeRequest
|
add_special SetBitsForLinkTradeRequest
|
||||||
add_special Special_WaitForLinkedFriend
|
add_special WaitForLinkedFriend
|
||||||
add_special Special_CheckLinkTimeout
|
add_special CheckLinkTimeout
|
||||||
add_special Special_TryQuickSave
|
add_special TryQuickSave
|
||||||
add_special Special_CheckBothSelectedSameRoom
|
add_special CheckBothSelectedSameRoom
|
||||||
add_special Special_FailedLinkToPast
|
add_special FailedLinkToPast
|
||||||
add_special Special_CloseLink
|
add_special CloseLink
|
||||||
add_special Special_WaitForOtherPlayerToExit
|
add_special WaitForOtherPlayerToExit
|
||||||
add_special Special_SetBitsForBattleRequest
|
add_special SetBitsForBattleRequest
|
||||||
add_special Special_SetBitsForTimeCapsuleRequest
|
add_special SetBitsForTimeCapsuleRequest
|
||||||
add_special Special_CheckTimeCapsuleCompatibility
|
add_special CheckTimeCapsuleCompatibility
|
||||||
add_special Special_EnterTimeCapsule
|
add_special EnterTimeCapsule
|
||||||
add_special Special_TradeCenter
|
add_special TradeCenter
|
||||||
add_special Special_Colosseum
|
add_special Colosseum
|
||||||
add_special Special_TimeCapsule
|
add_special TimeCapsule
|
||||||
add_special Special_CableClubCheckWhichChris
|
add_special CableClubCheckWhichChris
|
||||||
add_special Special_CheckMysteryGift
|
add_special CheckMysteryGift
|
||||||
add_special Special_GetMysteryGiftItem
|
add_special GetMysteryGiftItem
|
||||||
add_special Special_UnlockMysteryGift
|
add_special UnlockMysteryGift
|
||||||
|
|
||||||
; Map Events
|
; Map Events
|
||||||
add_special Special_BugContestJudging
|
add_special BugContestJudging
|
||||||
add_special Special_CheckPartyFullAfterContest
|
add_special CheckPartyFullAfterContest
|
||||||
add_special Special_ContestDropOffMons
|
add_special ContestDropOffMons
|
||||||
add_special Special_ContestReturnMons
|
add_special ContestReturnMons
|
||||||
add_special Special_GiveParkBalls
|
add_special GiveParkBalls
|
||||||
add_special Special_CheckMagikarpLength
|
add_special CheckMagikarpLength
|
||||||
add_special Special_MagikarpHouseSign
|
add_special MagikarpHouseSign
|
||||||
add_special HealParty ; this is both a special and a predef
|
add_special HealParty ; this is both a special and a predef
|
||||||
add_special Special_PokemonCenterPC
|
add_special PokemonCenterPC
|
||||||
add_special Special_PlayersHousePC
|
add_special PlayersHousePC
|
||||||
add_special Special_DayCareMan
|
add_special DayCareMan
|
||||||
add_special Special_DayCareLady
|
add_special DayCareLady
|
||||||
add_special Special_DayCareManOutside
|
add_special DayCareManOutside
|
||||||
add_special Special_MoveDeletion
|
add_special MoveDeletion
|
||||||
add_special Special_BankOfMom
|
add_special BankOfMom
|
||||||
add_special Special_MagnetTrain
|
add_special MagnetTrain
|
||||||
add_special Special_NameRival
|
add_special NameRival
|
||||||
add_special Special_SetDayOfWeek
|
add_special SetDayOfWeek
|
||||||
add_special Special_OverworldTownMap
|
add_special OverworldTownMap
|
||||||
add_special Special_UnownPrinter
|
add_special UnownPrinter
|
||||||
add_special Special_MapRadio
|
add_special MapRadio
|
||||||
add_special Special_UnownPuzzle
|
add_special UnownPuzzle
|
||||||
add_special Special_SlotMachine
|
add_special SlotMachine
|
||||||
add_special Special_CardFlip
|
add_special CardFlip
|
||||||
add_special Special_DummyNonfunctionalGameCornerGame
|
add_special DummyNonfunctionalGameCornerGame
|
||||||
add_special Special_ClearBGPalettesBufferScreen
|
add_special ClearBGPalettesBufferScreen
|
||||||
add_special Special_FadeOutPalettes
|
add_special FadeOutPalettes
|
||||||
add_special Special_BattleTowerFade
|
add_special BattleTowerFade
|
||||||
add_special Special_FadeBlackQuickly
|
add_special FadeBlackQuickly
|
||||||
add_special Special_FadeInPalettes
|
add_special FadeInPalettes
|
||||||
add_special Special_FadeInQuickly
|
add_special FadeInQuickly
|
||||||
add_special ReloadSpritesNoPalettes ; bank 0
|
add_special ReloadSpritesNoPalettes ; bank 0
|
||||||
add_special ClearBGPalettes ; bank 0
|
add_special ClearBGPalettes ; bank 0
|
||||||
add_special UpdateTimePals ; bank 0
|
add_special UpdateTimePals ; bank 0
|
||||||
add_special ClearTileMap ; bank 0
|
add_special ClearTileMap ; bank 0
|
||||||
add_special UpdateSprites ; bank 0
|
add_special UpdateSprites ; bank 0
|
||||||
add_special ReplaceKrisSprite ; bank 0
|
add_special ReplaceKrisSprite ; bank 0
|
||||||
add_special Special_GameCornerPrizeMonCheckDex
|
add_special GameCornerPrizeMonCheckDex
|
||||||
add_special UnusedSpecial_SeenMon
|
add_special UnusedSpecial_SeenMon
|
||||||
add_special WaitSFX ; bank 0
|
add_special WaitSFX ; bank 0
|
||||||
add_special PlayMapMusic ; bank 0
|
add_special PlayMapMusic ; bank 0
|
||||||
add_special RestartMapMusic ; bank 0
|
add_special RestartMapMusic ; bank 0
|
||||||
add_special Special_HealMachineAnim
|
add_special HealMachineAnim
|
||||||
add_special Special_SurfStartStep
|
add_special SurfStartStep
|
||||||
add_special Special_FindPartyMonGreaterThanThatLevel
|
add_special FindPartyMonGreaterThanThatLevel
|
||||||
add_special Special_FindPartyMonAtLeastThatHappy
|
add_special FindPartyMonAtLeastThatHappy
|
||||||
add_special Special_FindPartyMonThatSpecies
|
add_special FindPartyMonThatSpecies
|
||||||
add_special Special_FindPartyMonThatSpeciesYourTrainerID
|
add_special FindPartyMonThatSpeciesYourTrainerID
|
||||||
add_special UnusedSpecial_CheckUnusedTwoDayTimer
|
add_special UnusedSpecial_CheckUnusedTwoDayTimer
|
||||||
add_special Special_DayCareMon1
|
add_special DayCareMon1
|
||||||
add_special Special_DayCareMon2
|
add_special DayCareMon2
|
||||||
add_special Special_SelectRandomBugContestContestants
|
add_special SelectRandomBugContestContestants
|
||||||
add_special Special_ActivateFishingSwarm
|
add_special ActivateFishingSwarm
|
||||||
add_special Special_ToggleMaptileDecorations
|
add_special ToggleMaptileDecorations
|
||||||
add_special Special_ToggleDecorationsVisibility
|
add_special ToggleDecorationsVisibility
|
||||||
add_special Special_GiveShuckle
|
add_special GiveShuckle
|
||||||
add_special Special_ReturnShuckle
|
add_special ReturnShuckle
|
||||||
add_special Special_BillsGrandfather
|
add_special BillsGrandfather
|
||||||
add_special Special_CheckPokerus
|
add_special CheckPokerus
|
||||||
add_special Special_DisplayCoinCaseBalance
|
add_special DisplayCoinCaseBalance
|
||||||
add_special Special_DisplayMoneyAndCoinBalance
|
add_special DisplayMoneyAndCoinBalance
|
||||||
add_special Special_PlaceMoneyTopRight
|
add_special PlaceMoneyTopRight
|
||||||
add_special Special_CheckForLuckyNumberWinners
|
add_special CheckForLuckyNumberWinners
|
||||||
add_special Special_CheckLuckyNumberShowFlag
|
add_special CheckLuckyNumberShowFlag
|
||||||
add_special Special_ResetLuckyNumberShowFlag
|
add_special ResetLuckyNumberShowFlag
|
||||||
add_special Special_PrintTodaysLuckyNumber
|
add_special PrintTodaysLuckyNumber
|
||||||
add_special Special_SelectApricornForKurt
|
add_special SelectApricornForKurt
|
||||||
add_special Special_NameRater
|
add_special NameRater
|
||||||
add_special Special_DisplayLinkRecord
|
add_special DisplayLinkRecord
|
||||||
add_special Special_GetFirstPokemonHappiness
|
add_special GetFirstPokemonHappiness
|
||||||
add_special Special_CheckFirstMonIsEgg
|
add_special CheckFirstMonIsEgg
|
||||||
add_special Special_RandomUnseenWildMon
|
add_special RandomUnseenWildMon
|
||||||
add_special Special_RandomPhoneWildMon
|
add_special RandomPhoneWildMon
|
||||||
add_special Special_RandomPhoneMon
|
add_special RandomPhoneMon
|
||||||
add_special Special_LoadUsedSpritesGFX
|
add_special LoadUsedSpritesGFX
|
||||||
add_special Special_PlaySlowCry
|
add_special PlaySlowCry
|
||||||
add_special Special_SnorlaxAwake
|
add_special SnorlaxAwake
|
||||||
add_special Special_YoungerHaircutBrother
|
add_special YoungerHaircutBrother
|
||||||
add_special Special_OlderHaircutBrother
|
add_special OlderHaircutBrother
|
||||||
add_special Special_DaisysGrooming
|
add_special DaisysGrooming
|
||||||
add_special Special_PlayCurMonCry
|
add_special PlayCurMonCry
|
||||||
add_special Special_ProfOaksPCBoot
|
add_special ProfOaksPCBoot
|
||||||
add_special Special_GameboyCheck
|
add_special GameboyCheck
|
||||||
add_special Special_TrainerHouse
|
add_special TrainerHouse
|
||||||
add_special Special_PhotoStudio
|
add_special PhotoStudio
|
||||||
add_special Special_InitRoamMons
|
add_special InitRoamMons
|
||||||
add_special Special_FadeOutMusic
|
add_special FadeOutMusic
|
||||||
add_special Special_Diploma
|
add_special Diploma
|
||||||
add_special Special_PrintDiploma
|
add_special PrintDiploma
|
||||||
|
|
||||||
; Crystal
|
; Crystal
|
||||||
add_special Special_Function11ac3e
|
add_special Function11ac3e
|
||||||
add_special Special_Function11b444
|
add_special Function11b444
|
||||||
add_special Special_Function11b5e8
|
add_special Function11b5e8
|
||||||
add_special Special_Function11b7e5
|
add_special Function11b7e5
|
||||||
add_special Special_Function11b879
|
add_special Function11b879
|
||||||
add_special Special_Function11b920
|
add_special Function11b920
|
||||||
add_special Special_Function11b93b
|
add_special Function11b93b
|
||||||
add_special Special_BattleTowerRoomMenu
|
add_special BattleTowerRoomMenu
|
||||||
add_special Special_Function1700ba
|
add_special Function1700ba
|
||||||
add_special Special_Function170114
|
add_special Function170114
|
||||||
add_special Special_BattleTowerBattle
|
add_special BattleTowerBattle
|
||||||
add_special UnusedSpecial_Function1704e1
|
add_special UnusedSpecial_Function1704e1
|
||||||
add_special DummySpecial_17021d
|
add_special DummySpecial_17021d
|
||||||
add_special Special_LoadOpponentTrainerAndPokemonWithOTSprite
|
add_special LoadOpponentTrainerAndPokemonWithOTSprite
|
||||||
add_special Special_Function11ba38
|
add_special Function11ba38
|
||||||
add_special Special_CheckForBattleTowerRules
|
add_special CheckForBattleTowerRules
|
||||||
add_special Special_GiveOddEgg
|
add_special GiveOddEgg
|
||||||
add_special Reset ; bank 0
|
add_special Reset ; bank 0
|
||||||
add_special Special_Function1011f1
|
add_special Function1011f1
|
||||||
add_special Special_Function101220
|
add_special Function101220
|
||||||
add_special Special_Function101225
|
add_special Function101225
|
||||||
add_special Special_Function101231
|
add_special Function101231
|
||||||
add_special Special_MoveTutor
|
add_special MoveTutor
|
||||||
add_special Special_OmanyteChamber
|
add_special OmanyteChamber
|
||||||
add_special Special_Function11c1ab
|
add_special Function11c1ab
|
||||||
add_special Special_BattleTowerAction
|
add_special BattleTowerAction
|
||||||
add_special Special_DisplayUnownWords
|
add_special DisplayUnownWords
|
||||||
add_special Special_Menu_ChallengeExplanationCancel
|
add_special Menu_ChallengeExplanationCancel
|
||||||
add_special Special_Function17d2b6
|
add_special Function17d2b6
|
||||||
add_special Special_Function17d2ce
|
add_special Function17d2ce
|
||||||
add_special Special_BattleTowerMobileError
|
add_special BattleTowerMobileError
|
||||||
add_special Special_AskMobileOrCable
|
add_special AskMobileOrCable
|
||||||
add_special Special_HoOhChamber
|
add_special HoOhChamber
|
||||||
add_special Special_Function102142
|
add_special Function102142
|
||||||
add_special Special_CelebiShrineEvent
|
add_special CelebiShrineEvent
|
||||||
add_special Special_CheckCaughtCelebi
|
add_special CheckCaughtCelebi
|
||||||
add_special Special_PokeSeer
|
add_special PokeSeer
|
||||||
add_special Special_BuenasPassword
|
add_special BuenasPassword
|
||||||
add_special Special_BuenaPrize
|
add_special BuenaPrize
|
||||||
add_special Special_Dratini
|
add_special Dratini
|
||||||
add_special Special_SampleKenjiBreakCountdown
|
add_special SampleKenjiBreakCountdown
|
||||||
add_special Special_BeastsCheck
|
add_special BeastsCheck
|
||||||
add_special Special_MonCheck
|
add_special MonCheck
|
||||||
add_special Special_SetPlayerPalette
|
add_special SetPlayerPalette
|
||||||
add_special DummySpecial_170bd2
|
add_special DummySpecial_170bd2
|
||||||
add_special Special_Mobile_SelectThreeMons
|
add_special Mobile_SelectThreeMons
|
||||||
add_special Special_Function1037eb
|
add_special Function1037eb
|
||||||
add_special Special_Function10383c
|
add_special Function10383c
|
||||||
add_special Special_StubbedTrainerRankings_Healings
|
add_special StubbedTrainerRankings_Healings
|
||||||
add_special Special_RefreshSprites
|
add_special RefreshSprites
|
||||||
add_special Special_Function1037c2
|
add_special Function1037c2
|
||||||
add_special Special_Mobile_DummyReturnFalse
|
add_special Mobile_DummyReturnFalse
|
||||||
add_special Special_Function103780
|
add_special Function103780
|
||||||
add_special Special_Function10387b
|
add_special Function10387b
|
||||||
add_special Special_AskRememberPassword
|
add_special AskRememberPassword
|
||||||
add_special Special_LoadMapPalettes
|
add_special LoadMapPalettes
|
||||||
add_special UnusedSpecial_FindItemInPCOrBag
|
add_special UnusedSpecial_FindItemInPCOrBag
|
||||||
add_special Special_InitialSetDSTFlag
|
add_special InitialSetDSTFlag
|
||||||
add_special Special_InitialClearDSTFlag
|
add_special InitialClearDSTFlag
|
||||||
add_special DummySpecial_c224
|
add_special DummySpecial_c224
|
||||||
; c224
|
; c224
|
||||||
|
@ -51,7 +51,7 @@ These are known bugs and glitches in the original Pokémon Crystal game: code th
|
|||||||
- [`LoadSpriteGFX` does not limit the capacity of `UsedSprites`](#loadspritegfx-does-not-limit-the-capacity-of-usedsprites)
|
- [`LoadSpriteGFX` does not limit the capacity of `UsedSprites`](#loadspritegfx-does-not-limit-the-capacity-of-usedsprites)
|
||||||
- [`ChooseWildEncounter` doesn't really validate the wild Pokémon species](#choosewildencounter-doesnt-really-validate-the-wild-pokémon-species)
|
- [`ChooseWildEncounter` doesn't really validate the wild Pokémon species](#choosewildencounter-doesnt-really-validate-the-wild-pokémon-species)
|
||||||
- [`TryObjectEvent` arbitrary code execution](#tryobjectevent-arbitrary-code-execution)
|
- [`TryObjectEvent` arbitrary code execution](#tryobjectevent-arbitrary-code-execution)
|
||||||
- [`Special_CheckBugContestContestantFlag` can read beyond its data table](#special_checkbugcontestcontestantflag-can-read-beyond-its-data-table)
|
- [`CheckBugContestContestantFlag` can read beyond its data table](#checkbugcontestcontestantflag-can-read-beyond-its-data-table)
|
||||||
- [`ClearWRAM` only clears WRAM bank 1](#clearwram-only-clears-wram-bank-1)
|
- [`ClearWRAM` only clears WRAM bank 1](#clearwram-only-clears-wram-bank-1)
|
||||||
|
|
||||||
|
|
||||||
@ -1417,12 +1417,12 @@ In [engine/events.asm](/engine/events.asm):
|
|||||||
**Fix:** Uncomment `pop bc`.
|
**Fix:** Uncomment `pop bc`.
|
||||||
|
|
||||||
|
|
||||||
## `Special_CheckBugContestContestantFlag` can read beyond its data table
|
## `CheckBugContestContestantFlag` can read beyond its data table
|
||||||
|
|
||||||
In [engine/events/bug_contest/contest_2.asm](/engine/events/bug_contest/contest_2.asm):
|
In [engine/events/bug_contest/contest_2.asm](/engine/events/bug_contest/contest_2.asm):
|
||||||
|
|
||||||
```asm
|
```asm
|
||||||
Special_CheckBugContestContestantFlag: ; 139ed
|
CheckBugContestContestantFlag: ; 139ed
|
||||||
; Checks the flag of the Bug Catching Contestant whose index is loaded in a.
|
; Checks the flag of the Bug Catching Contestant whose index is loaded in a.
|
||||||
|
|
||||||
; Bug: If a >= 10 when this is called, it will read beyond the table.
|
; Bug: If a >= 10 when this is called, it will read beyond the table.
|
||||||
|
@ -887,7 +887,7 @@ Hatch_ShellFragmentLoop: ; 17418 (5:7418)
|
|||||||
jr nz, .loop
|
jr nz, .loop
|
||||||
ret
|
ret
|
||||||
|
|
||||||
Special_DayCareMon1: ; 17421
|
DayCareMon1: ; 17421
|
||||||
ld hl, DayCareMon1Text
|
ld hl, DayCareMon1Text
|
||||||
call PrintText
|
call PrintText
|
||||||
ld a, [wBreedMon1Species]
|
ld a, [wBreedMon1Species]
|
||||||
@ -900,7 +900,7 @@ Special_DayCareMon1: ; 17421
|
|||||||
call DayCareMonCompatibilityText
|
call DayCareMonCompatibilityText
|
||||||
jp PrintText
|
jp PrintText
|
||||||
|
|
||||||
Special_DayCareMon2: ; 17440
|
DayCareMon2: ; 17440
|
||||||
ld hl, DayCareMon2Text
|
ld hl, DayCareMon2Text
|
||||||
call PrintText
|
call PrintText
|
||||||
ld a, [wBreedMon2Species]
|
ld a, [wBreedMon2Species]
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
Special_CheckPartyFullAfterContest: ; 4d9e5
|
CheckPartyFullAfterContest: ; 4d9e5
|
||||||
ld a, [wContestMon]
|
ld a, [wContestMon]
|
||||||
and a
|
and a
|
||||||
jp z, .DidntCatchAnything
|
jp z, .DidntCatchAnything
|
||||||
|
@ -1102,7 +1102,7 @@ DecorationDesc_TownMapPoster: ; 0x26f91
|
|||||||
opentext
|
opentext
|
||||||
writetext .TownMapText
|
writetext .TownMapText
|
||||||
waitbutton
|
waitbutton
|
||||||
special Special_OverworldTownMap
|
special OverworldTownMap
|
||||||
closetext
|
closetext
|
||||||
end
|
end
|
||||||
; 0x26f9b
|
; 0x26f9b
|
||||||
@ -1194,7 +1194,7 @@ DecorationDesc_GiantOrnament: ; 26fdd
|
|||||||
db "@"
|
db "@"
|
||||||
; 0x26feb
|
; 0x26feb
|
||||||
|
|
||||||
Special_ToggleMaptileDecorations: ; 26feb
|
ToggleMaptileDecorations: ; 26feb
|
||||||
lb de, 0, 4
|
lb de, 0, 4
|
||||||
ld a, [Bed]
|
ld a, [Bed]
|
||||||
call SetDecorationTile
|
call SetDecorationTile
|
||||||
@ -1248,7 +1248,7 @@ SetDecorationTile: ; 27037
|
|||||||
ret
|
ret
|
||||||
; 27043
|
; 27043
|
||||||
|
|
||||||
Special_ToggleDecorationsVisibility: ; 27043
|
ToggleDecorationsVisibility: ; 27043
|
||||||
ld de, EVENT_PLAYERS_HOUSE_2F_CONSOLE
|
ld de, EVENT_PLAYERS_HOUSE_2F_CONSOLE
|
||||||
ld hl, VariableSprites + SPRITE_CONSOLE - SPRITE_VARS
|
ld hl, VariableSprites + SPRITE_CONSOLE - SPRITE_VARS
|
||||||
ld a, [Console]
|
ld a, [Console]
|
||||||
|
@ -1,11 +1,11 @@
|
|||||||
Special_BattleTowerRoomMenu: ; 1700b0
|
BattleTowerRoomMenu: ; 1700b0
|
||||||
; special
|
; special
|
||||||
call InitBattleTowerChallengeRAM
|
call InitBattleTowerChallengeRAM
|
||||||
farcall _BattleTowerRoomMenu
|
farcall _BattleTowerRoomMenu
|
||||||
ret
|
ret
|
||||||
; 1700ba
|
; 1700ba
|
||||||
|
|
||||||
Special_Function1700ba: ; 1700ba
|
Function1700ba: ; 1700ba
|
||||||
call InitBattleTowerChallengeRAM
|
call InitBattleTowerChallengeRAM
|
||||||
farcall Function11811a
|
farcall Function11811a
|
||||||
ret
|
ret
|
||||||
@ -53,7 +53,7 @@ Function1700c4: ; 1700c4
|
|||||||
ret
|
ret
|
||||||
; 170114
|
; 170114
|
||||||
|
|
||||||
Special_Function170114: ; 170114
|
Function170114: ; 170114
|
||||||
call InitBattleTowerChallengeRAM
|
call InitBattleTowerChallengeRAM
|
||||||
call .Function170121
|
call .Function170121
|
||||||
farcall Function11805f
|
farcall Function11805f
|
||||||
@ -182,7 +182,7 @@ Function170139: ; 170139
|
|||||||
ret
|
ret
|
||||||
; 170215
|
; 170215
|
||||||
|
|
||||||
Special_BattleTowerBattle: ; 170215
|
BattleTowerBattle: ; 170215
|
||||||
xor a
|
xor a
|
||||||
ld [wBattleTowerBattleEnded], a
|
ld [wBattleTowerBattleEnded], a
|
||||||
call _BattleTowerBattle
|
call _BattleTowerBattle
|
||||||
@ -243,7 +243,7 @@ RunBattleTowerTrainer: ; 17024d
|
|||||||
|
|
||||||
xor a
|
xor a
|
||||||
ld [wLinkMode], a
|
ld [wLinkMode], a
|
||||||
farcall Special_StubbedTrainerRankings_Healings
|
farcall StubbedTrainerRankings_Healings
|
||||||
farcall HealParty
|
farcall HealParty
|
||||||
call ReadBTTrainerParty
|
call ReadBTTrainerParty
|
||||||
call Clears5_a89a
|
call Clears5_a89a
|
||||||
@ -900,7 +900,7 @@ UnusedSpecial_Function1704e1: ; 1704e1
|
|||||||
db "れきだいりーダーいちらん@"
|
db "れきだいりーダーいちらん@"
|
||||||
; 170687
|
; 170687
|
||||||
|
|
||||||
Special_BattleTowerAction: ; 170687
|
BattleTowerAction: ; 170687
|
||||||
ld a, [ScriptVar]
|
ld a, [ScriptVar]
|
||||||
ld e, a
|
ld e, a
|
||||||
ld d, 0
|
ld d, 0
|
||||||
@ -1603,7 +1603,7 @@ BattleTowerAction_UbersCheck: ; 170b16 (5c:4b16) BattleTowerAction $19
|
|||||||
ld [ScriptVar], a
|
ld [ScriptVar], a
|
||||||
ret
|
ret
|
||||||
|
|
||||||
Special_LoadOpponentTrainerAndPokemonWithOTSprite: ; 0x170b44
|
LoadOpponentTrainerAndPokemonWithOTSprite: ; 0x170b44
|
||||||
farcall Function_LoadOpponentTrainerAndPokemons
|
farcall Function_LoadOpponentTrainerAndPokemons
|
||||||
ld a, [rSVBK]
|
ld a, [rSVBK]
|
||||||
push af
|
push af
|
||||||
@ -1654,7 +1654,7 @@ DummySpecial_170bd2: ; 170bd2
|
|||||||
ret
|
ret
|
||||||
; 170bd3
|
; 170bd3
|
||||||
|
|
||||||
Special_CheckForBattleTowerRules: ; 170bd3
|
CheckForBattleTowerRules: ; 170bd3
|
||||||
farcall _CheckForBattleTowerRules
|
farcall _CheckForBattleTowerRules
|
||||||
jr c, .asm_170bde
|
jr c, .asm_170bde
|
||||||
xor a ; FALSE
|
xor a ; FALSE
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
Special_BuenasPassword: ; 8af6b
|
BuenasPassword: ; 8af6b
|
||||||
xor a
|
xor a
|
||||||
ld [wWhichIndexSet], a
|
ld [wWhichIndexSet], a
|
||||||
ld hl, .MenuHeader
|
ld hl, .MenuHeader
|
||||||
@ -67,7 +67,7 @@ endr
|
|||||||
ret
|
ret
|
||||||
; 8afd4
|
; 8afd4
|
||||||
|
|
||||||
Special_BuenaPrize: ; 8afd4
|
BuenaPrize: ; 8afd4
|
||||||
xor a
|
xor a
|
||||||
ld [wMenuScrollPosition], a
|
ld [wMenuScrollPosition], a
|
||||||
ld a, $1
|
ld a, $1
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
Special_AskRememberPassword: ; 4ae12
|
AskRememberPassword: ; 4ae12
|
||||||
call .DoMenu
|
call .DoMenu
|
||||||
ld a, $0
|
ld a, $0
|
||||||
jr c, .okay
|
jr c, .okay
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
Special_GiveParkBalls: ; 135db
|
GiveParkBalls: ; 135db
|
||||||
xor a
|
xor a
|
||||||
ld [wContestMon], a
|
ld [wContestMon], a
|
||||||
ld a, 20
|
ld a, 20
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
Special_SelectRandomBugContestContestants: ; 139a8
|
SelectRandomBugContestContestants: ; 139a8
|
||||||
; Select five random people to participate in the current contest.
|
; Select five random people to participate in the current contest.
|
||||||
|
|
||||||
; First we have to make sure that any old data is cleared away.
|
; First we have to make sure that any old data is cleared away.
|
||||||
@ -56,7 +56,7 @@ Special_SelectRandomBugContestContestants: ; 139a8
|
|||||||
ret
|
ret
|
||||||
; 139ed
|
; 139ed
|
||||||
|
|
||||||
Special_CheckBugContestContestantFlag: ; 139ed
|
CheckBugContestContestantFlag: ; 139ed
|
||||||
; Checks the flag of the Bug Catching Contestant whose index is loaded in a.
|
; Checks the flag of the Bug Catching Contestant whose index is loaded in a.
|
||||||
|
|
||||||
; Bug: If a >= NUM_BUG_CONTESTANTS when this is called, it will read beyond the table.
|
; Bug: If a >= NUM_BUG_CONTESTANTS when this is called, it will read beyond the table.
|
||||||
@ -76,7 +76,7 @@ Special_CheckBugContestContestantFlag: ; 139ed
|
|||||||
|
|
||||||
INCLUDE "data/bug_contest_flags.asm"
|
INCLUDE "data/bug_contest_flags.asm"
|
||||||
|
|
||||||
Special_ContestDropOffMons: ; 13a12
|
ContestDropOffMons: ; 13a12
|
||||||
ld hl, PartyMon1HP
|
ld hl, PartyMon1HP
|
||||||
ld a, [hli]
|
ld a, [hli]
|
||||||
or [hl]
|
or [hl]
|
||||||
@ -101,7 +101,7 @@ Special_ContestDropOffMons: ; 13a12
|
|||||||
ret
|
ret
|
||||||
; 13a31
|
; 13a31
|
||||||
|
|
||||||
Special_ContestReturnMons: ; 13a31
|
ContestReturnMons: ; 13a31
|
||||||
; Restore the species of the second mon.
|
; Restore the species of the second mon.
|
||||||
ld hl, PartySpecies + 1
|
ld hl, PartySpecies + 1
|
||||||
ld a, [wBugContestSecondPartySpecies]
|
ld a, [wBugContestSecondPartySpecies]
|
||||||
|
@ -244,7 +244,7 @@ ComputeAIContestantScores: ; 138b0
|
|||||||
ld e, 0
|
ld e, 0
|
||||||
.loop
|
.loop
|
||||||
push de
|
push de
|
||||||
call Special_CheckBugContestContestantFlag
|
call CheckBugContestContestantFlag
|
||||||
pop de
|
pop de
|
||||||
jr nz, .done
|
jr nz, .done
|
||||||
ld a, e
|
ld a, e
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
SPECIALCELEBIEVENT_CELEBI EQU $84
|
SPECIALCELEBIEVENT_CELEBI EQU $84
|
||||||
|
|
||||||
Special_CelebiShrineEvent: ; 4989a
|
CelebiShrineEvent: ; 4989a
|
||||||
call DelayFrame
|
call DelayFrame
|
||||||
ld a, [VramState]
|
ld a, [VramState]
|
||||||
push af
|
push af
|
||||||
@ -362,7 +362,7 @@ CelebiEvent_SetBattleType: ; 49bf3
|
|||||||
|
|
||||||
; 49bf9
|
; 49bf9
|
||||||
|
|
||||||
Special_CheckCaughtCelebi: ; 49bf9
|
CheckCaughtCelebi: ; 49bf9
|
||||||
ld a, [wBattleResult]
|
ld a, [wBattleResult]
|
||||||
bit 6, a
|
bit 6, a
|
||||||
jr z, .false
|
jr z, .false
|
||||||
|
@ -21,7 +21,7 @@
|
|||||||
const DAYCARETEXT_OH_FINE
|
const DAYCARETEXT_OH_FINE
|
||||||
const DAYCARETEXT_COME_AGAIN
|
const DAYCARETEXT_COME_AGAIN
|
||||||
|
|
||||||
Special_DayCareMan: ; 166d6
|
DayCareMan: ; 166d6
|
||||||
ld hl, wDayCareMan
|
ld hl, wDayCareMan
|
||||||
bit DAYCAREMAN_HAS_MON_F, [hl]
|
bit DAYCAREMAN_HAS_MON_F, [hl]
|
||||||
jr nz, .AskWithdrawMon
|
jr nz, .AskWithdrawMon
|
||||||
@ -60,7 +60,7 @@ Special_DayCareMan: ; 166d6
|
|||||||
ret
|
ret
|
||||||
; 1672a
|
; 1672a
|
||||||
|
|
||||||
Special_DayCareLady: ; 1672a
|
DayCareLady: ; 1672a
|
||||||
ld hl, wDayCareLady
|
ld hl, wDayCareLady
|
||||||
bit DAYCARELADY_HAS_MON_F, [hl]
|
bit DAYCARELADY_HAS_MON_F, [hl]
|
||||||
jr nz, .AskWithdrawMon
|
jr nz, .AskWithdrawMon
|
||||||
@ -427,7 +427,7 @@ PrintDayCareText: ; 1689b
|
|||||||
db "@"
|
db "@"
|
||||||
; 0x16936
|
; 0x16936
|
||||||
|
|
||||||
Special_DayCareManOutside: ; 16936
|
DayCareManOutside: ; 16936
|
||||||
ld hl, wDayCareMan
|
ld hl, wDayCareMan
|
||||||
bit DAYCAREMAN_HAS_EGG_F, [hl]
|
bit DAYCAREMAN_HAS_EGG_F, [hl]
|
||||||
jr nz, .AskGiveEgg
|
jr nz, .AskGiveEgg
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
Special_Dratini: ; 0x8b170
|
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.
|
||||||
|
@ -7,7 +7,7 @@ PlayWhirlpoolSound: ; 8c7d4
|
|||||||
; 8c7e1
|
; 8c7e1
|
||||||
|
|
||||||
BlindingFlash: ; 8c7e1
|
BlindingFlash: ; 8c7e1
|
||||||
farcall Special_FadeOutPalettes
|
farcall FadeOutPalettes
|
||||||
ld hl, wStatusFlags
|
ld hl, wStatusFlags
|
||||||
set STATUSFLAGS_FLASH_F, [hl]
|
set STATUSFLAGS_FLASH_F, [hl]
|
||||||
farcall ReplaceTimeOfDayPals
|
farcall ReplaceTimeOfDayPals
|
||||||
@ -15,7 +15,7 @@ BlindingFlash: ; 8c7e1
|
|||||||
ld b, SCGB_MAPPALS
|
ld b, SCGB_MAPPALS
|
||||||
call GetSGBLayout
|
call GetSGBLayout
|
||||||
farcall LoadOW_BGPal7
|
farcall LoadOW_BGPal7
|
||||||
farcall Special_FadeInPalettes
|
farcall FadeInPalettes
|
||||||
ret
|
ret
|
||||||
; 8c80a
|
; 8c80a
|
||||||
|
|
||||||
|
@ -42,7 +42,7 @@ RedCredits:: ; 86455
|
|||||||
ld [MusicFadeID + 1], a
|
ld [MusicFadeID + 1], a
|
||||||
ld a, 10
|
ld a, 10
|
||||||
ld [MusicFade], a
|
ld [MusicFade], a
|
||||||
farcall Special_FadeOutPalettes
|
farcall FadeOutPalettes
|
||||||
xor a
|
xor a
|
||||||
ld [VramState], a
|
ld [VramState], a
|
||||||
ld [hMapAnims], a
|
ld [hMapAnims], a
|
||||||
@ -65,7 +65,7 @@ HallOfFame_FadeOutMusic: ; 8648e
|
|||||||
ld [MusicFadeID + 1], a
|
ld [MusicFadeID + 1], a
|
||||||
ld a, 10
|
ld a, 10
|
||||||
ld [MusicFade], a
|
ld [MusicFade], a
|
||||||
farcall Special_FadeOutPalettes
|
farcall FadeOutPalettes
|
||||||
xor a
|
xor a
|
||||||
ld [VramState], a
|
ld [VramState], a
|
||||||
ld [hMapAnims], a
|
ld [hMapAnims], a
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
Special_GetFirstPokemonHappiness: ; 718d
|
GetFirstPokemonHappiness: ; 718d
|
||||||
ld hl, PartyMon1Happiness
|
ld hl, PartyMon1Happiness
|
||||||
ld bc, PARTYMON_STRUCT_LENGTH
|
ld bc, PARTYMON_STRUCT_LENGTH
|
||||||
ld de, PartySpecies
|
ld de, PartySpecies
|
||||||
@ -17,7 +17,7 @@ Special_GetFirstPokemonHappiness: ; 718d
|
|||||||
call GetPokemonName
|
call GetPokemonName
|
||||||
jp CopyPokemonName_Buffer1_Buffer3
|
jp CopyPokemonName_Buffer1_Buffer3
|
||||||
|
|
||||||
Special_CheckFirstMonIsEgg: ; 71ac
|
CheckFirstMonIsEgg: ; 71ac
|
||||||
ld a, [PartySpecies]
|
ld a, [PartySpecies]
|
||||||
ld [wd265], a
|
ld [wd265], a
|
||||||
cp EGG
|
cp EGG
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
; Special_HealMachineAnim.Jumptable indexes
|
; HealMachineAnim.Jumptable indexes
|
||||||
const_def
|
const_def
|
||||||
const HEALMACHINESTATE_LOADGFX
|
const HEALMACHINESTATE_LOADGFX
|
||||||
const HEALMACHINESTATE_PCLOADBALLS
|
const HEALMACHINESTATE_PCLOADBALLS
|
||||||
@ -7,7 +7,7 @@
|
|||||||
const HEALMACHINESTATE_HOFPLAYSFX
|
const HEALMACHINESTATE_HOFPLAYSFX
|
||||||
const HEALMACHINESTATE_FINISH
|
const HEALMACHINESTATE_FINISH
|
||||||
|
|
||||||
Special_HealMachineAnim: ; 12324
|
HealMachineAnim: ; 12324
|
||||||
; If you have no Pokemon, don't change the buffer. This can lead to some glitchy effects if you have no Pokemon.
|
; If you have no Pokemon, don't change the buffer. This can lead to some glitchy effects if you have no Pokemon.
|
||||||
ld a, [PartyCount]
|
ld a, [PartyCount]
|
||||||
and a
|
and a
|
||||||
|
@ -22,7 +22,7 @@ Kurt_PrintTextHowMany: ; 8800c
|
|||||||
db "@"
|
db "@"
|
||||||
; 0x88018
|
; 0x88018
|
||||||
|
|
||||||
Special_SelectApricornForKurt: ; 88018
|
SelectApricornForKurt: ; 88018
|
||||||
call LoadStandardMenuHeader
|
call LoadStandardMenuHeader
|
||||||
ld c, $1
|
ld c, $1
|
||||||
xor a
|
xor a
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
Special_CheckForLuckyNumberWinners: ; 4d87a
|
CheckForLuckyNumberWinners: ; 4d87a
|
||||||
xor a
|
xor a
|
||||||
ld [ScriptVar], a
|
ld [ScriptVar], a
|
||||||
ld [wFoundMatchingIDInParty], a
|
ld [wFoundMatchingIDInParty], a
|
||||||
@ -216,7 +216,7 @@ Special_CheckForLuckyNumberWinners: ; 4d87a
|
|||||||
text_jump UnknownText_0x1c12ae
|
text_jump UnknownText_0x1c12ae
|
||||||
db "@"
|
db "@"
|
||||||
|
|
||||||
Special_PrintTodaysLuckyNumber: ; 4d9d3
|
PrintTodaysLuckyNumber: ; 4d9d3
|
||||||
ld hl, StringBuffer3
|
ld hl, StringBuffer3
|
||||||
ld de, wLuckyIDNumber
|
ld de, wLuckyIDNumber
|
||||||
lb bc, PRINTNUM_LEADINGZEROS | 2, 5
|
lb bc, PRINTNUM_LEADINGZEROS | 2, 5
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
Special_CheckMagikarpLength: ; fbb32
|
CheckMagikarpLength: ; fbb32
|
||||||
; Returns 3 if you select a Magikarp that beats the previous record.
|
; Returns 3 if you select a Magikarp that beats the previous record.
|
||||||
; Returns 2 if you select a Magikarp, but the current record is longer.
|
; Returns 2 if you select a Magikarp, but the current record is longer.
|
||||||
; Returns 1 if you press B in the Pokemon selection menu.
|
; Returns 1 if you press B in the Pokemon selection menu.
|
||||||
@ -331,7 +331,7 @@ CalcMagikarpLength: ; fbbfc
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
Special_MagikarpHouseSign: ; fbcd2
|
MagikarpHouseSign: ; fbcd2
|
||||||
ld a, [wBestMagikarpLengthFeet]
|
ld a, [wBestMagikarpLengthFeet]
|
||||||
ld [wMagikarpLength], a
|
ld [wMagikarpLength], a
|
||||||
ld a, [wBestMagikarpLengthInches]
|
ld a, [wBestMagikarpLengthInches]
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
Special_MagnetTrain: ; 8cc04
|
MagnetTrain: ; 8cc04
|
||||||
ld a, [ScriptVar]
|
ld a, [ScriptVar]
|
||||||
and a
|
and a
|
||||||
jr nz, .ToGoldenrod
|
jr nz, .ToGoldenrod
|
||||||
|
@ -2,7 +2,7 @@ Script_AbortBugContest: ; 0x122c1
|
|||||||
checkflag ENGINE_BUG_CONTEST_TIMER
|
checkflag ENGINE_BUG_CONTEST_TIMER
|
||||||
iffalse .finish
|
iffalse .finish
|
||||||
setflag ENGINE_DAILY_BUG_CONTEST
|
setflag ENGINE_DAILY_BUG_CONTEST
|
||||||
special Special_ContestReturnMons
|
special ContestReturnMons
|
||||||
.finish
|
.finish
|
||||||
end
|
end
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
Special_BankOfMom: ; 16218
|
BankOfMom: ; 16218
|
||||||
ld a, [hInMenu]
|
ld a, [hInMenu]
|
||||||
push af
|
push af
|
||||||
ld a, $1
|
ld a, $1
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
Special_MoveDeletion:
|
MoveDeletion:
|
||||||
ld hl, .IntroText
|
ld hl, .IntroText
|
||||||
call PrintText
|
call PrintText
|
||||||
call YesNoBox
|
call YesNoBox
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
Special_MoveTutor: ; 4925b
|
MoveTutor: ; 4925b
|
||||||
call FadeToMenu
|
call FadeToMenu
|
||||||
call ClearBGPalettes
|
call ClearBGPalettes
|
||||||
call ClearScreen
|
call ClearScreen
|
||||||
|
@ -422,7 +422,7 @@ UsedSurfScript: ; c986
|
|||||||
special ReplaceKrisSprite
|
special ReplaceKrisSprite
|
||||||
special PlayMapMusic
|
special PlayMapMusic
|
||||||
; step into the water
|
; step into the water
|
||||||
special Special_SurfStartStep ; (slow_step_x, step_end)
|
special SurfStartStep ; (slow_step_x, step_end)
|
||||||
applymovement PLAYER, MovementBuffer ; PLAYER, MovementBuffer
|
applymovement PLAYER, MovementBuffer ; PLAYER, MovementBuffer
|
||||||
end
|
end
|
||||||
|
|
||||||
@ -623,7 +623,7 @@ FlyFunction: ; ca3b
|
|||||||
special UpdateTimePals
|
special UpdateTimePals
|
||||||
callasm FlyFromAnim
|
callasm FlyFromAnim
|
||||||
farscall Script_AbortBugContest
|
farscall Script_AbortBugContest
|
||||||
special Special_WarpToSpawnPoint
|
special WarpToSpawnPoint
|
||||||
callasm DelayLoadingNewSprites
|
callasm DelayLoadingNewSprites
|
||||||
writecode VAR_MOVEMENT, PLAYER_NORMAL
|
writecode VAR_MOVEMENT, PLAYER_NORMAL
|
||||||
newloadmap MAPSETUP_FLY
|
newloadmap MAPSETUP_FLY
|
||||||
@ -871,7 +871,7 @@ dig_incave
|
|||||||
playsound SFX_WARP_TO
|
playsound SFX_WARP_TO
|
||||||
applymovement PLAYER, .DigOut
|
applymovement PLAYER, .DigOut
|
||||||
farscall Script_AbortBugContest
|
farscall Script_AbortBugContest
|
||||||
special Special_WarpToSpawnPoint
|
special WarpToSpawnPoint
|
||||||
writecode VAR_MOVEMENT, PLAYER_NORMAL
|
writecode VAR_MOVEMENT, PLAYER_NORMAL
|
||||||
newloadmap MAPSETUP_DOOR
|
newloadmap MAPSETUP_DOOR
|
||||||
playsound SFX_WARP_FROM
|
playsound SFX_WARP_FROM
|
||||||
@ -958,7 +958,7 @@ TeleportFunction: ; cc61
|
|||||||
playsound SFX_WARP_TO
|
playsound SFX_WARP_TO
|
||||||
applymovement PLAYER, .TeleportFrom
|
applymovement PLAYER, .TeleportFrom
|
||||||
farscall Script_AbortBugContest
|
farscall Script_AbortBugContest
|
||||||
special Special_WarpToSpawnPoint
|
special WarpToSpawnPoint
|
||||||
writecode VAR_MOVEMENT, PLAYER_NORMAL
|
writecode VAR_MOVEMENT, PLAYER_NORMAL
|
||||||
newloadmap MAPSETUP_TELEPORT
|
newloadmap MAPSETUP_TELEPORT
|
||||||
playsound SFX_WARP_FROM
|
playsound SFX_WARP_FROM
|
||||||
|
@ -15,7 +15,7 @@
|
|||||||
const SEERACTION_CANT_TELL_2
|
const SEERACTION_CANT_TELL_2
|
||||||
const SEERACTION_LEVEL_ONLY
|
const SEERACTION_LEVEL_ONLY
|
||||||
|
|
||||||
Special_PokeSeer: ; 4f0bc
|
PokeSeer: ; 4f0bc
|
||||||
ld a, SEER_INTRO
|
ld a, SEER_INTRO
|
||||||
call PrintSeerText
|
call PrintSeerText
|
||||||
call JoyWaitAorB
|
call JoyWaitAorB
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
Special_PokemonCenterPC: ; 1559a
|
PokemonCenterPC: ; 1559a
|
||||||
call PC_CheckPartyForPokemon
|
call PC_CheckPartyForPokemon
|
||||||
ret c
|
ret c
|
||||||
call PC_PlayBootSound
|
call PC_PlayBootSound
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
Special_PhotoStudio: ; 16dc7
|
PhotoStudio: ; 16dc7
|
||||||
ld hl, .Text_AskWhichMon
|
ld hl, .Text_AskWhichMon
|
||||||
call PrintText
|
call PrintText
|
||||||
farcall SelectMonFromParty
|
farcall SelectMonFromParty
|
||||||
|
@ -3,7 +3,7 @@ ProfOaksPC: ; 0x265d3
|
|||||||
call MenuTextBox
|
call MenuTextBox
|
||||||
call YesNoBox
|
call YesNoBox
|
||||||
jr c, .shutdown
|
jr c, .shutdown
|
||||||
call Special_ProfOaksPCBoot ; player chose "yes"?
|
call ProfOaksPCBoot ; player chose "yes"?
|
||||||
.shutdown
|
.shutdown
|
||||||
ld hl, OakPCText4
|
ld hl, OakPCText4
|
||||||
call PrintText
|
call PrintText
|
||||||
@ -11,7 +11,7 @@ ProfOaksPC: ; 0x265d3
|
|||||||
call ExitMenu
|
call ExitMenu
|
||||||
ret
|
ret
|
||||||
|
|
||||||
Special_ProfOaksPCBoot ; 0x265ee
|
ProfOaksPCBoot ; 0x265ee
|
||||||
ld hl, OakPCText2
|
ld hl, OakPCText2
|
||||||
call PrintText
|
call PrintText
|
||||||
call Rate
|
call Rate
|
||||||
|
@ -52,12 +52,12 @@ SacredAshScript: ; 0x50821
|
|||||||
special HealParty
|
special HealParty
|
||||||
reloadmappart
|
reloadmappart
|
||||||
playsound SFX_WARP_TO
|
playsound SFX_WARP_TO
|
||||||
special Special_FadeOutPalettes
|
special FadeOutPalettes
|
||||||
special Special_FadeInPalettes
|
special FadeInPalettes
|
||||||
special Special_FadeOutPalettes
|
special FadeOutPalettes
|
||||||
special Special_FadeInPalettes
|
special FadeInPalettes
|
||||||
special Special_FadeOutPalettes
|
special FadeOutPalettes
|
||||||
special Special_FadeInPalettes
|
special FadeInPalettes
|
||||||
waitsfx
|
waitsfx
|
||||||
writetext UnknownText_0x50845
|
writetext UnknownText_0x50845
|
||||||
playsound SFX_CAUGHT_MON
|
playsound SFX_CAUGHT_MON
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
MANIA_OT_ID EQU 00518
|
MANIA_OT_ID EQU 00518
|
||||||
|
|
||||||
Special_GiveShuckle: ; 7305
|
GiveShuckle: ; 7305
|
||||||
|
|
||||||
; Adding to the party.
|
; Adding to the party.
|
||||||
xor a
|
xor a
|
||||||
@ -71,7 +71,7 @@ SpecialShuckleOT:
|
|||||||
SpecialShuckleNick:
|
SpecialShuckleNick:
|
||||||
db "SHUCKIE@"
|
db "SHUCKIE@"
|
||||||
|
|
||||||
Special_ReturnShuckle: ; 737e
|
ReturnShuckle: ; 737e
|
||||||
farcall SelectMonFromParty
|
farcall SelectMonFromParty
|
||||||
jr c, .refused
|
jr c, .refused
|
||||||
|
|
||||||
@ -141,7 +141,7 @@ Special_ReturnShuckle: ; 737e
|
|||||||
ld [ScriptVar], a
|
ld [ScriptVar], a
|
||||||
ret
|
ret
|
||||||
|
|
||||||
Special_BillsGrandfather: ; 73f7
|
BillsGrandfather: ; 73f7
|
||||||
farcall SelectMonFromParty
|
farcall SelectMonFromParty
|
||||||
jr c, .cancel
|
jr c, .cancel
|
||||||
ld a, [CurPartySpecies]
|
ld a, [CurPartySpecies]
|
||||||
@ -155,15 +155,15 @@ Special_BillsGrandfather: ; 73f7
|
|||||||
ld [ScriptVar], a
|
ld [ScriptVar], a
|
||||||
ret
|
ret
|
||||||
|
|
||||||
Special_YoungerHaircutBrother: ; 7413
|
YoungerHaircutBrother: ; 7413
|
||||||
ld hl, Data_YoungerHaircutBrother
|
ld hl, Data_YoungerHaircutBrother
|
||||||
jr HaircutOrGrooming
|
jr HaircutOrGrooming
|
||||||
|
|
||||||
Special_OlderHaircutBrother: ; 7418
|
OlderHaircutBrother: ; 7418
|
||||||
ld hl, Data_OlderHaircutBrother
|
ld hl, Data_OlderHaircutBrother
|
||||||
jr HaircutOrGrooming
|
jr HaircutOrGrooming
|
||||||
|
|
||||||
Special_DaisysGrooming: ; 741d
|
DaisysGrooming: ; 741d
|
||||||
ld hl, Data_DaisysGrooming
|
ld hl, Data_DaisysGrooming
|
||||||
; fallthrough
|
; fallthrough
|
||||||
|
|
||||||
|
@ -108,13 +108,13 @@ PokecenterNurseScript:
|
|||||||
|
|
||||||
farwritetext NurseTakePokemonText
|
farwritetext NurseTakePokemonText
|
||||||
pause 20
|
pause 20
|
||||||
special Special_StubbedTrainerRankings_Healings
|
special StubbedTrainerRankings_Healings
|
||||||
spriteface LAST_TALKED, LEFT
|
spriteface LAST_TALKED, LEFT
|
||||||
pause 10
|
pause 10
|
||||||
special HealParty
|
special HealParty
|
||||||
playmusic MUSIC_NONE
|
playmusic MUSIC_NONE
|
||||||
writebyte HEALMACHINE_POKECENTER
|
writebyte HEALMACHINE_POKECENTER
|
||||||
special Special_HealMachineAnim
|
special HealMachineAnim
|
||||||
pause 30
|
pause 30
|
||||||
special RestartMapMusic
|
special RestartMapMusic
|
||||||
spriteface LAST_TALKED, DOWN
|
spriteface LAST_TALKED, DOWN
|
||||||
@ -124,7 +124,7 @@ PokecenterNurseScript:
|
|||||||
iftrue .no
|
iftrue .no
|
||||||
checkflag ENGINE_CAUGHT_POKERUS
|
checkflag ENGINE_CAUGHT_POKERUS
|
||||||
iftrue .no
|
iftrue .no
|
||||||
special Special_CheckPokerus
|
special CheckPokerus
|
||||||
iftrue .pokerus
|
iftrue .pokerus
|
||||||
.no
|
.no
|
||||||
|
|
||||||
@ -184,7 +184,7 @@ TownMapScript:
|
|||||||
opentext
|
opentext
|
||||||
farwritetext TownMapText
|
farwritetext TownMapText
|
||||||
waitbutton
|
waitbutton
|
||||||
special Special_OverworldTownMap
|
special OverworldTownMap
|
||||||
closetext
|
closetext
|
||||||
end
|
end
|
||||||
|
|
||||||
@ -204,7 +204,7 @@ HomepageScript:
|
|||||||
Radio1Script:
|
Radio1Script:
|
||||||
opentext
|
opentext
|
||||||
writebyte MAPRADIO_POKEMON_CHANNEL
|
writebyte MAPRADIO_POKEMON_CHANNEL
|
||||||
special Special_MapRadio
|
special MapRadio
|
||||||
closetext
|
closetext
|
||||||
end
|
end
|
||||||
|
|
||||||
@ -212,7 +212,7 @@ Radio2Script:
|
|||||||
; Lucky Channel
|
; Lucky Channel
|
||||||
opentext
|
opentext
|
||||||
writebyte MAPRADIO_LUCKY_CHANNEL
|
writebyte MAPRADIO_LUCKY_CHANNEL
|
||||||
special Special_MapRadio
|
special MapRadio
|
||||||
closetext
|
closetext
|
||||||
end
|
end
|
||||||
|
|
||||||
@ -221,7 +221,7 @@ TrashCanScript: ; 0xbc1a5
|
|||||||
|
|
||||||
PCScript:
|
PCScript:
|
||||||
opentext
|
opentext
|
||||||
special Special_PokemonCenterPC
|
special PokemonCenterPC
|
||||||
closetext
|
closetext
|
||||||
end
|
end
|
||||||
|
|
||||||
@ -320,7 +320,7 @@ BugContestResultsScript:
|
|||||||
opentext
|
opentext
|
||||||
farwritetext ContestResults_ReadyToJudgeText
|
farwritetext ContestResults_ReadyToJudgeText
|
||||||
waitbutton
|
waitbutton
|
||||||
special Special_BugContestJudging
|
special BugContestJudging
|
||||||
vartomem MEM_BUFFER_0
|
vartomem MEM_BUFFER_0
|
||||||
if_equal 1, BugContestResults_FirstPlace
|
if_equal 1, BugContestResults_FirstPlace
|
||||||
if_equal 2, BugContestResults_SecondPlace
|
if_equal 2, BugContestResults_SecondPlace
|
||||||
@ -346,9 +346,9 @@ BugContestResults_FinishUp
|
|||||||
iffalse BugContestResults_DidNotLeaveMons
|
iffalse BugContestResults_DidNotLeaveMons
|
||||||
farwritetext ContestResults_ReturnPartyText
|
farwritetext ContestResults_ReturnPartyText
|
||||||
waitbutton
|
waitbutton
|
||||||
special Special_ContestReturnMons
|
special ContestReturnMons
|
||||||
BugContestResults_DidNotLeaveMons
|
BugContestResults_DidNotLeaveMons
|
||||||
special Special_CheckPartyFullAfterContest
|
special CheckPartyFullAfterContest
|
||||||
if_equal BUGCONTEST_CAUGHT_MON, BugContestResults_CleanUp
|
if_equal BUGCONTEST_CAUGHT_MON, BugContestResults_CleanUp
|
||||||
if_equal BUGCONTEST_NO_CATCH, BugContestResults_CleanUp
|
if_equal BUGCONTEST_NO_CATCH, BugContestResults_CleanUp
|
||||||
; BUGCONTEST_BOXED_MON
|
; BUGCONTEST_BOXED_MON
|
||||||
@ -622,7 +622,7 @@ InitializeEventsScript:
|
|||||||
return
|
return
|
||||||
|
|
||||||
AskNumber1MScript:
|
AskNumber1MScript:
|
||||||
special Special_RandomPhoneMon
|
special RandomPhoneMon
|
||||||
checkcode VAR_CALLERID
|
checkcode VAR_CALLERID
|
||||||
if_equal PHONE_SCHOOLBOY_JACK, .Jack
|
if_equal PHONE_SCHOOLBOY_JACK, .Jack
|
||||||
if_equal PHONE_SAILOR_HUEY, .Huey
|
if_equal PHONE_SAILOR_HUEY, .Huey
|
||||||
@ -707,7 +707,7 @@ AskNumber1MScript:
|
|||||||
end
|
end
|
||||||
|
|
||||||
AskNumber2MScript:
|
AskNumber2MScript:
|
||||||
special Special_RandomPhoneMon
|
special RandomPhoneMon
|
||||||
checkcode VAR_CALLERID
|
checkcode VAR_CALLERID
|
||||||
if_equal PHONE_SCHOOLBOY_JACK, .Jack
|
if_equal PHONE_SCHOOLBOY_JACK, .Jack
|
||||||
if_equal PHONE_SAILOR_HUEY, .Huey
|
if_equal PHONE_SAILOR_HUEY, .Huey
|
||||||
@ -1810,7 +1810,7 @@ CoinVendor_IntroScript: ; 0xbcde0
|
|||||||
farwritetext CoinVendor_IntroText
|
farwritetext CoinVendor_IntroText
|
||||||
|
|
||||||
.loop ; 0xbcde4
|
.loop ; 0xbcde4
|
||||||
special Special_DisplayMoneyAndCoinBalance
|
special DisplayMoneyAndCoinBalance
|
||||||
loadmenuheader .MenuHeader
|
loadmenuheader .MenuHeader
|
||||||
verticalmenu
|
verticalmenu
|
||||||
closewindow
|
closewindow
|
||||||
@ -1887,7 +1887,7 @@ CoinVendor_IntroScript: ; 0xbcde0
|
|||||||
HappinessCheckScript:
|
HappinessCheckScript:
|
||||||
faceplayer
|
faceplayer
|
||||||
opentext
|
opentext
|
||||||
special Special_GetFirstPokemonHappiness
|
special GetFirstPokemonHappiness
|
||||||
if_less_than 50, .Unhappy
|
if_less_than 50, .Unhappy
|
||||||
if_less_than 150, .KindaHappy
|
if_less_than 150, .KindaHappy
|
||||||
farwritetext HappinessText3
|
farwritetext HappinessText3
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
Special_HoOhChamber: ; 0x8addb
|
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 @@ Special_HoOhChamber: ; 0x8addb
|
|||||||
ret
|
ret
|
||||||
; 0x8adef
|
; 0x8adef
|
||||||
|
|
||||||
Special_OmanyteChamber: ; 8adef
|
OmanyteChamber: ; 8adef
|
||||||
call GetMapDataPointer ; pointless?
|
call GetMapDataPointer ; pointless?
|
||||||
ld de, EVENT_WALL_OPENED_IN_OMANYTE_CHAMBER
|
ld de, EVENT_WALL_OPENED_IN_OMANYTE_CHAMBER
|
||||||
ld b, CHECK_FLAG
|
ld b, CHECK_FLAG
|
||||||
@ -103,7 +103,7 @@ SpecialKabutoChamber: ; 8ae4e
|
|||||||
ret
|
ret
|
||||||
; 8ae68
|
; 8ae68
|
||||||
|
|
||||||
Special_DisplayUnownWords: ; 8ae68
|
DisplayUnownWords: ; 8ae68
|
||||||
ld a, [ScriptVar]
|
ld a, [ScriptVar]
|
||||||
ld hl, MenuHeaders_UnownWalls
|
ld hl, MenuHeaders_UnownWalls
|
||||||
and a
|
and a
|
||||||
|
@ -10,7 +10,7 @@ Script_OverworldWhiteout:: ; 0x124c8
|
|||||||
Script_Whiteout: ; 0x124ce
|
Script_Whiteout: ; 0x124ce
|
||||||
writetext .WhitedOutText
|
writetext .WhitedOutText
|
||||||
waitbutton
|
waitbutton
|
||||||
special Special_FadeOutPalettes
|
special FadeOutPalettes
|
||||||
pause 40
|
pause 40
|
||||||
special HealParty
|
special HealParty
|
||||||
checkflag ENGINE_BUG_CONTEST_TIMER
|
checkflag ENGINE_BUG_CONTEST_TIMER
|
||||||
@ -18,7 +18,7 @@ Script_Whiteout: ; 0x124ce
|
|||||||
callasm HalveMoney
|
callasm HalveMoney
|
||||||
callasm GetWhiteoutSpawn
|
callasm GetWhiteoutSpawn
|
||||||
farscall Script_AbortBugContest
|
farscall Script_AbortBugContest
|
||||||
special Special_WarpToSpawnPoint
|
special WarpToSpawnPoint
|
||||||
newloadmap MAPSETUP_WARP
|
newloadmap MAPSETUP_WARP
|
||||||
end_all
|
end_all
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
; More overworld event handling.
|
; More overworld event handling.
|
||||||
|
|
||||||
|
|
||||||
Special_WarpToSpawnPoint:: ; 97c28
|
WarpToSpawnPoint:: ; 97c28
|
||||||
ld hl, wStatusFlags2
|
ld hl, wStatusFlags2
|
||||||
res STATUSFLAGS2_SAFARI_GAME_F, [hl]
|
res STATUSFLAGS2_SAFARI_GAME_F, [hl]
|
||||||
res STATUSFLAGS2_BUG_CONTEST_TIMER_F, [hl]
|
res STATUSFLAGS2_BUG_CONTEST_TIMER_F, [hl]
|
||||||
|
@ -2031,7 +2031,7 @@ Unreferenced_Function28f09: ; 28f09
|
|||||||
|
|
||||||
INCLUDE "engine/trade_animation.asm"
|
INCLUDE "engine/trade_animation.asm"
|
||||||
|
|
||||||
Special_CheckTimeCapsuleCompatibility: ; 29bfb
|
CheckTimeCapsuleCompatibility: ; 29bfb
|
||||||
; Checks to see if your Party is compatible with the generation 1 games. Returns the following in ScriptVar:
|
; Checks to see if your Party is compatible with the generation 1 games. Returns the following in ScriptVar:
|
||||||
; 0: Party is okay
|
; 0: Party is okay
|
||||||
; 1: At least one Pokemon was introduced in GS
|
; 1: At least one Pokemon was introduced in GS
|
||||||
@ -2126,7 +2126,7 @@ Function29c67: ; 29c67
|
|||||||
ret
|
ret
|
||||||
; 29c7b
|
; 29c7b
|
||||||
|
|
||||||
Special_EnterTimeCapsule: ; 29c7b
|
EnterTimeCapsule: ; 29c7b
|
||||||
ld c, 10
|
ld c, 10
|
||||||
call DelayFrames
|
call DelayFrames
|
||||||
ld a, $4
|
ld a, $4
|
||||||
@ -2140,7 +2140,7 @@ Special_EnterTimeCapsule: ; 29c7b
|
|||||||
ret
|
ret
|
||||||
; 29c92
|
; 29c92
|
||||||
|
|
||||||
Special_WaitForOtherPlayerToExit: ; 29c92
|
WaitForOtherPlayerToExit: ; 29c92
|
||||||
ld c, 3
|
ld c, 3
|
||||||
call DelayFrames
|
call DelayFrames
|
||||||
ld a, CONNECTION_NOT_ESTABLISHED
|
ld a, CONNECTION_NOT_ESTABLISHED
|
||||||
@ -2188,21 +2188,21 @@ Special_WaitForOtherPlayerToExit: ; 29c92
|
|||||||
ret
|
ret
|
||||||
; 29ce8
|
; 29ce8
|
||||||
|
|
||||||
Special_SetBitsForLinkTradeRequest: ; 29ce8
|
SetBitsForLinkTradeRequest: ; 29ce8
|
||||||
ld a, LINK_TRADECENTER - 1
|
ld a, LINK_TRADECENTER - 1
|
||||||
ld [wPlayerLinkAction], a
|
ld [wPlayerLinkAction], a
|
||||||
ld [wd265], a
|
ld [wd265], a
|
||||||
ret
|
ret
|
||||||
; 29cf1
|
; 29cf1
|
||||||
|
|
||||||
Special_SetBitsForBattleRequest: ; 29cf1
|
SetBitsForBattleRequest: ; 29cf1
|
||||||
ld a, LINK_COLOSSEUM - 1
|
ld a, LINK_COLOSSEUM - 1
|
||||||
ld [wPlayerLinkAction], a
|
ld [wPlayerLinkAction], a
|
||||||
ld [wd265], a
|
ld [wd265], a
|
||||||
ret
|
ret
|
||||||
; 29cfa
|
; 29cfa
|
||||||
|
|
||||||
Special_SetBitsForTimeCapsuleRequest: ; 29cfa
|
SetBitsForTimeCapsuleRequest: ; 29cfa
|
||||||
ld a, $2
|
ld a, $2
|
||||||
ld [rSB], a
|
ld [rSB], a
|
||||||
xor a
|
xor a
|
||||||
@ -2217,7 +2217,7 @@ Special_SetBitsForTimeCapsuleRequest: ; 29cfa
|
|||||||
ret
|
ret
|
||||||
; 29d11
|
; 29d11
|
||||||
|
|
||||||
Special_WaitForLinkedFriend: ; 29d11
|
WaitForLinkedFriend: ; 29d11
|
||||||
ld a, [wPlayerLinkAction]
|
ld a, [wPlayerLinkAction]
|
||||||
and a
|
and a
|
||||||
jr z, .no_link_action
|
jr z, .no_link_action
|
||||||
@ -2289,7 +2289,7 @@ Special_WaitForLinkedFriend: ; 29d11
|
|||||||
ret
|
ret
|
||||||
; 29d92
|
; 29d92
|
||||||
|
|
||||||
Special_CheckLinkTimeout: ; 29d92
|
CheckLinkTimeout: ; 29d92
|
||||||
ld a, $1
|
ld a, $1
|
||||||
ld [wPlayerLinkAction], a
|
ld [wPlayerLinkAction], a
|
||||||
ld hl, wLinkTimeoutFrames
|
ld hl, wLinkTimeoutFrames
|
||||||
@ -2427,7 +2427,7 @@ Link_CheckCommunicationError: ; 29e0c
|
|||||||
ret
|
ret
|
||||||
; 29e66
|
; 29e66
|
||||||
|
|
||||||
Special_TryQuickSave: ; 29e66
|
TryQuickSave: ; 29e66
|
||||||
ld a, [wd265]
|
ld a, [wd265]
|
||||||
push af
|
push af
|
||||||
farcall Link_SaveGame
|
farcall Link_SaveGame
|
||||||
@ -2443,7 +2443,7 @@ Special_TryQuickSave: ; 29e66
|
|||||||
ret
|
ret
|
||||||
; 29e82
|
; 29e82
|
||||||
|
|
||||||
Special_CheckBothSelectedSameRoom: ; 29e82
|
CheckBothSelectedSameRoom: ; 29e82
|
||||||
ld a, [wd265]
|
ld a, [wd265]
|
||||||
call Link_EnsureSync
|
call Link_EnsureSync
|
||||||
push af
|
push af
|
||||||
@ -2470,7 +2470,7 @@ Special_CheckBothSelectedSameRoom: ; 29e82
|
|||||||
ret
|
ret
|
||||||
; 29eaf
|
; 29eaf
|
||||||
|
|
||||||
Special_TimeCapsule: ; 29eaf
|
TimeCapsule: ; 29eaf
|
||||||
ld a, LINK_TIMECAPSULE
|
ld a, LINK_TIMECAPSULE
|
||||||
ld [wLinkMode], a
|
ld [wLinkMode], a
|
||||||
call DisableSpriteUpdates
|
call DisableSpriteUpdates
|
||||||
@ -2481,7 +2481,7 @@ Special_TimeCapsule: ; 29eaf
|
|||||||
ret
|
ret
|
||||||
; 29ec4
|
; 29ec4
|
||||||
|
|
||||||
Special_TradeCenter: ; 29ec4
|
TradeCenter: ; 29ec4
|
||||||
ld a, LINK_TRADECENTER
|
ld a, LINK_TRADECENTER
|
||||||
ld [wLinkMode], a
|
ld [wLinkMode], a
|
||||||
call DisableSpriteUpdates
|
call DisableSpriteUpdates
|
||||||
@ -2492,7 +2492,7 @@ Special_TradeCenter: ; 29ec4
|
|||||||
ret
|
ret
|
||||||
; 29ed9
|
; 29ed9
|
||||||
|
|
||||||
Special_Colosseum: ; 29ed9
|
Colosseum: ; 29ed9
|
||||||
ld a, LINK_COLOSSEUM
|
ld a, LINK_COLOSSEUM
|
||||||
ld [wLinkMode], a
|
ld [wLinkMode], a
|
||||||
call DisableSpriteUpdates
|
call DisableSpriteUpdates
|
||||||
@ -2503,7 +2503,7 @@ Special_Colosseum: ; 29ed9
|
|||||||
ret
|
ret
|
||||||
; 29eee
|
; 29eee
|
||||||
|
|
||||||
Special_CloseLink: ; 29eee
|
CloseLink: ; 29eee
|
||||||
xor a
|
xor a
|
||||||
ld [wLinkMode], a
|
ld [wLinkMode], a
|
||||||
ld c, 3
|
ld c, 3
|
||||||
@ -2511,7 +2511,7 @@ Special_CloseLink: ; 29eee
|
|||||||
jp Link_ResetSerialRegistersAfterLinkClosure
|
jp Link_ResetSerialRegistersAfterLinkClosure
|
||||||
; 29efa
|
; 29efa
|
||||||
|
|
||||||
Special_FailedLinkToPast: ; 29efa
|
FailedLinkToPast: ; 29efa
|
||||||
ld c, 40
|
ld c, 40
|
||||||
call DelayFrames
|
call DelayFrames
|
||||||
ld a, $e
|
ld a, $e
|
||||||
@ -2560,7 +2560,7 @@ Link_EnsureSync: ; 29f17
|
|||||||
ret
|
ret
|
||||||
; 29f47
|
; 29f47
|
||||||
|
|
||||||
Special_CableClubCheckWhichChris: ; 29f47
|
CableClubCheckWhichChris: ; 29f47
|
||||||
ld a, [hSerialConnectionStatus]
|
ld a, [hSerialConnectionStatus]
|
||||||
cp USING_EXTERNAL_CLOCK
|
cp USING_EXTERNAL_CLOCK
|
||||||
ld a, TRUE
|
ld a, TRUE
|
||||||
|
@ -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 Special_LoadMapPalettes ; 11
|
dba LoadMapPalettes ; 11
|
||||||
dba LoadWildMonData ; 12
|
dba LoadWildMonData ; 12
|
||||||
dba RefreshMapSprites ; 13
|
dba RefreshMapSprites ; 13
|
||||||
dba HandleNewMap ; 14
|
dba HandleNewMap ; 14
|
||||||
@ -91,8 +91,8 @@ MapSetupCommands: ; 15440
|
|||||||
dba LoadMapAttributes ; 1a
|
dba LoadMapAttributes ; 1a
|
||||||
dba LoadMapAttributes_SkipPeople ; 1b
|
dba LoadMapAttributes_SkipPeople ; 1b
|
||||||
dba ClearBGPalettes ; 1c
|
dba ClearBGPalettes ; 1c
|
||||||
dba Special_FadeOutPalettes ; 1d
|
dba FadeOutPalettes ; 1d
|
||||||
dba Special_FadeInPalettes ; 1e
|
dba FadeInPalettes ; 1e
|
||||||
dba GetCoordOfUpperLeftCorner ; 1f
|
dba GetCoordOfUpperLeftCorner ; 1f
|
||||||
dba RestoreFacingAfterWarp ; 20
|
dba RestoreFacingAfterWarp ; 20
|
||||||
dba SpawnInFacingDown ; 21
|
dba SpawnInFacingDown ; 21
|
||||||
|
@ -443,7 +443,7 @@ GetMartDialogGroup: ; 15ca3
|
|||||||
|
|
||||||
|
|
||||||
BuyMenuLoop: ; 15cef
|
BuyMenuLoop: ; 15cef
|
||||||
farcall Special_PlaceMoneyTopRight
|
farcall PlaceMoneyTopRight
|
||||||
call UpdateSprites
|
call UpdateSprites
|
||||||
ld hl, MenuHeader_Buy
|
ld hl, MenuHeader_Buy
|
||||||
call CopyMenuHeader
|
call CopyMenuHeader
|
||||||
|
@ -27,7 +27,7 @@ PlaceMenuItemQuantity: ; 0x24ac3
|
|||||||
.done
|
.done
|
||||||
ret
|
ret
|
||||||
|
|
||||||
Special_PlaceMoneyTopRight: ; 24ae8
|
PlaceMoneyTopRight: ; 24ae8
|
||||||
ld hl, MenuHeader_0x24b15
|
ld hl, MenuHeader_0x24b15
|
||||||
call CopyMenuHeader
|
call CopyMenuHeader
|
||||||
jr PlaceMoneyTextBox
|
jr PlaceMoneyTextBox
|
||||||
@ -64,7 +64,7 @@ MenuHeader_0x24b1d: ; 0x24b1d
|
|||||||
dw NULL
|
dw NULL
|
||||||
db 1 ; default option
|
db 1 ; default option
|
||||||
|
|
||||||
Special_DisplayCoinCaseBalance: ; 24b25
|
DisplayCoinCaseBalance: ; 24b25
|
||||||
; Place a text box of size 1x7 at 11, 0.
|
; Place a text box of size 1x7 at 11, 0.
|
||||||
hlcoord 11, 0
|
hlcoord 11, 0
|
||||||
ld b, 1
|
ld b, 1
|
||||||
@ -82,7 +82,7 @@ Special_DisplayCoinCaseBalance: ; 24b25
|
|||||||
call PrintNum
|
call PrintNum
|
||||||
ret
|
ret
|
||||||
|
|
||||||
Special_DisplayMoneyAndCoinBalance: ; 24b4e
|
DisplayMoneyAndCoinBalance: ; 24b4e
|
||||||
hlcoord 5, 0
|
hlcoord 5, 0
|
||||||
ld b, 3
|
ld b, 3
|
||||||
ld c, 13
|
ld c, 13
|
||||||
|
@ -1157,7 +1157,7 @@ MysteryGift_CopyReceivedDecosToPC: ; 105091 (41:5091)
|
|||||||
jr c, .loop
|
jr c, .loop
|
||||||
jp CloseSRAM
|
jp CloseSRAM
|
||||||
|
|
||||||
Special_UnlockMysteryGift: ; 1050b9
|
UnlockMysteryGift: ; 1050b9
|
||||||
call GetMysteryGiftBank
|
call GetMysteryGiftBank
|
||||||
ld hl, sMysteryGiftUnlocked
|
ld hl, sMysteryGiftUnlocked
|
||||||
ld a, [hl]
|
ld a, [hl]
|
||||||
|
@ -23,7 +23,7 @@ Function14146: ; mobile
|
|||||||
push af
|
push af
|
||||||
res 7, [hl]
|
res 7, [hl]
|
||||||
set 6, [hl]
|
set 6, [hl]
|
||||||
call Special_LoadUsedSpritesGFX
|
call LoadUsedSpritesGFX
|
||||||
pop af
|
pop af
|
||||||
ld [wSpriteFlags], a
|
ld [wSpriteFlags], a
|
||||||
ret
|
ret
|
||||||
@ -35,15 +35,15 @@ Function14157: ; mobile
|
|||||||
push af
|
push af
|
||||||
set 7, [hl]
|
set 7, [hl]
|
||||||
res 6, [hl]
|
res 6, [hl]
|
||||||
call Special_LoadUsedSpritesGFX
|
call LoadUsedSpritesGFX
|
||||||
pop af
|
pop af
|
||||||
ld [wSpriteFlags], a
|
ld [wSpriteFlags], a
|
||||||
ret
|
ret
|
||||||
; 14168
|
; 14168
|
||||||
|
|
||||||
Special_RefreshSprites:: ; 14168
|
RefreshSprites:: ; 14168
|
||||||
call .Refresh
|
call .Refresh
|
||||||
call Special_LoadUsedSpritesGFX
|
call LoadUsedSpritesGFX
|
||||||
ret
|
ret
|
||||||
; 1416f
|
; 1416f
|
||||||
|
|
||||||
@ -164,7 +164,7 @@ AddOutdoorSprites: ; 141ee
|
|||||||
; 14209
|
; 14209
|
||||||
|
|
||||||
|
|
||||||
Special_LoadUsedSpritesGFX: ; 14209
|
LoadUsedSpritesGFX: ; 14209
|
||||||
ld a, MAPCALLBACK_SPRITES
|
ld a, MAPCALLBACK_SPRITES
|
||||||
call RunMapCallback
|
call RunMapCallback
|
||||||
call GetUsedSprites
|
call GetUsedSprites
|
||||||
|
@ -1240,7 +1240,7 @@ PhoneScript_Generic_Female:
|
|||||||
end
|
end
|
||||||
|
|
||||||
PhoneScript_MonFlavorText:
|
PhoneScript_MonFlavorText:
|
||||||
special Special_RandomPhoneMon
|
special RandomPhoneMon
|
||||||
farscall PhoneScript_Random2
|
farscall PhoneScript_Random2
|
||||||
if_equal $0, .TooEnergetic
|
if_equal $0, .TooEnergetic
|
||||||
farwritetext UnknownText_0x1b518b
|
farwritetext UnknownText_0x1b518b
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
Phone_GenericCall_Male:
|
Phone_GenericCall_Male:
|
||||||
special Special_RandomPhoneMon
|
special RandomPhoneMon
|
||||||
farscall PhoneScript_Random2
|
farscall PhoneScript_Random2
|
||||||
if_equal 0, .Bragging
|
if_equal 0, .Bragging
|
||||||
farscall PhoneScript_Generic_Male
|
farscall PhoneScript_Generic_Male
|
||||||
@ -9,7 +9,7 @@ Phone_GenericCall_Male:
|
|||||||
farjump Phone_BraggingCall_Male
|
farjump Phone_BraggingCall_Male
|
||||||
|
|
||||||
Phone_GenericCall_Female:
|
Phone_GenericCall_Female:
|
||||||
special Special_RandomPhoneMon
|
special RandomPhoneMon
|
||||||
farscall PhoneScript_Random2
|
farscall PhoneScript_Random2
|
||||||
if_equal 0, .Bragging
|
if_equal 0, .Bragging
|
||||||
farscall PhoneScript_Generic_Female
|
farscall PhoneScript_Generic_Female
|
||||||
@ -27,7 +27,7 @@ Phone_BraggingCall_Female:
|
|||||||
farjump Phone_FoundAMon_Female
|
farjump Phone_FoundAMon_Female
|
||||||
|
|
||||||
Phone_FoundAMon_Male:
|
Phone_FoundAMon_Male:
|
||||||
special Special_RandomPhoneWildMon
|
special RandomPhoneWildMon
|
||||||
farscall PhoneScript_Random2
|
farscall PhoneScript_Random2
|
||||||
if_equal 0, .GotAway
|
if_equal 0, .GotAway
|
||||||
farscall Phone_WhoDefeatedMon_Male
|
farscall Phone_WhoDefeatedMon_Male
|
||||||
@ -37,7 +37,7 @@ Phone_FoundAMon_Male:
|
|||||||
farjump Phone_GotAwayCall_Male
|
farjump Phone_GotAwayCall_Male
|
||||||
|
|
||||||
Phone_FoundAMon_Female:
|
Phone_FoundAMon_Female:
|
||||||
special Special_RandomPhoneWildMon
|
special RandomPhoneWildMon
|
||||||
farscall PhoneScript_Random2
|
farscall PhoneScript_Random2
|
||||||
if_equal 0, .GotAway
|
if_equal 0, .GotAway
|
||||||
farscall Phone_WhoDefeatedMon_Female
|
farscall Phone_WhoDefeatedMon_Female
|
||||||
@ -851,7 +851,7 @@ Phone_CheckIfUnseenRare_Female:
|
|||||||
farjump PhoneScript_HangupText_Female
|
farjump PhoneScript_HangupText_Female
|
||||||
|
|
||||||
PhoneScriptRareWildMon:
|
PhoneScriptRareWildMon:
|
||||||
special Special_RandomUnseenWildMon
|
special RandomUnseenWildMon
|
||||||
end
|
end
|
||||||
|
|
||||||
PhoneScript_BugCatchingContest:
|
PhoneScript_BugCatchingContest:
|
||||||
|
@ -392,7 +392,7 @@ HueyPhoneScript1:
|
|||||||
iftrue HueyWednesdayNight
|
iftrue HueyWednesdayNight
|
||||||
|
|
||||||
.NotWednesday:
|
.NotWednesday:
|
||||||
special Special_RandomPhoneMon
|
special RandomPhoneMon
|
||||||
farjump UnknownScript_0xa0908
|
farjump UnknownScript_0xa0908
|
||||||
|
|
||||||
.WantsBattle:
|
.WantsBattle:
|
||||||
@ -629,7 +629,7 @@ JoeyPhoneScript1:
|
|||||||
iftrue JoeyMondayAfternoon
|
iftrue JoeyMondayAfternoon
|
||||||
|
|
||||||
.NotMonday:
|
.NotMonday:
|
||||||
special Special_RandomPhoneMon
|
special RandomPhoneMon
|
||||||
farjump UnknownScript_0xa0930
|
farjump UnknownScript_0xa0930
|
||||||
|
|
||||||
.WantsBattle:
|
.WantsBattle:
|
||||||
@ -830,7 +830,7 @@ Ralph_SetUpSwarm:
|
|||||||
pokenamemem QWILFISH, MEM_BUFFER_1
|
pokenamemem QWILFISH, MEM_BUFFER_1
|
||||||
landmarktotext ROUTE_32, MEM_BUFFER_2
|
landmarktotext ROUTE_32, MEM_BUFFER_2
|
||||||
writebyte FISHSWARM_QWILFISH
|
writebyte FISHSWARM_QWILFISH
|
||||||
special Special_ActivateFishingSwarm
|
special ActivateFishingSwarm
|
||||||
farjump UnknownScript_0xa05d6
|
farjump UnknownScript_0xa05d6
|
||||||
|
|
||||||
.Generic:
|
.Generic:
|
||||||
@ -851,7 +851,7 @@ LizPhoneScript1:
|
|||||||
iftrue LizThursdayAfternoon
|
iftrue LizThursdayAfternoon
|
||||||
|
|
||||||
.NotThursday:
|
.NotThursday:
|
||||||
special Special_RandomPhoneMon
|
special RandomPhoneMon
|
||||||
farjump UnknownScript_0xa0948
|
farjump UnknownScript_0xa0948
|
||||||
|
|
||||||
.WantsBattle:
|
.WantsBattle:
|
||||||
|
@ -577,7 +577,7 @@ TrainerWalkToPlayer: ; 831e
|
|||||||
call ComputePathToWalkToPlayer
|
call ComputePathToWalkToPlayer
|
||||||
ret
|
ret
|
||||||
|
|
||||||
Special_SurfStartStep: ; 8379
|
SurfStartStep: ; 8379
|
||||||
call InitMovementBuffer
|
call InitMovementBuffer
|
||||||
call .GetMovementData
|
call .GetMovementData
|
||||||
call AppendToMovementBuffer
|
call AppendToMovementBuffer
|
||||||
|
@ -972,9 +972,9 @@ BenFernText3B:
|
|||||||
|
|
||||||
LuckyNumberShow1:
|
LuckyNumberShow1:
|
||||||
call StartRadioStation
|
call StartRadioStation
|
||||||
callfar Special_CheckLuckyNumberShowFlag
|
callfar CheckLuckyNumberShowFlag
|
||||||
jr nc, .dontreset
|
jr nc, .dontreset
|
||||||
callfar Special_ResetLuckyNumberShowFlag
|
callfar ResetLuckyNumberShowFlag
|
||||||
.dontreset
|
.dontreset
|
||||||
ld hl, LC_Text1
|
ld hl, LC_Text1
|
||||||
ld a, LUCKY_NUMBER_SHOW_2
|
ld a, LUCKY_NUMBER_SHOW_2
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
Special_PlaySlowCry: ; fb841
|
PlaySlowCry: ; fb841
|
||||||
ld a, [ScriptVar]
|
ld a, [ScriptVar]
|
||||||
call LoadCry
|
call LoadCry
|
||||||
jr c, .done
|
jr c, .done
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
Special_BeastsCheck: ; 0x4a6e8
|
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 @@ Special_BeastsCheck: ; 0x4a6e8
|
|||||||
ret
|
ret
|
||||||
|
|
||||||
|
|
||||||
Special_MonCheck: ; 0x4a711
|
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.
|
||||||
|
|
||||||
|
@ -20,14 +20,14 @@ DummySpecial_c224: ; c224
|
|||||||
ret
|
ret
|
||||||
; c225
|
; c225
|
||||||
|
|
||||||
Special_SetPlayerPalette: ; c225
|
SetPlayerPalette: ; c225
|
||||||
ld a, [ScriptVar]
|
ld a, [ScriptVar]
|
||||||
ld d, a
|
ld d, a
|
||||||
farcall _SetPlayerPalette
|
farcall _SetPlayerPalette
|
||||||
ret
|
ret
|
||||||
; c230
|
; c230
|
||||||
|
|
||||||
Special_GameCornerPrizeMonCheckDex: ; c230
|
GameCornerPrizeMonCheckDex: ; c230
|
||||||
ld a, [ScriptVar]
|
ld a, [ScriptVar]
|
||||||
dec a
|
dec a
|
||||||
call CheckCaughtMon
|
call CheckCaughtMon
|
||||||
@ -50,28 +50,28 @@ UnusedSpecial_SeenMon: ; c252
|
|||||||
ret
|
ret
|
||||||
; c25a
|
; c25a
|
||||||
|
|
||||||
Special_FindPartyMonGreaterThanThatLevel: ; c25a
|
FindPartyMonGreaterThanThatLevel: ; c25a
|
||||||
ld a, [ScriptVar]
|
ld a, [ScriptVar]
|
||||||
ld b, a
|
ld b, a
|
||||||
farcall _FindPartyMonGreaterThanThatLevel
|
farcall _FindPartyMonGreaterThanThatLevel
|
||||||
jr z, FoundNone
|
jr z, FoundNone
|
||||||
jr FoundOne
|
jr FoundOne
|
||||||
|
|
||||||
Special_FindPartyMonAtLeastThatHappy: ; c268
|
FindPartyMonAtLeastThatHappy: ; c268
|
||||||
ld a, [ScriptVar]
|
ld a, [ScriptVar]
|
||||||
ld b, a
|
ld b, a
|
||||||
farcall _FindPartyMonAtLeastThatHappy
|
farcall _FindPartyMonAtLeastThatHappy
|
||||||
jr z, FoundNone
|
jr z, FoundNone
|
||||||
jr FoundOne
|
jr FoundOne
|
||||||
|
|
||||||
Special_FindPartyMonThatSpecies: ; c276
|
FindPartyMonThatSpecies: ; c276
|
||||||
ld a, [ScriptVar]
|
ld a, [ScriptVar]
|
||||||
ld b, a
|
ld b, a
|
||||||
farcall _FindPartyMonThatSpecies
|
farcall _FindPartyMonThatSpecies
|
||||||
jr z, FoundNone
|
jr z, FoundNone
|
||||||
jr FoundOne
|
jr FoundOne
|
||||||
|
|
||||||
Special_FindPartyMonThatSpeciesYourTrainerID: ; c284
|
FindPartyMonThatSpeciesYourTrainerID: ; c284
|
||||||
ld a, [ScriptVar]
|
ld a, [ScriptVar]
|
||||||
ld b, a
|
ld b, a
|
||||||
farcall _FindPartyMonThatSpeciesYourTrainerID
|
farcall _FindPartyMonThatSpeciesYourTrainerID
|
||||||
@ -89,7 +89,7 @@ FoundNone: ; c298
|
|||||||
ret
|
ret
|
||||||
; c29d
|
; c29d
|
||||||
|
|
||||||
Special_NameRival: ; 0xc29d
|
NameRival: ; 0xc29d
|
||||||
ld b, $2 ; rival
|
ld b, $2 ; rival
|
||||||
ld de, RivalName
|
ld de, RivalName
|
||||||
farcall _NamingScreen
|
farcall _NamingScreen
|
||||||
@ -103,33 +103,33 @@ Special_NameRival: ; 0xc29d
|
|||||||
DefaultRivalName: ; 0xc2b2
|
DefaultRivalName: ; 0xc2b2
|
||||||
db "SILVER@"
|
db "SILVER@"
|
||||||
|
|
||||||
Special_NameRater: ; c2b9
|
NameRater: ; c2b9
|
||||||
farcall _NameRater
|
farcall _NameRater
|
||||||
ret
|
ret
|
||||||
; c2c0
|
; c2c0
|
||||||
|
|
||||||
Special_OverworldTownMap: ; c2c0
|
OverworldTownMap: ; c2c0
|
||||||
call FadeToMenu
|
call FadeToMenu
|
||||||
farcall _TownMap
|
farcall _TownMap
|
||||||
call ExitAllMenus
|
call ExitAllMenus
|
||||||
ret
|
ret
|
||||||
; c2cd
|
; c2cd
|
||||||
|
|
||||||
Special_UnownPrinter: ; c2cd
|
UnownPrinter: ; c2cd
|
||||||
call FadeToMenu
|
call FadeToMenu
|
||||||
farcall _UnownPrinter
|
farcall _UnownPrinter
|
||||||
call ExitAllMenus
|
call ExitAllMenus
|
||||||
ret
|
ret
|
||||||
; c2da
|
; c2da
|
||||||
|
|
||||||
Special_DisplayLinkRecord: ; c2da
|
DisplayLinkRecord: ; c2da
|
||||||
call FadeToMenu
|
call FadeToMenu
|
||||||
farcall _DisplayLinkRecord
|
farcall _DisplayLinkRecord
|
||||||
call ExitAllMenus
|
call ExitAllMenus
|
||||||
ret
|
ret
|
||||||
; c2e7
|
; c2e7
|
||||||
|
|
||||||
Special_PlayersHousePC: ; c2e7
|
PlayersHousePC: ; c2e7
|
||||||
xor a
|
xor a
|
||||||
ld [ScriptVar], a
|
ld [ScriptVar], a
|
||||||
farcall _PlayersHousePC
|
farcall _PlayersHousePC
|
||||||
@ -138,7 +138,7 @@ Special_PlayersHousePC: ; c2e7
|
|||||||
ret
|
ret
|
||||||
; c2f6
|
; c2f6
|
||||||
|
|
||||||
Special_CheckMysteryGift: ; c2f6
|
CheckMysteryGift: ; c2f6
|
||||||
ld a, BANK(sMysteryGiftItem)
|
ld a, BANK(sMysteryGiftItem)
|
||||||
call GetSRAMBank
|
call GetSRAMBank
|
||||||
ld a, [sMysteryGiftItem]
|
ld a, [sMysteryGiftItem]
|
||||||
@ -152,7 +152,7 @@ Special_CheckMysteryGift: ; c2f6
|
|||||||
ret
|
ret
|
||||||
; c309
|
; c309
|
||||||
|
|
||||||
Special_GetMysteryGiftItem: ; c309
|
GetMysteryGiftItem: ; c309
|
||||||
ld a, BANK(sMysteryGiftItem)
|
ld a, BANK(sMysteryGiftItem)
|
||||||
call GetSRAMBank
|
call GetSRAMBank
|
||||||
ld a, [sMysteryGiftItem]
|
ld a, [sMysteryGiftItem]
|
||||||
@ -187,21 +187,21 @@ Special_GetMysteryGiftItem: ; c309
|
|||||||
db "@"
|
db "@"
|
||||||
; 0xc34a
|
; 0xc34a
|
||||||
|
|
||||||
Special_BugContestJudging: ; c34a
|
BugContestJudging: ; c34a
|
||||||
farcall _BugContestJudging
|
farcall _BugContestJudging
|
||||||
ld a, b
|
ld a, b
|
||||||
ld [ScriptVar], a
|
ld [ScriptVar], a
|
||||||
ret
|
ret
|
||||||
; c355
|
; c355
|
||||||
|
|
||||||
Special_MapRadio: ; c355
|
MapRadio: ; c355
|
||||||
ld a, [ScriptVar]
|
ld a, [ScriptVar]
|
||||||
ld e, a
|
ld e, a
|
||||||
farcall PlayRadio
|
farcall PlayRadio
|
||||||
ret
|
ret
|
||||||
; c360
|
; c360
|
||||||
|
|
||||||
Special_UnownPuzzle: ; c360
|
UnownPuzzle: ; c360
|
||||||
call FadeToMenu
|
call FadeToMenu
|
||||||
farcall _UnownPuzzle
|
farcall _UnownPuzzle
|
||||||
ld a, [wSolvedUnownPuzzle]
|
ld a, [wSolvedUnownPuzzle]
|
||||||
@ -210,34 +210,34 @@ Special_UnownPuzzle: ; c360
|
|||||||
ret
|
ret
|
||||||
; c373
|
; c373
|
||||||
|
|
||||||
Special_SlotMachine: ; c373
|
SlotMachine: ; c373
|
||||||
call Special_CheckCoins
|
call CheckCoinsAndCoinCase
|
||||||
ret c
|
ret c
|
||||||
ld a, BANK(_SlotMachine)
|
ld a, BANK(_SlotMachine)
|
||||||
ld hl, _SlotMachine
|
ld hl, _SlotMachine
|
||||||
call Special_StartGameCornerGame
|
call StartGameCornerGame
|
||||||
ret
|
ret
|
||||||
; c380
|
; c380
|
||||||
|
|
||||||
Special_CardFlip: ; c380
|
CardFlip: ; c380
|
||||||
call Special_CheckCoins
|
call CheckCoinsAndCoinCase
|
||||||
ret c
|
ret c
|
||||||
ld a, BANK(_CardFlip)
|
ld a, BANK(_CardFlip)
|
||||||
ld hl, _CardFlip
|
ld hl, _CardFlip
|
||||||
call Special_StartGameCornerGame
|
call StartGameCornerGame
|
||||||
ret
|
ret
|
||||||
; c38d
|
; c38d
|
||||||
|
|
||||||
Special_DummyNonfunctionalGameCornerGame: ; c38d
|
DummyNonfunctionalGameCornerGame: ; c38d
|
||||||
call Special_CheckCoins
|
call CheckCoinsAndCoinCase
|
||||||
ret c
|
ret c
|
||||||
ld a, BANK(_DummyGame)
|
ld a, BANK(_DummyGame)
|
||||||
ld hl, _DummyGame
|
ld hl, _DummyGame
|
||||||
call Special_StartGameCornerGame
|
call StartGameCornerGame
|
||||||
ret
|
ret
|
||||||
; c39a
|
; c39a
|
||||||
|
|
||||||
Special_StartGameCornerGame: ; c39a
|
StartGameCornerGame: ; c39a
|
||||||
call FarQueueScript
|
call FarQueueScript
|
||||||
call FadeToMenu
|
call FadeToMenu
|
||||||
ld hl, wQueuedScriptBank
|
ld hl, wQueuedScriptBank
|
||||||
@ -252,7 +252,7 @@ Special_StartGameCornerGame: ; c39a
|
|||||||
ret
|
ret
|
||||||
; c3ae
|
; c3ae
|
||||||
|
|
||||||
Special_CheckCoins: ; c3ae
|
CheckCoinsAndCoinCase: ; c3ae
|
||||||
ld hl, Coins
|
ld hl, Coins
|
||||||
ld a, [hli]
|
ld a, [hli]
|
||||||
or [hl]
|
or [hl]
|
||||||
@ -290,7 +290,7 @@ Special_CheckCoins: ; c3ae
|
|||||||
db "@"
|
db "@"
|
||||||
; 0xc3db
|
; 0xc3db
|
||||||
|
|
||||||
Special_ClearBGPalettesBufferScreen: ; c3db
|
ClearBGPalettesBufferScreen: ; c3db
|
||||||
call ClearBGPalettes
|
call ClearBGPalettes
|
||||||
call BufferScreen
|
call BufferScreen
|
||||||
ret
|
ret
|
||||||
@ -314,7 +314,7 @@ UnusedSpecial_CheckUnusedTwoDayTimer: ; c3ef
|
|||||||
ret
|
ret
|
||||||
; c3fc
|
; c3fc
|
||||||
|
|
||||||
Special_ActivateFishingSwarm: ; c3fc
|
ActivateFishingSwarm: ; c3fc
|
||||||
ld a, [ScriptVar]
|
ld a, [ScriptVar]
|
||||||
ld [wFishingSwarmFlag], a
|
ld [wFishingSwarmFlag], a
|
||||||
ret
|
ret
|
||||||
@ -341,13 +341,13 @@ StoreSwarmMapIndices:: ; c403
|
|||||||
; c419
|
; c419
|
||||||
|
|
||||||
|
|
||||||
Special_CheckPokerus: ; c419
|
CheckPokerus: ; c419
|
||||||
; Check if a monster in your party has Pokerus
|
; Check if a monster in your party has Pokerus
|
||||||
farcall _CheckPokerus
|
farcall _CheckPokerus
|
||||||
jp ScriptReturnCarry
|
jp ScriptReturnCarry
|
||||||
; c422
|
; c422
|
||||||
|
|
||||||
Special_ResetLuckyNumberShowFlag: ; c422
|
ResetLuckyNumberShowFlag: ; c422
|
||||||
farcall RestartLuckyNumberCountdown
|
farcall RestartLuckyNumberCountdown
|
||||||
ld hl, wLuckyNumberShowFlag
|
ld hl, wLuckyNumberShowFlag
|
||||||
res LUCKYNUMBERSHOW_GAME_OVER_F, [hl]
|
res LUCKYNUMBERSHOW_GAME_OVER_F, [hl]
|
||||||
@ -355,12 +355,12 @@ Special_ResetLuckyNumberShowFlag: ; c422
|
|||||||
ret
|
ret
|
||||||
; c434
|
; c434
|
||||||
|
|
||||||
Special_CheckLuckyNumberShowFlag: ; c434
|
CheckLuckyNumberShowFlag: ; c434
|
||||||
farcall _CheckLuckyNumberShowFlag
|
farcall _CheckLuckyNumberShowFlag
|
||||||
jp ScriptReturnCarry
|
jp ScriptReturnCarry
|
||||||
; c43d
|
; c43d
|
||||||
|
|
||||||
Special_SnorlaxAwake: ; 0xc43d
|
SnorlaxAwake: ; 0xc43d
|
||||||
; Check if the Poké Flute channel is playing, and if the player is standing
|
; Check if the Poké Flute channel is playing, and if the player is standing
|
||||||
; next to Snorlax.
|
; next to Snorlax.
|
||||||
|
|
||||||
@ -411,13 +411,13 @@ Special_SnorlaxAwake: ; 0xc43d
|
|||||||
db -1
|
db -1
|
||||||
|
|
||||||
|
|
||||||
Special_PlayCurMonCry: ; c472
|
PlayCurMonCry: ; c472
|
||||||
ld a, [CurPartySpecies]
|
ld a, [CurPartySpecies]
|
||||||
jp PlayMonCry
|
jp PlayMonCry
|
||||||
; c478
|
; c478
|
||||||
|
|
||||||
|
|
||||||
Special_GameboyCheck: ; c478
|
GameboyCheck: ; c478
|
||||||
ld a, [hCGB]
|
ld a, [hCGB]
|
||||||
and a
|
and a
|
||||||
jr nz, .cgb
|
jr nz, .cgb
|
||||||
@ -439,7 +439,7 @@ Special_GameboyCheck: ; c478
|
|||||||
ret
|
ret
|
||||||
|
|
||||||
|
|
||||||
Special_FadeOutMusic: ; c48f
|
FadeOutMusic: ; c48f
|
||||||
ld a, LOW(MUSIC_NONE)
|
ld a, LOW(MUSIC_NONE)
|
||||||
ld [MusicFadeID], a
|
ld [MusicFadeID], a
|
||||||
ld a, HIGH(MUSIC_NONE)
|
ld a, HIGH(MUSIC_NONE)
|
||||||
@ -449,21 +449,21 @@ Special_FadeOutMusic: ; c48f
|
|||||||
ret
|
ret
|
||||||
; c49f
|
; c49f
|
||||||
|
|
||||||
Special_Diploma: ; c49f
|
Diploma: ; c49f
|
||||||
call FadeToMenu
|
call FadeToMenu
|
||||||
farcall _Diploma
|
farcall _Diploma
|
||||||
call ExitAllMenus
|
call ExitAllMenus
|
||||||
ret
|
ret
|
||||||
; c4ac
|
; c4ac
|
||||||
|
|
||||||
Special_PrintDiploma: ; c4ac
|
PrintDiploma: ; c4ac
|
||||||
call FadeToMenu
|
call FadeToMenu
|
||||||
farcall _PrintDiploma
|
farcall _PrintDiploma
|
||||||
call ExitAllMenus
|
call ExitAllMenus
|
||||||
ret
|
ret
|
||||||
; c4b9
|
; c4b9
|
||||||
|
|
||||||
Special_TrainerHouse: ; 0xc4b9
|
TrainerHouse: ; 0xc4b9
|
||||||
ld a, BANK(sMysteryGiftTrainerHouseFlag)
|
ld a, BANK(sMysteryGiftTrainerHouseFlag)
|
||||||
call GetSRAMBank
|
call GetSRAMBank
|
||||||
ld a, [sMysteryGiftTrainerHouseFlag]
|
ld a, [sMysteryGiftTrainerHouseFlag]
|
||||||
|
@ -125,12 +125,12 @@ endr
|
|||||||
dec [hl]
|
dec [hl]
|
||||||
jr nz, .DontRestartKenjiBreakCountdown
|
jr nz, .DontRestartKenjiBreakCountdown
|
||||||
.RestartKenjiBreakCountdown:
|
.RestartKenjiBreakCountdown:
|
||||||
call Special_SampleKenjiBreakCountdown
|
call SampleKenjiBreakCountdown
|
||||||
.DontRestartKenjiBreakCountdown:
|
.DontRestartKenjiBreakCountdown:
|
||||||
jr RestartDailyResetTimer
|
jr RestartDailyResetTimer
|
||||||
; 11485
|
; 11485
|
||||||
|
|
||||||
Special_SampleKenjiBreakCountdown: ; 11485
|
SampleKenjiBreakCountdown: ; 11485
|
||||||
; Generate a random number between 3 and 6
|
; Generate a random number between 3 and 6
|
||||||
call Random
|
call Random
|
||||||
and %11
|
and %11
|
||||||
|
@ -119,7 +119,7 @@ _UpdateTimePals:: ; 8c070
|
|||||||
ret
|
ret
|
||||||
; 8c079
|
; 8c079
|
||||||
|
|
||||||
Special_FadeInPalettes:: ; 8c079
|
FadeInPalettes:: ; 8c079
|
||||||
ld c, $12
|
ld c, $12
|
||||||
call GetTimePalFade
|
call GetTimePalFade
|
||||||
ld b, $4
|
ld b, $4
|
||||||
@ -127,7 +127,7 @@ Special_FadeInPalettes:: ; 8c079
|
|||||||
ret
|
ret
|
||||||
; 8c084
|
; 8c084
|
||||||
|
|
||||||
Special_FadeOutPalettes:: ; 8c084
|
FadeOutPalettes:: ; 8c084
|
||||||
call FillWhiteBGColor
|
call FillWhiteBGColor
|
||||||
ld c, $9
|
ld c, $9
|
||||||
call GetTimePalFade
|
call GetTimePalFade
|
||||||
@ -136,7 +136,7 @@ Special_FadeOutPalettes:: ; 8c084
|
|||||||
ret
|
ret
|
||||||
; 8c092
|
; 8c092
|
||||||
|
|
||||||
Special_BattleTowerFade: ; 8c092
|
BattleTowerFade: ; 8c092
|
||||||
call FillWhiteBGColor
|
call FillWhiteBGColor
|
||||||
ld c, $9
|
ld c, $9
|
||||||
call GetTimePalFade
|
call GetTimePalFade
|
||||||
@ -153,7 +153,7 @@ Special_BattleTowerFade: ; 8c092
|
|||||||
ret
|
ret
|
||||||
; 8c0ab
|
; 8c0ab
|
||||||
|
|
||||||
Special_FadeInQuickly: ; 8c0ab
|
FadeInQuickly: ; 8c0ab
|
||||||
ld c, $0
|
ld c, $0
|
||||||
call GetTimePalFade
|
call GetTimePalFade
|
||||||
ld b, $4
|
ld b, $4
|
||||||
@ -161,7 +161,7 @@ Special_FadeInQuickly: ; 8c0ab
|
|||||||
ret
|
ret
|
||||||
; 8c0b6
|
; 8c0b6
|
||||||
|
|
||||||
Special_FadeBlackQuickly: ; 8c0b6
|
FadeBlackQuickly: ; 8c0b6
|
||||||
ld c, $9
|
ld c, $9
|
||||||
call GetTimePalFade
|
call GetTimePalFade
|
||||||
ld b, $4
|
ld b, $4
|
||||||
|
@ -407,7 +407,7 @@ TimeSetDownArrowGFX: ; 9090b
|
|||||||
INCBIN "gfx/new_game/down_arrow.1bpp"
|
INCBIN "gfx/new_game/down_arrow.1bpp"
|
||||||
; 90913
|
; 90913
|
||||||
|
|
||||||
Special_SetDayOfWeek: ; 90913
|
SetDayOfWeek: ; 90913
|
||||||
ld a, [hInMenu]
|
ld a, [hInMenu]
|
||||||
push af
|
push af
|
||||||
ld a, $1
|
ld a, $1
|
||||||
@ -573,7 +573,7 @@ Special_SetDayOfWeek: ; 90913
|
|||||||
db "@"
|
db "@"
|
||||||
; 0x90a54
|
; 0x90a54
|
||||||
|
|
||||||
Special_InitialSetDSTFlag: ; 90a54
|
InitialSetDSTFlag: ; 90a54
|
||||||
ld a, [wDST]
|
ld a, [wDST]
|
||||||
set 7, a
|
set 7, a
|
||||||
ld [wDST], a
|
ld [wDST], a
|
||||||
@ -604,7 +604,7 @@ Special_InitialSetDSTFlag: ; 90a54
|
|||||||
db "@"
|
db "@"
|
||||||
; 0x90a88
|
; 0x90a88
|
||||||
|
|
||||||
Special_InitialClearDSTFlag: ; 90a88
|
InitialClearDSTFlag: ; 90a88
|
||||||
ld a, [wDST]
|
ld a, [wDST]
|
||||||
res 7, a
|
res 7, a
|
||||||
ld [wDST], a
|
ld [wDST], a
|
||||||
|
@ -305,12 +305,12 @@ LoadGraphics: ; 1047cf
|
|||||||
ld [hMapAnims], a
|
ld [hMapAnims], a
|
||||||
xor a
|
xor a
|
||||||
ld [hTileAnimFrame], a
|
ld [hTileAnimFrame], a
|
||||||
farcall Special_RefreshSprites
|
farcall RefreshSprites
|
||||||
call LoadFontsExtra
|
call LoadFontsExtra
|
||||||
farcall LoadOverworldFont
|
farcall LoadOverworldFont
|
||||||
ret
|
ret
|
||||||
|
|
||||||
Special_LoadMapPalettes: ; 1047eb
|
LoadMapPalettes: ; 1047eb
|
||||||
ld b, SCGB_MAPPALS
|
ld b, SCGB_MAPPALS
|
||||||
jp GetSGBLayout
|
jp GetSGBLayout
|
||||||
; 1047f0
|
; 1047f0
|
||||||
|
@ -508,7 +508,7 @@ LookUpWildmonsForMapDE: ; 2a288
|
|||||||
; 2a2a0
|
; 2a2a0
|
||||||
|
|
||||||
|
|
||||||
Special_InitRoamMons: ; 2a2a0
|
InitRoamMons: ; 2a2a0
|
||||||
; initialize wRoamMon structs
|
; initialize wRoamMon structs
|
||||||
|
|
||||||
; species
|
; species
|
||||||
@ -804,7 +804,7 @@ ValidateTempWildMonSpecies: ; 2a4a0
|
|||||||
|
|
||||||
; Finds a rare wild Pokemon in the route of the trainer calling, then checks if it's been Seen already.
|
; Finds a rare wild Pokemon in the route of the trainer calling, then checks if it's been Seen already.
|
||||||
; The trainer will then tell you about the Pokemon if you haven't seen it.
|
; The trainer will then tell you about the Pokemon if you haven't seen it.
|
||||||
Special_RandomUnseenWildMon: ; 2a4ab
|
RandomUnseenWildMon: ; 2a4ab
|
||||||
farcall GetCallerLocation
|
farcall GetCallerLocation
|
||||||
ld d, b
|
ld d, b
|
||||||
ld e, c
|
ld e, c
|
||||||
@ -877,7 +877,7 @@ Special_RandomUnseenWildMon: ; 2a4ab
|
|||||||
db "@"
|
db "@"
|
||||||
; 0x2a51f
|
; 0x2a51f
|
||||||
|
|
||||||
Special_RandomPhoneWildMon: ; 2a51f
|
RandomPhoneWildMon: ; 2a51f
|
||||||
farcall GetCallerLocation
|
farcall GetCallerLocation
|
||||||
ld d, b
|
ld d, b
|
||||||
ld e, c
|
ld e, c
|
||||||
@ -917,7 +917,7 @@ Special_RandomPhoneWildMon: ; 2a51f
|
|||||||
jp CopyBytes
|
jp CopyBytes
|
||||||
; 2a567
|
; 2a567
|
||||||
|
|
||||||
Special_RandomPhoneMon: ; 2a567
|
RandomPhoneMon: ; 2a567
|
||||||
; Get a random monster owned by the trainer who's calling.
|
; Get a random monster owned by the trainer who's calling.
|
||||||
farcall GetCallerLocation
|
farcall GetCallerLocation
|
||||||
ld hl, TrainerGroups
|
ld hl, TrainerGroups
|
||||||
|
@ -1984,7 +1984,7 @@ FadeToMenu:: ; 2b29
|
|||||||
xor a
|
xor a
|
||||||
ld [hBGMapMode], a
|
ld [hBGMapMode], a
|
||||||
call LoadStandardMenuHeader
|
call LoadStandardMenuHeader
|
||||||
farcall Special_FadeOutPalettes
|
farcall FadeOutPalettes
|
||||||
call ClearSprites
|
call ClearSprites
|
||||||
call DisableSpriteUpdates
|
call DisableSpriteUpdates
|
||||||
ret
|
ret
|
||||||
@ -2010,7 +2010,7 @@ FinishExitMenu:: ; 2b5c
|
|||||||
call GetSGBLayout
|
call GetSGBLayout
|
||||||
farcall LoadOW_BGPal7
|
farcall LoadOW_BGPal7
|
||||||
call WaitBGMap2
|
call WaitBGMap2
|
||||||
farcall Special_FadeInPalettes
|
farcall FadeInPalettes
|
||||||
call EnableSpriteUpdates
|
call EnableSpriteUpdates
|
||||||
ret
|
ret
|
||||||
; 2b74
|
; 2b74
|
||||||
@ -2043,7 +2043,7 @@ ReturnToMapWithSpeechTextbox:: ; 0x2b74
|
|||||||
ReloadTilesetAndPalettes:: ; 2bae
|
ReloadTilesetAndPalettes:: ; 2bae
|
||||||
call DisableLCD
|
call DisableLCD
|
||||||
call ClearSprites
|
call ClearSprites
|
||||||
farcall Special_RefreshSprites
|
farcall RefreshSprites
|
||||||
call LoadStandardFont
|
call LoadStandardFont
|
||||||
call LoadFontsExtra
|
call LoadFontsExtra
|
||||||
ld a, [hROMBank]
|
ld a, [hROMBank]
|
||||||
|
@ -40,7 +40,7 @@ AzaleaTownRivalBattleScene1:
|
|||||||
moveobject AZALEATOWN_SILVER, 11, 11
|
moveobject AZALEATOWN_SILVER, 11, 11
|
||||||
spriteface PLAYER, RIGHT
|
spriteface PLAYER, RIGHT
|
||||||
showemote EMOTE_SHOCK, PLAYER, 15
|
showemote EMOTE_SHOCK, PLAYER, 15
|
||||||
special Special_FadeOutMusic
|
special FadeOutMusic
|
||||||
pause 15
|
pause 15
|
||||||
appear AZALEATOWN_SILVER
|
appear AZALEATOWN_SILVER
|
||||||
applymovement AZALEATOWN_SILVER, AzaleaTownRivalBattleApproachMovement1
|
applymovement AZALEATOWN_SILVER, AzaleaTownRivalBattleApproachMovement1
|
||||||
@ -50,7 +50,7 @@ AzaleaTownRivalBattleScene1:
|
|||||||
AzaleaTownRivalBattleScene2:
|
AzaleaTownRivalBattleScene2:
|
||||||
spriteface PLAYER, RIGHT
|
spriteface PLAYER, RIGHT
|
||||||
showemote EMOTE_SHOCK, PLAYER, 15
|
showemote EMOTE_SHOCK, PLAYER, 15
|
||||||
special Special_FadeOutMusic
|
special FadeOutMusic
|
||||||
pause 15
|
pause 15
|
||||||
appear AZALEATOWN_SILVER
|
appear AZALEATOWN_SILVER
|
||||||
applymovement AZALEATOWN_SILVER, AzaleaTownRivalBattleApproachMovement2
|
applymovement AZALEATOWN_SILVER, AzaleaTownRivalBattleApproachMovement2
|
||||||
|
@ -16,10 +16,10 @@ BattleTower1F_MapScripts:
|
|||||||
|
|
||||||
.Scene0:
|
.Scene0:
|
||||||
writebyte BATTLETOWERACTION_CHECKSAVEFILEISYOURS
|
writebyte BATTLETOWERACTION_CHECKSAVEFILEISYOURS
|
||||||
special Special_BattleTowerAction
|
special BattleTowerAction
|
||||||
iffalse .SkipEverything
|
iffalse .SkipEverything
|
||||||
writebyte BATTLETOWERACTION_GET_CHALLENGE_STATE ; copybytetovar sBattleTowerChallengeState
|
writebyte BATTLETOWERACTION_GET_CHALLENGE_STATE ; copybytetovar sBattleTowerChallengeState
|
||||||
special Special_BattleTowerAction
|
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_MapScripts:
|
|||||||
.priorityjump1
|
.priorityjump1
|
||||||
priorityjump BattleTower_LeftWithoutSaving
|
priorityjump BattleTower_LeftWithoutSaving
|
||||||
writebyte BATTLETOWERACTION_CHALLENGECANCELED
|
writebyte BATTLETOWERACTION_CHALLENGECANCELED
|
||||||
special Special_BattleTowerAction
|
special BattleTowerAction
|
||||||
writebyte BATTLETOWERACTION_06
|
writebyte BATTLETOWERACTION_06
|
||||||
special Special_BattleTowerAction
|
special BattleTowerAction
|
||||||
.SkipEverything:
|
.SkipEverything:
|
||||||
setscene 1
|
setscene 1
|
||||||
.Scene1:
|
.Scene1:
|
||||||
@ -55,54 +55,54 @@ UnknownScript_0x9e3e0:
|
|||||||
|
|
||||||
ReceptionistScript_0x9e3e2:
|
ReceptionistScript_0x9e3e2:
|
||||||
writebyte BATTLETOWERACTION_GET_CHALLENGE_STATE ; copybytetovar sBattleTowerChallengeState
|
writebyte BATTLETOWERACTION_GET_CHALLENGE_STATE ; copybytetovar sBattleTowerChallengeState
|
||||||
special Special_BattleTowerAction
|
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 Special_BattleTowerAction
|
special BattleTowerAction
|
||||||
if_not_equal $0, Script_Menu_ChallengeExplanationCancel
|
if_not_equal $0, Script_Menu_ChallengeExplanationCancel
|
||||||
jump Script_BattleTowerIntroductionYesNo
|
jump Script_BattleTowerIntroductionYesNo
|
||||||
|
|
||||||
Script_Menu_ChallengeExplanationCancel: ; 0x9e3fc
|
Script_Menu_ChallengeExplanationCancel: ; 0x9e3fc
|
||||||
writetext Text_WantToGoIntoABattleRoom
|
writetext Text_WantToGoIntoABattleRoom
|
||||||
writebyte TRUE
|
writebyte TRUE
|
||||||
special Special_Menu_ChallengeExplanationCancel
|
special Menu_ChallengeExplanationCancel
|
||||||
if_equal 1, Script_ChooseChallenge
|
if_equal 1, Script_ChooseChallenge
|
||||||
if_equal 2, Script_BattleTowerExplanation
|
if_equal 2, Script_BattleTowerExplanation
|
||||||
jump Script_BattleTowerHopeToServeYouAgain
|
jump Script_BattleTowerHopeToServeYouAgain
|
||||||
|
|
||||||
Script_ChooseChallenge: ; 0x9e40f
|
Script_ChooseChallenge: ; 0x9e40f
|
||||||
writebyte BATTLETOWERACTION_RESETDATA ; ResetBattleTowerTrainerSRAM
|
writebyte BATTLETOWERACTION_RESETDATA ; ResetBattleTowerTrainerSRAM
|
||||||
special Special_BattleTowerAction
|
special BattleTowerAction
|
||||||
special Special_CheckForBattleTowerRules
|
special CheckForBattleTowerRules
|
||||||
if_not_equal FALSE, Script_WaitButton
|
if_not_equal FALSE, Script_WaitButton
|
||||||
writetext Text_SaveBeforeEnteringBattleRoom
|
writetext Text_SaveBeforeEnteringBattleRoom
|
||||||
yesorno
|
yesorno
|
||||||
iffalse Script_Menu_ChallengeExplanationCancel
|
iffalse Script_Menu_ChallengeExplanationCancel
|
||||||
setscene 0
|
setscene 0
|
||||||
special Special_TryQuickSave
|
special TryQuickSave
|
||||||
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 Special_BattleTowerAction
|
special BattleTowerAction
|
||||||
special Special_BattleTowerRoomMenu
|
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 Special_BattleTowerAction
|
special BattleTowerAction
|
||||||
writetext Text_RightThisWayToYourBattleRoom
|
writetext Text_RightThisWayToYourBattleRoom
|
||||||
waitbutton
|
waitbutton
|
||||||
closetext
|
closetext
|
||||||
writebyte BATTLETOWERACTION_CHOOSEREWARD
|
writebyte BATTLETOWERACTION_CHOOSEREWARD
|
||||||
special Special_BattleTowerAction
|
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 Special_BattleTowerAction
|
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 Special_BattleTowerAction
|
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 Special_BattleTowerAction
|
special BattleTowerAction
|
||||||
writebyte BATTLETOWERACTION_GIVEREWARD
|
writebyte BATTLETOWERACTION_GIVEREWARD
|
||||||
special Special_BattleTowerAction
|
special BattleTowerAction
|
||||||
if_equal POTION, Script_YourPackIsStuffedFull
|
if_equal POTION, Script_YourPackIsStuffedFull
|
||||||
itemtotext USE_SCRIPT_VAR, MEM_BUFFER_1
|
itemtotext USE_SCRIPT_VAR, MEM_BUFFER_1
|
||||||
giveitem ITEM_FROM_MEM, 5
|
giveitem ITEM_FROM_MEM, 5
|
||||||
writetext Text_PlayerGotFive
|
writetext Text_PlayerGotFive
|
||||||
writebyte BATTLETOWERACTION_1D
|
writebyte BATTLETOWERACTION_1D
|
||||||
special Special_BattleTowerAction
|
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 Special_BattleTowerAction
|
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 Special_BattleTowerMobileError
|
special BattleTowerMobileError
|
||||||
closetext
|
closetext
|
||||||
end
|
end
|
||||||
|
|
||||||
@ -170,11 +170,11 @@ UnreferencedScript_0x9e4be:
|
|||||||
writetext Text_SaveBeforeEnteringBattleRoom
|
writetext Text_SaveBeforeEnteringBattleRoom
|
||||||
yesorno
|
yesorno
|
||||||
iffalse Script_Menu_ChallengeExplanationCancel
|
iffalse Script_Menu_ChallengeExplanationCancel
|
||||||
special Special_TryQuickSave
|
special TryQuickSave
|
||||||
iffalse Script_Menu_ChallengeExplanationCancel
|
iffalse Script_Menu_ChallengeExplanationCancel
|
||||||
writebyte BATTLETOWERACTION_SET_EXPLANATION_READ
|
writebyte BATTLETOWERACTION_SET_EXPLANATION_READ
|
||||||
special Special_BattleTowerAction
|
special BattleTowerAction
|
||||||
special Special_Function1700ba
|
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 Special_BattleTowerAction
|
special BattleTowerAction
|
||||||
if_not_equal $0, Script_APkmnLevelExceeds
|
if_not_equal $0, Script_APkmnLevelExceeds
|
||||||
writebyte BATTLETOWERACTION_UBERS_CHECK
|
writebyte BATTLETOWERACTION_UBERS_CHECK
|
||||||
special Special_BattleTowerAction
|
special BattleTowerAction
|
||||||
if_not_equal $0, Script_MayNotEnterABattleRoomUnderL70
|
if_not_equal $0, Script_MayNotEnterABattleRoomUnderL70
|
||||||
special Special_CheckForBattleTowerRules
|
special CheckForBattleTowerRules
|
||||||
if_not_equal FALSE, Script_WaitButton
|
if_not_equal FALSE, Script_WaitButton
|
||||||
writebyte BATTLETOWERACTION_05
|
writebyte BATTLETOWERACTION_05
|
||||||
special Special_BattleTowerAction
|
special BattleTowerAction
|
||||||
if_equal $0, .zero
|
if_equal $0, .zero
|
||||||
writetext Text_CantBeRegistered_PreviousRecordDeleted
|
writetext Text_CantBeRegistered_PreviousRecordDeleted
|
||||||
jump continue
|
jump continue
|
||||||
@ -209,13 +209,13 @@ continue:
|
|||||||
yesorno
|
yesorno
|
||||||
iffalse Script_Menu_ChallengeExplanationCancel
|
iffalse Script_Menu_ChallengeExplanationCancel
|
||||||
setscene 0
|
setscene 0
|
||||||
special Special_TryQuickSave
|
special TryQuickSave
|
||||||
iffalse Script_Menu_ChallengeExplanationCancel
|
iffalse Script_Menu_ChallengeExplanationCancel
|
||||||
setscene 1
|
setscene 1
|
||||||
writebyte BATTLETOWERACTION_06
|
writebyte BATTLETOWERACTION_06
|
||||||
special Special_BattleTowerAction
|
special BattleTowerAction
|
||||||
writebyte BATTLETOWERACTION_12
|
writebyte BATTLETOWERACTION_12
|
||||||
special Special_BattleTowerAction
|
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 Special_BattleTowerMobileError
|
special BattleTowerMobileError
|
||||||
closetext
|
closetext
|
||||||
end
|
end
|
||||||
|
|
||||||
|
@ -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 Special_LoadOpponentTrainerAndPokemonWithOTSprite
|
special LoadOpponentTrainerAndPokemonWithOTSprite
|
||||||
appear BATTLETOWERBATTLEROOM_YOUNGSTER
|
appear BATTLETOWERBATTLEROOM_YOUNGSTER
|
||||||
warpsound
|
warpsound
|
||||||
waitsfx
|
waitsfx
|
||||||
@ -32,8 +32,8 @@ Script_BattleRoomLoop: ; 0x9f425
|
|||||||
battletowertext BATTLETOWERTEXT_INTRO
|
battletowertext BATTLETOWERTEXT_INTRO
|
||||||
buttonsound
|
buttonsound
|
||||||
closetext
|
closetext
|
||||||
special Special_BattleTowerBattle ; calls predef startbattle
|
special BattleTowerBattle ; calls predef startbattle
|
||||||
special Special_FadeOutPalettes
|
special FadeOutPalettes
|
||||||
reloadmap
|
reloadmap
|
||||||
if_not_equal $0, Script_FailedBattleTowerChallenge
|
if_not_equal $0, Script_FailedBattleTowerChallenge
|
||||||
copybytetovar wNrOfBeatenBattleTowerTrainers ; wcf64
|
copybytetovar wNrOfBeatenBattleTowerTrainers ; wcf64
|
||||||
@ -48,10 +48,10 @@ Script_BattleRoomLoop: ; 0x9f425
|
|||||||
waitbutton
|
waitbutton
|
||||||
closetext
|
closetext
|
||||||
playmusic MUSIC_HEAL
|
playmusic MUSIC_HEAL
|
||||||
special Special_FadeOutPalettes
|
special FadeOutPalettes
|
||||||
special Special_LoadMapPalettes
|
special LoadMapPalettes
|
||||||
pause 60
|
pause 60
|
||||||
special Special_FadeInPalettes
|
special FadeInPalettes
|
||||||
special RestartMapMusic
|
special RestartMapMusic
|
||||||
opentext
|
opentext
|
||||||
writetext Text_NextUpOpponentNo
|
writetext Text_NextUpOpponentNo
|
||||||
@ -68,35 +68,35 @@ Script_DontBattleNextOpponent: ; 0x9f483
|
|||||||
yesorno
|
yesorno
|
||||||
iffalse Script_DontSaveAndEndTheSession
|
iffalse Script_DontSaveAndEndTheSession
|
||||||
writebyte BATTLETOWERACTION_SAVELEVELGROUP ; save level group
|
writebyte BATTLETOWERACTION_SAVELEVELGROUP ; save level group
|
||||||
special Special_BattleTowerAction
|
special BattleTowerAction
|
||||||
writebyte BATTLETOWERACTION_SAVEOPTIONS ; choose reward
|
writebyte BATTLETOWERACTION_SAVEOPTIONS ; choose reward
|
||||||
special Special_BattleTowerAction
|
special BattleTowerAction
|
||||||
writebyte BATTLETOWERACTION_SAVE_AND_QUIT ; quicksave
|
writebyte BATTLETOWERACTION_SAVE_AND_QUIT ; quicksave
|
||||||
special Special_BattleTowerAction
|
special BattleTowerAction
|
||||||
playsound SFX_SAVE
|
playsound SFX_SAVE
|
||||||
waitsfx
|
waitsfx
|
||||||
special Special_FadeOutPalettes
|
special FadeOutPalettes
|
||||||
special Reset
|
special Reset
|
||||||
Script_DontSaveAndEndTheSession: ; 0x9f4a3
|
Script_DontSaveAndEndTheSession: ; 0x9f4a3
|
||||||
writetext Text_CancelYourBattleRoomChallenge
|
writetext Text_CancelYourBattleRoomChallenge
|
||||||
yesorno
|
yesorno
|
||||||
iffalse Script_ContinueAndBattleNextOpponent
|
iffalse Script_ContinueAndBattleNextOpponent
|
||||||
writebyte BATTLETOWERACTION_CHALLENGECANCELED
|
writebyte BATTLETOWERACTION_CHALLENGECANCELED
|
||||||
special Special_BattleTowerAction
|
special BattleTowerAction
|
||||||
writebyte BATTLETOWERACTION_06
|
writebyte BATTLETOWERACTION_06
|
||||||
special Special_BattleTowerAction
|
special BattleTowerAction
|
||||||
closetext
|
closetext
|
||||||
special Special_FadeOutPalettes
|
special FadeOutPalettes
|
||||||
warpfacing UP, BATTLE_TOWER_1F, 7, 7
|
warpfacing UP, BATTLE_TOWER_1F, 7, 7
|
||||||
opentext
|
opentext
|
||||||
jump Script_BattleTowerHopeToServeYouAgain
|
jump Script_BattleTowerHopeToServeYouAgain
|
||||||
|
|
||||||
Script_FailedBattleTowerChallenge:
|
Script_FailedBattleTowerChallenge:
|
||||||
pause 60
|
pause 60
|
||||||
special Special_BattleTowerFade
|
special BattleTowerFade
|
||||||
warpfacing UP, BATTLE_TOWER_1F, 7, 7
|
warpfacing UP, BATTLE_TOWER_1F, 7, 7
|
||||||
writebyte BATTLETOWERACTION_CHALLENGECANCELED
|
writebyte BATTLETOWERACTION_CHALLENGECANCELED
|
||||||
special Special_BattleTowerAction
|
special BattleTowerAction
|
||||||
opentext
|
opentext
|
||||||
writetext Text_ThanksForVisiting
|
writetext Text_ThanksForVisiting
|
||||||
waitbutton
|
waitbutton
|
||||||
@ -105,7 +105,7 @@ Script_FailedBattleTowerChallenge:
|
|||||||
|
|
||||||
Script_BeatenAllTrainers: ; 0x9f4d9
|
Script_BeatenAllTrainers: ; 0x9f4d9
|
||||||
pause 60
|
pause 60
|
||||||
special Special_BattleTowerFade
|
special BattleTowerFade
|
||||||
warpfacing UP, BATTLE_TOWER_1F, 7, 7
|
warpfacing UP, BATTLE_TOWER_1F, 7, 7
|
||||||
Script_BeatenAllTrainers2:
|
Script_BeatenAllTrainers2:
|
||||||
opentext
|
opentext
|
||||||
@ -114,7 +114,7 @@ Script_BeatenAllTrainers2:
|
|||||||
|
|
||||||
UnreferencedScript_0x9f4eb:
|
UnreferencedScript_0x9f4eb:
|
||||||
writebyte BATTLETOWERACTION_CHALLENGECANCELED
|
writebyte BATTLETOWERACTION_CHALLENGECANCELED
|
||||||
special Special_BattleTowerAction
|
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 Special_BattleTowerAction
|
special BattleTowerAction
|
||||||
writebyte BATTLETOWERACTION_06
|
writebyte BATTLETOWERACTION_06
|
||||||
special Special_BattleTowerAction
|
special BattleTowerAction
|
||||||
opentext
|
opentext
|
||||||
writetext Text_ThanksForVisiting
|
writetext Text_ThanksForVisiting
|
||||||
writetext Text_WeHopeToServeYouAgain
|
writetext Text_WeHopeToServeYouAgain
|
||||||
|
@ -22,7 +22,7 @@ BattleTowerElevator_MapScripts:
|
|||||||
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 Special_BattleTowerAction
|
special BattleTowerAction
|
||||||
playsound SFX_ELEVATOR
|
playsound SFX_ELEVATOR
|
||||||
earthquake 60
|
earthquake 60
|
||||||
waitsfx
|
waitsfx
|
||||||
|
@ -37,7 +37,7 @@ BillsGrandpa:
|
|||||||
yesorno
|
yesorno
|
||||||
iffalse .SaidNo
|
iffalse .SaidNo
|
||||||
scall .ExcitedToSee
|
scall .ExcitedToSee
|
||||||
special Special_BillsGrandfather
|
special BillsGrandfather
|
||||||
iffalse .SaidNo
|
iffalse .SaidNo
|
||||||
if_not_equal LICKITUNG, .WrongPokemon
|
if_not_equal LICKITUNG, .WrongPokemon
|
||||||
scall .CorrectPokemon
|
scall .CorrectPokemon
|
||||||
@ -51,7 +51,7 @@ BillsGrandpa:
|
|||||||
yesorno
|
yesorno
|
||||||
iffalse .SaidNo
|
iffalse .SaidNo
|
||||||
scall .ExcitedToSee
|
scall .ExcitedToSee
|
||||||
special Special_BillsGrandfather
|
special BillsGrandfather
|
||||||
iffalse .SaidNo
|
iffalse .SaidNo
|
||||||
if_not_equal ODDISH, .WrongPokemon
|
if_not_equal ODDISH, .WrongPokemon
|
||||||
scall .CorrectPokemon
|
scall .CorrectPokemon
|
||||||
@ -65,7 +65,7 @@ BillsGrandpa:
|
|||||||
yesorno
|
yesorno
|
||||||
iffalse .SaidNo
|
iffalse .SaidNo
|
||||||
scall .ExcitedToSee
|
scall .ExcitedToSee
|
||||||
special Special_BillsGrandfather
|
special BillsGrandfather
|
||||||
iffalse .SaidNo
|
iffalse .SaidNo
|
||||||
if_not_equal STARYU, .WrongPokemon
|
if_not_equal STARYU, .WrongPokemon
|
||||||
scall .CorrectPokemon
|
scall .CorrectPokemon
|
||||||
@ -81,7 +81,7 @@ BillsGrandpa:
|
|||||||
yesorno
|
yesorno
|
||||||
iffalse .SaidNo
|
iffalse .SaidNo
|
||||||
scall .ExcitedToSee
|
scall .ExcitedToSee
|
||||||
special Special_BillsGrandfather
|
special BillsGrandfather
|
||||||
iffalse .SaidNo
|
iffalse .SaidNo
|
||||||
if_not_equal GROWLITHE, .WrongPokemon
|
if_not_equal GROWLITHE, .WrongPokemon
|
||||||
scall .CorrectPokemon
|
scall .CorrectPokemon
|
||||||
@ -95,7 +95,7 @@ BillsGrandpa:
|
|||||||
yesorno
|
yesorno
|
||||||
iffalse .SaidNo
|
iffalse .SaidNo
|
||||||
scall .ExcitedToSee
|
scall .ExcitedToSee
|
||||||
special Special_BillsGrandfather
|
special BillsGrandfather
|
||||||
iffalse .SaidNo
|
iffalse .SaidNo
|
||||||
if_not_equal VULPIX, .WrongPokemon
|
if_not_equal VULPIX, .WrongPokemon
|
||||||
scall .CorrectPokemon
|
scall .CorrectPokemon
|
||||||
@ -109,7 +109,7 @@ BillsGrandpa:
|
|||||||
yesorno
|
yesorno
|
||||||
iffalse .SaidNo
|
iffalse .SaidNo
|
||||||
scall .ExcitedToSee
|
scall .ExcitedToSee
|
||||||
special Special_BillsGrandfather
|
special BillsGrandfather
|
||||||
iffalse .SaidNo
|
iffalse .SaidNo
|
||||||
if_not_equal PICHU, .WrongPokemon
|
if_not_equal PICHU, .WrongPokemon
|
||||||
scall .CorrectPokemon
|
scall .CorrectPokemon
|
||||||
|
@ -26,21 +26,21 @@ DaisyScript:
|
|||||||
iffalse .Refused
|
iffalse .Refused
|
||||||
writetext DaisyWhichMonText
|
writetext DaisyWhichMonText
|
||||||
waitbutton
|
waitbutton
|
||||||
special Special_DaisysGrooming
|
special DaisysGrooming
|
||||||
if_equal $0, .Refused
|
if_equal $0, .Refused
|
||||||
if_equal $1, .CantGroomEgg
|
if_equal $1, .CantGroomEgg
|
||||||
setflag ENGINE_DAISYS_GROOMING
|
setflag ENGINE_DAISYS_GROOMING
|
||||||
writetext DaisyAlrightText
|
writetext DaisyAlrightText
|
||||||
waitbutton
|
waitbutton
|
||||||
closetext
|
closetext
|
||||||
special Special_FadeOutPalettes
|
special FadeOutPalettes
|
||||||
playmusic MUSIC_HEAL
|
playmusic MUSIC_HEAL
|
||||||
pause 60
|
pause 60
|
||||||
special Special_FadeInPalettes
|
special FadeInPalettes
|
||||||
special RestartMapMusic
|
special RestartMapMusic
|
||||||
opentext
|
opentext
|
||||||
writetext GroomedMonLooksContentText
|
writetext GroomedMonLooksContentText
|
||||||
special Special_PlayCurMonCry
|
special PlayCurMonCry
|
||||||
buttonsound
|
buttonsound
|
||||||
writetext DaisyAllDoneText
|
writetext DaisyAllDoneText
|
||||||
waitbutton
|
waitbutton
|
||||||
|
@ -51,7 +51,7 @@ BurnedTower1F_MapScripts:
|
|||||||
|
|
||||||
BurnedTowerRivalBattleScript:
|
BurnedTowerRivalBattleScript:
|
||||||
showemote EMOTE_SHOCK, BURNEDTOWER1F_SILVER, 15
|
showemote EMOTE_SHOCK, BURNEDTOWER1F_SILVER, 15
|
||||||
special Special_FadeOutMusic
|
special FadeOutMusic
|
||||||
pause 15
|
pause 15
|
||||||
spriteface BURNEDTOWER1F_SILVER, RIGHT
|
spriteface BURNEDTOWER1F_SILVER, RIGHT
|
||||||
pause 15
|
pause 15
|
||||||
@ -100,7 +100,7 @@ BurnedTowerRivalBattleScript:
|
|||||||
closetext
|
closetext
|
||||||
setscene 2
|
setscene 2
|
||||||
setevent EVENT_RIVAL_BURNED_TOWER
|
setevent EVENT_RIVAL_BURNED_TOWER
|
||||||
special Special_FadeOutMusic
|
special FadeOutMusic
|
||||||
pause 15
|
pause 15
|
||||||
earthquake 50
|
earthquake 50
|
||||||
showemote EMOTE_SHOCK, PLAYER, 15
|
showemote EMOTE_SHOCK, PLAYER, 15
|
||||||
|
@ -83,7 +83,7 @@ ReleaseTheBeasts:
|
|||||||
special RestartMapMusic
|
special RestartMapMusic
|
||||||
setscene 1
|
setscene 1
|
||||||
setevent EVENT_RELEASED_THE_BEASTS
|
setevent EVENT_RELEASED_THE_BEASTS
|
||||||
special Special_InitRoamMons
|
special InitRoamMons
|
||||||
setmapscene ECRUTEAK_GYM, 1
|
setmapscene ECRUTEAK_GYM, 1
|
||||||
setmapscene CIANWOOD_CITY, 1
|
setmapscene CIANWOOD_CITY, 1
|
||||||
clearevent EVENT_SAW_SUICUNE_AT_CIANWOOD_CITY
|
clearevent EVENT_SAW_SUICUNE_AT_CIANWOOD_CITY
|
||||||
|
@ -24,7 +24,7 @@ CeladonDeptStore6FVendingMachine:
|
|||||||
opentext
|
opentext
|
||||||
writetext CeladonVendingText
|
writetext CeladonVendingText
|
||||||
.Start:
|
.Start:
|
||||||
special Special_PlaceMoneyTopRight
|
special PlaceMoneyTopRight
|
||||||
loadmenuheader .MenuHeader
|
loadmenuheader .MenuHeader
|
||||||
verticalmenu
|
verticalmenu
|
||||||
closewindow
|
closewindow
|
||||||
|
@ -115,20 +115,20 @@ CeladonGameCornerLuckySlotMachineScript:
|
|||||||
if_equal 0, CeladonGameCornerSlotMachineScript
|
if_equal 0, CeladonGameCornerSlotMachineScript
|
||||||
refreshscreen
|
refreshscreen
|
||||||
writebyte FALSE
|
writebyte FALSE
|
||||||
special Special_SlotMachine
|
special SlotMachine
|
||||||
closetext
|
closetext
|
||||||
end
|
end
|
||||||
|
|
||||||
CeladonGameCornerSlotMachineScript:
|
CeladonGameCornerSlotMachineScript:
|
||||||
refreshscreen
|
refreshscreen
|
||||||
writebyte TRUE
|
writebyte TRUE
|
||||||
special Special_SlotMachine
|
special SlotMachine
|
||||||
closetext
|
closetext
|
||||||
end
|
end
|
||||||
|
|
||||||
CeladonGameCornerCardFlipScript:
|
CeladonGameCornerCardFlipScript:
|
||||||
refreshscreen
|
refreshscreen
|
||||||
special Special_CardFlip
|
special CardFlip
|
||||||
closetext
|
closetext
|
||||||
end
|
end
|
||||||
|
|
||||||
@ -139,7 +139,7 @@ MapCeladonGameCornerSignpost9Script:
|
|||||||
opentext
|
opentext
|
||||||
writetext UnknownText_0x72567
|
writetext UnknownText_0x72567
|
||||||
waitbutton
|
waitbutton
|
||||||
special Special_CardFlip
|
special CardFlip
|
||||||
closetext
|
closetext
|
||||||
end
|
end
|
||||||
|
|
||||||
|
@ -24,7 +24,7 @@ CeladonGameCornerPrizeRoomTMVendor:
|
|||||||
iffalse CeladonPrizeRoom_NoCoinCase
|
iffalse CeladonPrizeRoom_NoCoinCase
|
||||||
writetext CeladonPrizeRoom_AskWhichPrizeText
|
writetext CeladonPrizeRoom_AskWhichPrizeText
|
||||||
CeladonPrizeRoom_tmcounterloop:
|
CeladonPrizeRoom_tmcounterloop:
|
||||||
special Special_DisplayCoinCaseBalance
|
special DisplayCoinCaseBalance
|
||||||
loadmenuheader CeladonPrizeRoom_TMMenuHeader
|
loadmenuheader CeladonPrizeRoom_TMMenuHeader
|
||||||
verticalmenu
|
verticalmenu
|
||||||
closewindow
|
closewindow
|
||||||
@ -125,7 +125,7 @@ CeladonGameCornerPrizeRoomPokemonVendor:
|
|||||||
iffalse CeladonPrizeRoom_NoCoinCase
|
iffalse CeladonPrizeRoom_NoCoinCase
|
||||||
.loop
|
.loop
|
||||||
writetext CeladonPrizeRoom_AskWhichPrizeText
|
writetext CeladonPrizeRoom_AskWhichPrizeText
|
||||||
special Special_DisplayCoinCaseBalance
|
special DisplayCoinCaseBalance
|
||||||
loadmenuheader .MenuHeader
|
loadmenuheader .MenuHeader
|
||||||
verticalmenu
|
verticalmenu
|
||||||
closewindow
|
closewindow
|
||||||
@ -147,7 +147,7 @@ CeladonGameCornerPrizeRoomPokemonVendor:
|
|||||||
writetext CeladonPrizeRoom_HereYouGoText
|
writetext CeladonPrizeRoom_HereYouGoText
|
||||||
waitbutton
|
waitbutton
|
||||||
writebyte PIKACHU
|
writebyte PIKACHU
|
||||||
special Special_GameCornerPrizeMonCheckDex
|
special GameCornerPrizeMonCheckDex
|
||||||
givepoke PIKACHU, 25
|
givepoke PIKACHU, 25
|
||||||
takecoins 2222
|
takecoins 2222
|
||||||
jump .loop
|
jump .loop
|
||||||
@ -165,7 +165,7 @@ CeladonGameCornerPrizeRoomPokemonVendor:
|
|||||||
writetext CeladonPrizeRoom_HereYouGoText
|
writetext CeladonPrizeRoom_HereYouGoText
|
||||||
waitbutton
|
waitbutton
|
||||||
writebyte PORYGON
|
writebyte PORYGON
|
||||||
special Special_GameCornerPrizeMonCheckDex
|
special GameCornerPrizeMonCheckDex
|
||||||
givepoke PORYGON, 15
|
givepoke PORYGON, 15
|
||||||
takecoins 5555
|
takecoins 5555
|
||||||
jump .loop
|
jump .loop
|
||||||
@ -183,7 +183,7 @@ CeladonGameCornerPrizeRoomPokemonVendor:
|
|||||||
writetext CeladonPrizeRoom_HereYouGoText
|
writetext CeladonPrizeRoom_HereYouGoText
|
||||||
waitbutton
|
waitbutton
|
||||||
writebyte LARVITAR
|
writebyte LARVITAR
|
||||||
special Special_GameCornerPrizeMonCheckDex
|
special GameCornerPrizeMonCheckDex
|
||||||
givepoke LARVITAR, 40
|
givepoke LARVITAR, 40
|
||||||
takecoins 8888
|
takecoins 8888
|
||||||
jump .loop
|
jump .loop
|
||||||
|
@ -28,7 +28,7 @@ UnknownScript_0x7167e:
|
|||||||
waitsfx
|
waitsfx
|
||||||
writetext UnknownText_0x71760
|
writetext UnknownText_0x71760
|
||||||
buttonsound
|
buttonsound
|
||||||
special Special_Diploma
|
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 Special_PrintDiploma
|
special PrintDiploma
|
||||||
closetext
|
closetext
|
||||||
end
|
end
|
||||||
|
|
||||||
|
@ -30,9 +30,9 @@ CeladonEusine:
|
|||||||
writetext CeladonEusineText1
|
writetext CeladonEusineText1
|
||||||
buttonsound
|
buttonsound
|
||||||
writebyte SUICUNE
|
writebyte SUICUNE
|
||||||
special Special_MonCheck
|
special MonCheck
|
||||||
iffalse .NoSuicune
|
iffalse .NoSuicune
|
||||||
special Special_BeastsCheck
|
special BeastsCheck
|
||||||
iftrue .HoOh
|
iftrue .HoOh
|
||||||
writetext NoBeastsText
|
writetext NoBeastsText
|
||||||
waitbutton
|
waitbutton
|
||||||
|
@ -14,7 +14,7 @@ NurseScript_0x18820f:
|
|||||||
jumpstd pokecenternurse
|
jumpstd pokecenternurse
|
||||||
|
|
||||||
SuperNerdScript_0x188212:
|
SuperNerdScript_0x188212:
|
||||||
special Special_Mobile_DummyReturnFalse
|
special Mobile_DummyReturnFalse
|
||||||
iftrue .mobile
|
iftrue .mobile
|
||||||
jumptextfaceplayer UnknownText_0x188221
|
jumptextfaceplayer UnknownText_0x188221
|
||||||
|
|
||||||
|
@ -105,7 +105,7 @@ CherrygroveSilverSceneSouth:
|
|||||||
CherrygroveSilverSceneNorth:
|
CherrygroveSilverSceneNorth:
|
||||||
spriteface PLAYER, RIGHT
|
spriteface PLAYER, RIGHT
|
||||||
showemote EMOTE_SHOCK, PLAYER, 15
|
showemote EMOTE_SHOCK, PLAYER, 15
|
||||||
special Special_FadeOutMusic
|
special FadeOutMusic
|
||||||
pause 15
|
pause 15
|
||||||
appear CHERRYGROVECITY_SILVER
|
appear CHERRYGROVECITY_SILVER
|
||||||
applymovement CHERRYGROVECITY_SILVER, CherrygroveCity_RivalWalksToYou
|
applymovement CHERRYGROVECITY_SILVER, CherrygroveCity_RivalWalksToYou
|
||||||
|
@ -76,7 +76,7 @@ CianwoodCitySuicuneAndEusine:
|
|||||||
applymovement CIANWOODCITY_EUSINE, MovementData_0x1a00ec
|
applymovement CIANWOODCITY_EUSINE, MovementData_0x1a00ec
|
||||||
disappear CIANWOODCITY_EUSINE
|
disappear CIANWOODCITY_EUSINE
|
||||||
pause 20
|
pause 20
|
||||||
special Special_FadeOutMusic
|
special FadeOutMusic
|
||||||
playmapmusic
|
playmapmusic
|
||||||
pause 10
|
pause 10
|
||||||
.Done:
|
.Done:
|
||||||
|
@ -16,7 +16,7 @@ FishingGuruScript_0x9e0e0:
|
|||||||
iffalse UnknownScript_0x9e0f3
|
iffalse UnknownScript_0x9e0f3
|
||||||
writetext UnknownText_0x9e142
|
writetext UnknownText_0x9e142
|
||||||
waitbutton
|
waitbutton
|
||||||
special Special_PhotoStudio
|
special PhotoStudio
|
||||||
waitbutton
|
waitbutton
|
||||||
closetext
|
closetext
|
||||||
end
|
end
|
||||||
|
@ -25,7 +25,7 @@ Colosseum_MapScripts:
|
|||||||
end
|
end
|
||||||
|
|
||||||
.SetWhichChris:
|
.SetWhichChris:
|
||||||
special Special_CableClubCheckWhichChris
|
special CableClubCheckWhichChris
|
||||||
iffalse .Chris2
|
iffalse .Chris2
|
||||||
disappear COLOSSEUM_CHRIS2
|
disappear COLOSSEUM_CHRIS2
|
||||||
appear COLOSSEUM_CHRIS1
|
appear COLOSSEUM_CHRIS1
|
||||||
@ -46,7 +46,7 @@ Colosseum_MapScripts:
|
|||||||
end
|
end
|
||||||
|
|
||||||
MapColosseumSignpost1Script:
|
MapColosseumSignpost1Script:
|
||||||
special Special_Colosseum
|
special Colosseum
|
||||||
newloadmap MAPSETUP_LINKRETURN
|
newloadmap MAPSETUP_LINKRETURN
|
||||||
end
|
end
|
||||||
|
|
||||||
|
@ -46,7 +46,7 @@ Copycat:
|
|||||||
faceplayer
|
faceplayer
|
||||||
variablesprite SPRITE_COPYCAT, SPRITE_KRIS
|
variablesprite SPRITE_COPYCAT, SPRITE_KRIS
|
||||||
.Default_Merge_1:
|
.Default_Merge_1:
|
||||||
special Special_LoadUsedSpritesGFX
|
special LoadUsedSpritesGFX
|
||||||
checkevent EVENT_RETURNED_MACHINE_PART
|
checkevent EVENT_RETURNED_MACHINE_PART
|
||||||
iftrue .TalkAboutLostItem
|
iftrue .TalkAboutLostItem
|
||||||
opentext
|
opentext
|
||||||
@ -70,7 +70,7 @@ Copycat:
|
|||||||
.Default_Merge_3a:
|
.Default_Merge_3a:
|
||||||
faceplayer
|
faceplayer
|
||||||
variablesprite SPRITE_COPYCAT, SPRITE_LASS
|
variablesprite SPRITE_COPYCAT, SPRITE_LASS
|
||||||
special Special_LoadUsedSpritesGFX
|
special LoadUsedSpritesGFX
|
||||||
opentext
|
opentext
|
||||||
writetext CopycatText_QuickMimicking
|
writetext CopycatText_QuickMimicking
|
||||||
waitbutton
|
waitbutton
|
||||||
@ -99,7 +99,7 @@ Copycat:
|
|||||||
.Default_Merge_3b:
|
.Default_Merge_3b:
|
||||||
faceplayer
|
faceplayer
|
||||||
variablesprite SPRITE_COPYCAT, SPRITE_LASS
|
variablesprite SPRITE_COPYCAT, SPRITE_LASS
|
||||||
special Special_LoadUsedSpritesGFX
|
special LoadUsedSpritesGFX
|
||||||
opentext
|
opentext
|
||||||
writetext CopycatText_Worried
|
writetext CopycatText_Worried
|
||||||
waitbutton
|
waitbutton
|
||||||
@ -142,7 +142,7 @@ Copycat:
|
|||||||
faceplayer
|
faceplayer
|
||||||
variablesprite SPRITE_COPYCAT, SPRITE_KRIS
|
variablesprite SPRITE_COPYCAT, SPRITE_KRIS
|
||||||
.GotPass_Merge_1:
|
.GotPass_Merge_1:
|
||||||
special Special_LoadUsedSpritesGFX
|
special LoadUsedSpritesGFX
|
||||||
opentext
|
opentext
|
||||||
checkflag ENGINE_PLAYER_IS_FEMALE
|
checkflag ENGINE_PLAYER_IS_FEMALE
|
||||||
iftrue .GotPass_Female_2
|
iftrue .GotPass_Female_2
|
||||||
@ -164,7 +164,7 @@ Copycat:
|
|||||||
.GotPass_Merge_3:
|
.GotPass_Merge_3:
|
||||||
faceplayer
|
faceplayer
|
||||||
variablesprite SPRITE_COPYCAT, SPRITE_LASS
|
variablesprite SPRITE_COPYCAT, SPRITE_LASS
|
||||||
special Special_LoadUsedSpritesGFX
|
special LoadUsedSpritesGFX
|
||||||
opentext
|
opentext
|
||||||
writetext CopycatText_ItsAScream
|
writetext CopycatText_ItsAScream
|
||||||
waitbutton
|
waitbutton
|
||||||
|
@ -32,7 +32,7 @@ DayCareManScript_Inside:
|
|||||||
closetext
|
closetext
|
||||||
checkcode VAR_PARTYCOUNT
|
checkcode VAR_PARTYCOUNT
|
||||||
if_equal PARTY_LENGTH, .PartyFull
|
if_equal PARTY_LENGTH, .PartyFull
|
||||||
special Special_GiveOddEgg
|
special GiveOddEgg
|
||||||
opentext
|
opentext
|
||||||
writetext DayCareText_GotOddEgg
|
writetext DayCareText_GotOddEgg
|
||||||
playsound SFX_KEY_ITEM
|
playsound SFX_KEY_ITEM
|
||||||
@ -51,7 +51,7 @@ DayCareManScript_Inside:
|
|||||||
end
|
end
|
||||||
|
|
||||||
.AlreadyHaveOddEgg:
|
.AlreadyHaveOddEgg:
|
||||||
special Special_DayCareMan
|
special DayCareMan
|
||||||
waitbutton
|
waitbutton
|
||||||
closetext
|
closetext
|
||||||
end
|
end
|
||||||
@ -61,7 +61,7 @@ DayCareLadyScript:
|
|||||||
opentext
|
opentext
|
||||||
checkflag ENGINE_DAY_CARE_MAN_HAS_EGG
|
checkflag ENGINE_DAY_CARE_MAN_HAS_EGG
|
||||||
iftrue .HusbandWasLookingForYou
|
iftrue .HusbandWasLookingForYou
|
||||||
special Special_DayCareLady
|
special DayCareLady
|
||||||
waitbutton
|
waitbutton
|
||||||
closetext
|
closetext
|
||||||
end
|
end
|
||||||
|
@ -134,7 +134,7 @@ DragonShrine_MapScripts:
|
|||||||
writetext DragonShrineClairYouPassedText
|
writetext DragonShrineClairYouPassedText
|
||||||
waitbutton
|
waitbutton
|
||||||
closetext
|
closetext
|
||||||
special Special_FadeOutMusic
|
special FadeOutMusic
|
||||||
applymovement DRAGONSHRINE_CLAIR, DragonShrineClairBigStepLeftMovement
|
applymovement DRAGONSHRINE_CLAIR, DragonShrineClairBigStepLeftMovement
|
||||||
opentext
|
opentext
|
||||||
writetext DragonShrineClairThatCantBeText
|
writetext DragonShrineClairThatCantBeText
|
||||||
@ -217,7 +217,7 @@ DragonShrineElder1Script:
|
|||||||
waitsfx
|
waitsfx
|
||||||
givepoke DRATINI, 15
|
givepoke DRATINI, 15
|
||||||
checkevent EVENT_ANSWERED_DRAGON_MASTER_QUIZ_WRONG
|
checkevent EVENT_ANSWERED_DRAGON_MASTER_QUIZ_WRONG
|
||||||
special Special_Dratini
|
special Dratini
|
||||||
setevent EVENT_GOT_DRATINI
|
setevent EVENT_GOT_DRATINI
|
||||||
setevent EVENT_TEMPORARY_UNTIL_MAP_RELOAD_7
|
setevent EVENT_TEMPORARY_UNTIL_MAP_RELOAD_7
|
||||||
writetext DragonShrineSymbolicDragonText
|
writetext DragonShrineSymbolicDragonText
|
||||||
|
@ -76,7 +76,7 @@ DragonsDenB1F_ClairScene:
|
|||||||
closetext
|
closetext
|
||||||
.FinishClair:
|
.FinishClair:
|
||||||
applymovement DRAGONSDENB1F_CLAIR, MovementDragonsDen_ClairWalksAway
|
applymovement DRAGONSDENB1F_CLAIR, MovementDragonsDen_ClairWalksAway
|
||||||
special Special_FadeOutMusic
|
special FadeOutMusic
|
||||||
pause 30
|
pause 30
|
||||||
special RestartMapMusic
|
special RestartMapMusic
|
||||||
disappear DRAGONSDENB1F_CLAIR
|
disappear DRAGONSDENB1F_CLAIR
|
||||||
|
@ -91,7 +91,7 @@ EcruteakGymClosed:
|
|||||||
follow PLAYER, ECRUTEAKGYM_GRAMPS
|
follow PLAYER, ECRUTEAKGYM_GRAMPS
|
||||||
applymovement PLAYER, MovementData_0x99e5f
|
applymovement PLAYER, MovementData_0x99e5f
|
||||||
stopfollow
|
stopfollow
|
||||||
special Special_FadeOutPalettes
|
special FadeOutPalettes
|
||||||
playsound SFX_ENTER_DOOR
|
playsound SFX_ENTER_DOOR
|
||||||
waitsfx
|
waitsfx
|
||||||
warp ECRUTEAK_CITY, 6, 27
|
warp ECRUTEAK_CITY, 6, 27
|
||||||
|
@ -61,7 +61,7 @@ EcruteakPokecenter1FNurseScript:
|
|||||||
jumpstd pokecenternurse
|
jumpstd pokecenternurse
|
||||||
|
|
||||||
EcruteakPokecenter1FPokefanMScript:
|
EcruteakPokecenter1FPokefanMScript:
|
||||||
special Special_Mobile_DummyReturnFalse
|
special Mobile_DummyReturnFalse
|
||||||
iftrue .mobile
|
iftrue .mobile
|
||||||
jumptextfaceplayer EcruteakPokecenter1FPokefanMText
|
jumptextfaceplayer EcruteakPokecenter1FPokefanMText
|
||||||
|
|
||||||
|
@ -108,10 +108,10 @@ ElmCheckEverstone:
|
|||||||
checkevent EVENT_TOLD_ELM_ABOUT_TOGEPI_OVER_THE_PHONE
|
checkevent EVENT_TOLD_ELM_ABOUT_TOGEPI_OVER_THE_PHONE
|
||||||
iffalse ElmCheckTogepiEgg
|
iffalse ElmCheckTogepiEgg
|
||||||
writebyte TOGEPI
|
writebyte TOGEPI
|
||||||
special Special_FindPartyMonThatSpeciesYourTrainerID
|
special FindPartyMonThatSpeciesYourTrainerID
|
||||||
iftrue ShowElmTogepiScript
|
iftrue ShowElmTogepiScript
|
||||||
writebyte TOGETIC
|
writebyte TOGETIC
|
||||||
special Special_FindPartyMonThatSpeciesYourTrainerID
|
special FindPartyMonThatSpeciesYourTrainerID
|
||||||
iftrue ShowElmTogepiScript
|
iftrue ShowElmTogepiScript
|
||||||
writetext UnknownText_0x79a40
|
writetext UnknownText_0x79a40
|
||||||
waitbutton
|
waitbutton
|
||||||
@ -120,10 +120,10 @@ ElmCheckEverstone:
|
|||||||
|
|
||||||
ElmEggHatchedScript:
|
ElmEggHatchedScript:
|
||||||
writebyte TOGEPI
|
writebyte TOGEPI
|
||||||
special Special_FindPartyMonThatSpeciesYourTrainerID
|
special FindPartyMonThatSpeciesYourTrainerID
|
||||||
iftrue ShowElmTogepiScript
|
iftrue ShowElmTogepiScript
|
||||||
writebyte TOGETIC
|
writebyte TOGETIC
|
||||||
special Special_FindPartyMonThatSpeciesYourTrainerID
|
special FindPartyMonThatSpeciesYourTrainerID
|
||||||
iftrue ShowElmTogepiScript
|
iftrue ShowElmTogepiScript
|
||||||
jump ElmCheckGotEggAgain
|
jump ElmCheckGotEggAgain
|
||||||
|
|
||||||
@ -308,11 +308,11 @@ ElmsLabHealingMachine:
|
|||||||
end
|
end
|
||||||
|
|
||||||
ElmsLabHealingMachine_HealParty:
|
ElmsLabHealingMachine_HealParty:
|
||||||
special Special_StubbedTrainerRankings_Healings
|
special StubbedTrainerRankings_Healings
|
||||||
special HealParty
|
special HealParty
|
||||||
playmusic MUSIC_NONE
|
playmusic MUSIC_NONE
|
||||||
writebyte HEALMACHINE_ELMS_LAB
|
writebyte HEALMACHINE_ELMS_LAB
|
||||||
special Special_HealMachineAnim
|
special HealMachineAnim
|
||||||
pause 30
|
pause 30
|
||||||
special RestartMapMusic
|
special RestartMapMusic
|
||||||
closetext
|
closetext
|
||||||
@ -556,7 +556,7 @@ CopScript:
|
|||||||
opentext
|
opentext
|
||||||
writetext ElmsLabOfficerText1
|
writetext ElmsLabOfficerText1
|
||||||
buttonsound
|
buttonsound
|
||||||
special Special_NameRival
|
special NameRival
|
||||||
writetext ElmsLabOfficerText2
|
writetext ElmsLabOfficerText2
|
||||||
waitbutton
|
waitbutton
|
||||||
closetext
|
closetext
|
||||||
|
@ -68,7 +68,7 @@ SailorScript_0x75160:
|
|||||||
closetext
|
closetext
|
||||||
scall .LetThePlayerOut
|
scall .LetThePlayerOut
|
||||||
playsound SFX_EXIT_BUILDING
|
playsound SFX_EXIT_BUILDING
|
||||||
special Special_FadeOutPalettes
|
special FadeOutPalettes
|
||||||
waitsfx
|
waitsfx
|
||||||
setevent EVENT_VERMILION_PORT_SAILOR_AT_GANGWAY
|
setevent EVENT_VERMILION_PORT_SAILOR_AT_GANGWAY
|
||||||
setmapscene VERMILION_PORT, 1
|
setmapscene VERMILION_PORT, 1
|
||||||
@ -81,7 +81,7 @@ SailorScript_0x75160:
|
|||||||
closetext
|
closetext
|
||||||
scall .LetThePlayerOut
|
scall .LetThePlayerOut
|
||||||
playsound SFX_EXIT_BUILDING
|
playsound SFX_EXIT_BUILDING
|
||||||
special Special_FadeOutPalettes
|
special FadeOutPalettes
|
||||||
waitsfx
|
waitsfx
|
||||||
setevent EVENT_OLIVINE_PORT_SAILOR_AT_GANGWAY
|
setevent EVENT_OLIVINE_PORT_SAILOR_AT_GANGWAY
|
||||||
setmapscene OLIVINE_PORT, 1
|
setmapscene OLIVINE_PORT, 1
|
||||||
|
@ -48,7 +48,7 @@ SSAquaGranddaughterBefore:
|
|||||||
writetext SSAquaGranddaughterHasToFindGrandpaText
|
writetext SSAquaGranddaughterHasToFindGrandpaText
|
||||||
waitbutton
|
waitbutton
|
||||||
closetext
|
closetext
|
||||||
special Special_FadeBlackQuickly
|
special FadeBlackQuickly
|
||||||
special ReloadSpritesNoPalettes
|
special ReloadSpritesNoPalettes
|
||||||
disappear FASTSHIPCABINS_SE_SSE_CAPTAINSCABIN_TWIN2
|
disappear FASTSHIPCABINS_SE_SSE_CAPTAINSCABIN_TWIN2
|
||||||
applymovement PLAYER, MovementData_0x76004
|
applymovement PLAYER, MovementData_0x76004
|
||||||
@ -56,7 +56,7 @@ SSAquaGranddaughterBefore:
|
|||||||
appear FASTSHIPCABINS_SE_SSE_CAPTAINSCABIN_TWIN1
|
appear FASTSHIPCABINS_SE_SSE_CAPTAINSCABIN_TWIN1
|
||||||
spriteface PLAYER, UP
|
spriteface PLAYER, UP
|
||||||
spriteface FASTSHIPCABINS_SE_SSE_CAPTAINSCABIN_TWIN1, UP
|
spriteface FASTSHIPCABINS_SE_SSE_CAPTAINSCABIN_TWIN1, UP
|
||||||
special Special_FadeInQuickly
|
special FadeInQuickly
|
||||||
spriteface FASTSHIPCABINS_SE_SSE_CAPTAINSCABIN_GENTLEMAN, DOWN
|
spriteface FASTSHIPCABINS_SE_SSE_CAPTAINSCABIN_GENTLEMAN, DOWN
|
||||||
showemote EMOTE_SHOCK, FASTSHIPCABINS_SE_SSE_CAPTAINSCABIN_GENTLEMAN, 15
|
showemote EMOTE_SHOCK, FASTSHIPCABINS_SE_SSE_CAPTAINSCABIN_GENTLEMAN, 15
|
||||||
applymovement FASTSHIPCABINS_SE_SSE_CAPTAINSCABIN_TWIN1, MovementData_0x7600c
|
applymovement FASTSHIPCABINS_SE_SSE_CAPTAINSCABIN_TWIN1, MovementData_0x7600c
|
||||||
|
@ -49,7 +49,7 @@ TrainerGuitaristClyde:
|
|||||||
|
|
||||||
.Script:
|
.Script:
|
||||||
end_if_just_battled
|
end_if_just_battled
|
||||||
special Special_Mobile_DummyReturnFalse
|
special Mobile_DummyReturnFalse
|
||||||
iftrue .mobile
|
iftrue .mobile
|
||||||
opentext
|
opentext
|
||||||
writetext UnknownText_0x75d65
|
writetext UnknownText_0x75d65
|
||||||
@ -69,14 +69,14 @@ FastShipBed:
|
|||||||
writetext FastShipBedText1
|
writetext FastShipBedText1
|
||||||
waitbutton
|
waitbutton
|
||||||
closetext
|
closetext
|
||||||
special Special_FadeBlackQuickly
|
special FadeBlackQuickly
|
||||||
special ReloadSpritesNoPalettes
|
special ReloadSpritesNoPalettes
|
||||||
special Special_StubbedTrainerRankings_Healings
|
special StubbedTrainerRankings_Healings
|
||||||
special HealParty
|
special HealParty
|
||||||
playmusic MUSIC_HEAL
|
playmusic MUSIC_HEAL
|
||||||
pause 60
|
pause 60
|
||||||
special RestartMapMusic
|
special RestartMapMusic
|
||||||
special Special_FadeInQuickly
|
special FadeInQuickly
|
||||||
opentext
|
opentext
|
||||||
writetext FastShipBedText2
|
writetext FastShipBedText2
|
||||||
waitbutton
|
waitbutton
|
||||||
|
@ -35,7 +35,7 @@ FuchsiaGymJanineScript:
|
|||||||
variablesprite SPRITE_FUCHSIA_GYM_2, SPRITE_LASS
|
variablesprite SPRITE_FUCHSIA_GYM_2, SPRITE_LASS
|
||||||
variablesprite SPRITE_FUCHSIA_GYM_3, SPRITE_LASS
|
variablesprite SPRITE_FUCHSIA_GYM_3, SPRITE_LASS
|
||||||
variablesprite SPRITE_FUCHSIA_GYM_4, SPRITE_YOUNGSTER
|
variablesprite SPRITE_FUCHSIA_GYM_4, SPRITE_YOUNGSTER
|
||||||
special Special_LoadUsedSpritesGFX
|
special LoadUsedSpritesGFX
|
||||||
opentext
|
opentext
|
||||||
writetext Text_ReceivedSoulBadge
|
writetext Text_ReceivedSoulBadge
|
||||||
playsound SFX_GET_BADGE
|
playsound SFX_GET_BADGE
|
||||||
@ -65,7 +65,7 @@ LassAliceScript:
|
|||||||
applymovement FUCHSIAGYM_FUCHSIA_GYM_1, Movement_NinjaSpin
|
applymovement FUCHSIAGYM_FUCHSIA_GYM_1, Movement_NinjaSpin
|
||||||
faceplayer
|
faceplayer
|
||||||
variablesprite SPRITE_FUCHSIA_GYM_1, SPRITE_LASS
|
variablesprite SPRITE_FUCHSIA_GYM_1, SPRITE_LASS
|
||||||
special Special_LoadUsedSpritesGFX
|
special LoadUsedSpritesGFX
|
||||||
.AliceUnmasked:
|
.AliceUnmasked:
|
||||||
faceplayer
|
faceplayer
|
||||||
opentext
|
opentext
|
||||||
@ -99,7 +99,7 @@ LassLindaScript:
|
|||||||
applymovement FUCHSIAGYM_FUCHSIA_GYM_2, Movement_NinjaSpin
|
applymovement FUCHSIAGYM_FUCHSIA_GYM_2, Movement_NinjaSpin
|
||||||
faceplayer
|
faceplayer
|
||||||
variablesprite SPRITE_FUCHSIA_GYM_2, SPRITE_LASS
|
variablesprite SPRITE_FUCHSIA_GYM_2, SPRITE_LASS
|
||||||
special Special_LoadUsedSpritesGFX
|
special LoadUsedSpritesGFX
|
||||||
.LindaUnmasked:
|
.LindaUnmasked:
|
||||||
faceplayer
|
faceplayer
|
||||||
opentext
|
opentext
|
||||||
@ -133,7 +133,7 @@ PicnickerCindyScript:
|
|||||||
applymovement FUCHSIAGYM_FUCHSIA_GYM_3, Movement_NinjaSpin
|
applymovement FUCHSIAGYM_FUCHSIA_GYM_3, Movement_NinjaSpin
|
||||||
faceplayer
|
faceplayer
|
||||||
variablesprite SPRITE_FUCHSIA_GYM_3, SPRITE_LASS
|
variablesprite SPRITE_FUCHSIA_GYM_3, SPRITE_LASS
|
||||||
special Special_LoadUsedSpritesGFX
|
special LoadUsedSpritesGFX
|
||||||
.CindyUnmasked:
|
.CindyUnmasked:
|
||||||
faceplayer
|
faceplayer
|
||||||
opentext
|
opentext
|
||||||
@ -167,7 +167,7 @@ CamperBarryScript:
|
|||||||
applymovement FUCHSIAGYM_FUCHSIA_GYM_4, Movement_NinjaSpin
|
applymovement FUCHSIAGYM_FUCHSIA_GYM_4, Movement_NinjaSpin
|
||||||
faceplayer
|
faceplayer
|
||||||
variablesprite SPRITE_FUCHSIA_GYM_4, SPRITE_YOUNGSTER
|
variablesprite SPRITE_FUCHSIA_GYM_4, SPRITE_YOUNGSTER
|
||||||
special Special_LoadUsedSpritesGFX
|
special LoadUsedSpritesGFX
|
||||||
.BarryUnmasked:
|
.BarryUnmasked:
|
||||||
faceplayer
|
faceplayer
|
||||||
opentext
|
opentext
|
||||||
|
@ -33,7 +33,7 @@ JanineImpersonatorScript_0x196462:
|
|||||||
applymovement FUCHSIAPOKECENTER1F_JANINE_IMPERSONATOR, MovementData_0x196486
|
applymovement FUCHSIAPOKECENTER1F_JANINE_IMPERSONATOR, MovementData_0x196486
|
||||||
faceplayer
|
faceplayer
|
||||||
variablesprite SPRITE_JANINE_IMPERSONATOR, SPRITE_JANINE
|
variablesprite SPRITE_JANINE_IMPERSONATOR, SPRITE_JANINE
|
||||||
special Special_LoadUsedSpritesGFX
|
special LoadUsedSpritesGFX
|
||||||
opentext
|
opentext
|
||||||
writetext UnknownText_0x19654e
|
writetext UnknownText_0x19654e
|
||||||
waitbutton
|
waitbutton
|
||||||
@ -41,7 +41,7 @@ JanineImpersonatorScript_0x196462:
|
|||||||
applymovement FUCHSIAPOKECENTER1F_JANINE_IMPERSONATOR, MovementData_0x196486
|
applymovement FUCHSIAPOKECENTER1F_JANINE_IMPERSONATOR, MovementData_0x196486
|
||||||
faceplayer
|
faceplayer
|
||||||
variablesprite SPRITE_JANINE_IMPERSONATOR, SPRITE_LASS
|
variablesprite SPRITE_JANINE_IMPERSONATOR, SPRITE_LASS
|
||||||
special Special_LoadUsedSpritesGFX
|
special LoadUsedSpritesGFX
|
||||||
end
|
end
|
||||||
|
|
||||||
MovementData_0x196486:
|
MovementData_0x196486:
|
||||||
|
@ -58,7 +58,7 @@ MoveTutorScript:
|
|||||||
writetext UnknownText_0x199042
|
writetext UnknownText_0x199042
|
||||||
yesorno
|
yesorno
|
||||||
iffalse .Refused
|
iffalse .Refused
|
||||||
special Special_DisplayCoinCaseBalance
|
special DisplayCoinCaseBalance
|
||||||
writetext UnknownText_0x199090
|
writetext UnknownText_0x199090
|
||||||
yesorno
|
yesorno
|
||||||
iffalse .Refused2
|
iffalse .Refused2
|
||||||
@ -76,21 +76,21 @@ MoveTutorScript:
|
|||||||
.Flamethrower:
|
.Flamethrower:
|
||||||
writebyte MOVETUTOR_FLAMETHROWER
|
writebyte MOVETUTOR_FLAMETHROWER
|
||||||
writetext UnknownText_0x1991cf
|
writetext UnknownText_0x1991cf
|
||||||
special Special_MoveTutor
|
special MoveTutor
|
||||||
if_equal FALSE, .TeachMove
|
if_equal FALSE, .TeachMove
|
||||||
jump .Incompatible
|
jump .Incompatible
|
||||||
|
|
||||||
.Thunderbolt:
|
.Thunderbolt:
|
||||||
writebyte MOVETUTOR_THUNDERBOLT
|
writebyte MOVETUTOR_THUNDERBOLT
|
||||||
writetext UnknownText_0x1991cf
|
writetext UnknownText_0x1991cf
|
||||||
special Special_MoveTutor
|
special MoveTutor
|
||||||
if_equal FALSE, .TeachMove
|
if_equal FALSE, .TeachMove
|
||||||
jump .Incompatible
|
jump .Incompatible
|
||||||
|
|
||||||
.IceBeam:
|
.IceBeam:
|
||||||
writebyte MOVETUTOR_ICE_BEAM
|
writebyte MOVETUTOR_ICE_BEAM
|
||||||
writetext UnknownText_0x1991cf
|
writetext UnknownText_0x1991cf
|
||||||
special Special_MoveTutor
|
special MoveTutor
|
||||||
if_equal FALSE, .TeachMove
|
if_equal FALSE, .TeachMove
|
||||||
jump .Incompatible
|
jump .Incompatible
|
||||||
|
|
||||||
@ -126,7 +126,7 @@ MoveTutorScript:
|
|||||||
takecoins 4000
|
takecoins 4000
|
||||||
waitsfx
|
waitsfx
|
||||||
playsound SFX_TRANSACTION
|
playsound SFX_TRANSACTION
|
||||||
special Special_DisplayCoinCaseBalance
|
special DisplayCoinCaseBalance
|
||||||
writetext UnknownText_0x19918b
|
writetext UnknownText_0x19918b
|
||||||
waitbutton
|
waitbutton
|
||||||
closetext
|
closetext
|
||||||
|
@ -65,7 +65,7 @@ ReceptionistScript_0x560ce:
|
|||||||
if_not_equal SUNDAY, .EventIsOver
|
if_not_equal SUNDAY, .EventIsOver
|
||||||
checkflag ENGINE_GOLDENROD_DEPT_STORE_TM27_RETURN
|
checkflag ENGINE_GOLDENROD_DEPT_STORE_TM27_RETURN
|
||||||
iftrue .EventIsOver
|
iftrue .EventIsOver
|
||||||
special Special_GetFirstPokemonHappiness
|
special GetFirstPokemonHappiness
|
||||||
writetext UnknownText_0x56143
|
writetext UnknownText_0x56143
|
||||||
buttonsound
|
buttonsound
|
||||||
if_greater_than 150 - 1, .VeryHappy
|
if_greater_than 150 - 1, .VeryHappy
|
||||||
@ -106,12 +106,12 @@ ReceptionistScript_0x560ce:
|
|||||||
Carrie:
|
Carrie:
|
||||||
faceplayer
|
faceplayer
|
||||||
opentext
|
opentext
|
||||||
special Special_GameboyCheck
|
special GameboyCheck
|
||||||
if_not_equal GBCHECK_CGB, .NotGBC ; This is a dummy check from Gold/Silver
|
if_not_equal GBCHECK_CGB, .NotGBC ; This is a dummy check from Gold/Silver
|
||||||
writetext UnknownText_0x56241
|
writetext UnknownText_0x56241
|
||||||
waitbutton
|
waitbutton
|
||||||
closetext
|
closetext
|
||||||
special Special_UnlockMysteryGift
|
special UnlockMysteryGift
|
||||||
end
|
end
|
||||||
|
|
||||||
.NotGBC:
|
.NotGBC:
|
||||||
|
@ -13,7 +13,7 @@ GoldenrodVendingMachine:
|
|||||||
opentext
|
opentext
|
||||||
writetext GoldenrodVendingText
|
writetext GoldenrodVendingText
|
||||||
.Start:
|
.Start:
|
||||||
special Special_PlaceMoneyTopRight
|
special PlaceMoneyTopRight
|
||||||
loadmenuheader .MenuHeader
|
loadmenuheader .MenuHeader
|
||||||
verticalmenu
|
verticalmenu
|
||||||
closewindow
|
closewindow
|
||||||
|
@ -60,7 +60,7 @@ GoldenrodGmeCornerTMVendorScript:
|
|||||||
iffalse GoldenrodGameCornerPrizeVendor_NoCoinCaseScript
|
iffalse GoldenrodGameCornerPrizeVendor_NoCoinCaseScript
|
||||||
writetext GoldenrodGameCornerPrizeVendorWhichPrizeText
|
writetext GoldenrodGameCornerPrizeVendorWhichPrizeText
|
||||||
GoldenrodGmeCornerTMVendor_LoopScript: ; 056c36
|
GoldenrodGmeCornerTMVendor_LoopScript: ; 056c36
|
||||||
special Special_DisplayCoinCaseBalance
|
special DisplayCoinCaseBalance
|
||||||
loadmenuheader GoldenrodGameCornerTMVendorMenuHeader
|
loadmenuheader GoldenrodGameCornerTMVendorMenuHeader
|
||||||
verticalmenu
|
verticalmenu
|
||||||
closewindow
|
closewindow
|
||||||
@ -161,7 +161,7 @@ GoldenrodGameCornerPrizeMonVendorScript:
|
|||||||
iffalse GoldenrodGameCornerPrizeVendor_NoCoinCaseScript
|
iffalse GoldenrodGameCornerPrizeVendor_NoCoinCaseScript
|
||||||
.loop
|
.loop
|
||||||
writetext GoldenrodGameCornerPrizeVendorWhichPrizeText
|
writetext GoldenrodGameCornerPrizeVendorWhichPrizeText
|
||||||
special Special_DisplayCoinCaseBalance
|
special DisplayCoinCaseBalance
|
||||||
loadmenuheader .MenuHeader
|
loadmenuheader .MenuHeader
|
||||||
verticalmenu
|
verticalmenu
|
||||||
closewindow
|
closewindow
|
||||||
@ -183,7 +183,7 @@ GoldenrodGameCornerPrizeMonVendorScript:
|
|||||||
writetext GoldenrodGameCornerPrizeVendorHereYouGoText
|
writetext GoldenrodGameCornerPrizeVendorHereYouGoText
|
||||||
waitbutton
|
waitbutton
|
||||||
writebyte ABRA
|
writebyte ABRA
|
||||||
special Special_GameCornerPrizeMonCheckDex
|
special GameCornerPrizeMonCheckDex
|
||||||
givepoke ABRA, 5
|
givepoke ABRA, 5
|
||||||
takecoins 100
|
takecoins 100
|
||||||
jump .loop
|
jump .loop
|
||||||
@ -201,7 +201,7 @@ GoldenrodGameCornerPrizeMonVendorScript:
|
|||||||
writetext GoldenrodGameCornerPrizeVendorHereYouGoText
|
writetext GoldenrodGameCornerPrizeVendorHereYouGoText
|
||||||
waitbutton
|
waitbutton
|
||||||
writebyte CUBONE
|
writebyte CUBONE
|
||||||
special Special_GameCornerPrizeMonCheckDex
|
special GameCornerPrizeMonCheckDex
|
||||||
givepoke CUBONE, 15
|
givepoke CUBONE, 15
|
||||||
takecoins 800
|
takecoins 800
|
||||||
jump .loop
|
jump .loop
|
||||||
@ -219,7 +219,7 @@ GoldenrodGameCornerPrizeMonVendorScript:
|
|||||||
writetext GoldenrodGameCornerPrizeVendorHereYouGoText
|
writetext GoldenrodGameCornerPrizeVendorHereYouGoText
|
||||||
waitbutton
|
waitbutton
|
||||||
writebyte WOBBUFFET
|
writebyte WOBBUFFET
|
||||||
special Special_GameCornerPrizeMonCheckDex
|
special GameCornerPrizeMonCheckDex
|
||||||
givepoke WOBBUFFET, 15
|
givepoke WOBBUFFET, 15
|
||||||
takecoins 1500
|
takecoins 1500
|
||||||
jump .loop
|
jump .loop
|
||||||
@ -297,20 +297,20 @@ GoldenrodGameCornerSlotsMachineScript:
|
|||||||
if_equal 0, GoldenrodGameCornerLuckySlotsMachineScript
|
if_equal 0, GoldenrodGameCornerLuckySlotsMachineScript
|
||||||
refreshscreen
|
refreshscreen
|
||||||
writebyte FALSE
|
writebyte FALSE
|
||||||
special Special_SlotMachine
|
special SlotMachine
|
||||||
closetext
|
closetext
|
||||||
end
|
end
|
||||||
|
|
||||||
GoldenrodGameCornerLuckySlotsMachineScript:
|
GoldenrodGameCornerLuckySlotsMachineScript:
|
||||||
refreshscreen
|
refreshscreen
|
||||||
writebyte TRUE
|
writebyte TRUE
|
||||||
special Special_SlotMachine
|
special SlotMachine
|
||||||
closetext
|
closetext
|
||||||
end
|
end
|
||||||
|
|
||||||
GoldenrodGameCornerCardFlipMachineScript:
|
GoldenrodGameCornerCardFlipMachineScript:
|
||||||
refreshscreen
|
refreshscreen
|
||||||
special Special_CardFlip
|
special CardFlip
|
||||||
closetext
|
closetext
|
||||||
end
|
end
|
||||||
|
|
||||||
|
@ -13,7 +13,7 @@ GoldenrodHappinessRater_MapScripts:
|
|||||||
TeacherScript_0x54953:
|
TeacherScript_0x54953:
|
||||||
faceplayer
|
faceplayer
|
||||||
opentext
|
opentext
|
||||||
special Special_GetFirstPokemonHappiness
|
special GetFirstPokemonHappiness
|
||||||
writetext UnknownText_0x549a3
|
writetext UnknownText_0x549a3
|
||||||
buttonsound
|
buttonsound
|
||||||
if_greater_than 250 - 1, UnknownScript_0x54973
|
if_greater_than 250 - 1, UnknownScript_0x54973
|
||||||
|
@ -35,7 +35,7 @@ OfficerScript_0x550ec:
|
|||||||
applymovement GOLDENRODMAGNETTRAINSTATION_OFFICER, MovementData_0x55146
|
applymovement GOLDENRODMAGNETTRAINSTATION_OFFICER, MovementData_0x55146
|
||||||
applymovement PLAYER, MovementData_0x5514f
|
applymovement PLAYER, MovementData_0x5514f
|
||||||
writebyte FALSE
|
writebyte FALSE
|
||||||
special Special_MagnetTrain
|
special MagnetTrain
|
||||||
warpcheck
|
warpcheck
|
||||||
newloadmap MAPSETUP_TRAIN
|
newloadmap MAPSETUP_TRAIN
|
||||||
applymovement PLAYER, .MovementBoardTheTrain
|
applymovement PLAYER, .MovementBoardTheTrain
|
||||||
|
@ -11,7 +11,7 @@ GoldenrodNameRater_MapScripts:
|
|||||||
GoldenrodNameRater:
|
GoldenrodNameRater:
|
||||||
faceplayer
|
faceplayer
|
||||||
opentext
|
opentext
|
||||||
special Special_NameRater
|
special NameRater
|
||||||
waitbutton
|
waitbutton
|
||||||
closetext
|
closetext
|
||||||
end
|
end
|
||||||
|
@ -17,7 +17,7 @@ NurseScript_0x60f91:
|
|||||||
|
|
||||||
GoldenrodPokecenter1F_GSBallSceneLeft:
|
GoldenrodPokecenter1F_GSBallSceneLeft:
|
||||||
writebyte BATTLETOWERACTION_CHECKMOBILEEVENT
|
writebyte BATTLETOWERACTION_CHECKMOBILEEVENT
|
||||||
special Special_BattleTowerAction
|
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 Special_BattleTowerAction
|
special BattleTowerAction
|
||||||
if_equal MOBILE_EVENT_OBJECT_GS_BALL, .gsball
|
if_equal MOBILE_EVENT_OBJECT_GS_BALL, .gsball
|
||||||
end
|
end
|
||||||
|
|
||||||
|
@ -192,7 +192,7 @@ OlderHaircutBrotherScript:
|
|||||||
.DoHaircut:
|
.DoHaircut:
|
||||||
checkflag ENGINE_GOLDENROD_UNDERGROUND_GOT_HAIRCUT
|
checkflag ENGINE_GOLDENROD_UNDERGROUND_GOT_HAIRCUT
|
||||||
iftrue .AlreadyGotHaircut
|
iftrue .AlreadyGotHaircut
|
||||||
special Special_PlaceMoneyTopRight
|
special PlaceMoneyTopRight
|
||||||
writetext UnknownText_0x7c5f9
|
writetext UnknownText_0x7c5f9
|
||||||
yesorno
|
yesorno
|
||||||
iffalse .Refused
|
iffalse .Refused
|
||||||
@ -200,7 +200,7 @@ OlderHaircutBrotherScript:
|
|||||||
if_equal HAVE_LESS, .NotEnoughMoney
|
if_equal HAVE_LESS, .NotEnoughMoney
|
||||||
writetext UnknownText_0x7c69a
|
writetext UnknownText_0x7c69a
|
||||||
buttonsound
|
buttonsound
|
||||||
special Special_YoungerHaircutBrother
|
special YoungerHaircutBrother
|
||||||
if_equal $0, .Refused
|
if_equal $0, .Refused
|
||||||
if_equal $1, .Refused
|
if_equal $1, .Refused
|
||||||
setflag ENGINE_GOLDENROD_UNDERGROUND_GOT_HAIRCUT
|
setflag ENGINE_GOLDENROD_UNDERGROUND_GOT_HAIRCUT
|
||||||
@ -228,14 +228,14 @@ OlderHaircutBrotherScript:
|
|||||||
|
|
||||||
.then
|
.then
|
||||||
takemoney YOUR_MONEY, 500
|
takemoney YOUR_MONEY, 500
|
||||||
special Special_PlaceMoneyTopRight
|
special PlaceMoneyTopRight
|
||||||
writetext UnknownText_0x7c6b8
|
writetext UnknownText_0x7c6b8
|
||||||
waitbutton
|
waitbutton
|
||||||
closetext
|
closetext
|
||||||
special Special_FadeOutPalettes
|
special FadeOutPalettes
|
||||||
playmusic MUSIC_HEAL
|
playmusic MUSIC_HEAL
|
||||||
pause 60
|
pause 60
|
||||||
special Special_FadeInPalettes
|
special FadeInPalettes
|
||||||
special RestartMapMusic
|
special RestartMapMusic
|
||||||
opentext
|
opentext
|
||||||
writetext UnknownText_0x7c6d8
|
writetext UnknownText_0x7c6d8
|
||||||
@ -275,7 +275,7 @@ YoungerHaircutBrotherScript:
|
|||||||
.DoHaircut:
|
.DoHaircut:
|
||||||
checkflag ENGINE_GOLDENROD_UNDERGROUND_GOT_HAIRCUT
|
checkflag ENGINE_GOLDENROD_UNDERGROUND_GOT_HAIRCUT
|
||||||
iftrue .AlreadyGotHaircut
|
iftrue .AlreadyGotHaircut
|
||||||
special Special_PlaceMoneyTopRight
|
special PlaceMoneyTopRight
|
||||||
writetext UnknownText_0x7c75c
|
writetext UnknownText_0x7c75c
|
||||||
yesorno
|
yesorno
|
||||||
iffalse .Refused
|
iffalse .Refused
|
||||||
@ -283,7 +283,7 @@ YoungerHaircutBrotherScript:
|
|||||||
if_equal HAVE_LESS, .NotEnoughMoney
|
if_equal HAVE_LESS, .NotEnoughMoney
|
||||||
writetext UnknownText_0x7c7f1
|
writetext UnknownText_0x7c7f1
|
||||||
buttonsound
|
buttonsound
|
||||||
special Special_OlderHaircutBrother
|
special OlderHaircutBrother
|
||||||
if_equal $0, .Refused
|
if_equal $0, .Refused
|
||||||
if_equal $1, .Refused
|
if_equal $1, .Refused
|
||||||
setflag ENGINE_GOLDENROD_UNDERGROUND_GOT_HAIRCUT
|
setflag ENGINE_GOLDENROD_UNDERGROUND_GOT_HAIRCUT
|
||||||
@ -311,14 +311,14 @@ YoungerHaircutBrotherScript:
|
|||||||
|
|
||||||
.then
|
.then
|
||||||
takemoney YOUR_MONEY, 300
|
takemoney YOUR_MONEY, 300
|
||||||
special Special_PlaceMoneyTopRight
|
special PlaceMoneyTopRight
|
||||||
writetext UnknownText_0x7c80e
|
writetext UnknownText_0x7c80e
|
||||||
waitbutton
|
waitbutton
|
||||||
closetext
|
closetext
|
||||||
special Special_FadeOutPalettes
|
special FadeOutPalettes
|
||||||
playmusic MUSIC_HEAL
|
playmusic MUSIC_HEAL
|
||||||
pause 60
|
pause 60
|
||||||
special Special_FadeInPalettes
|
special FadeInPalettes
|
||||||
special RestartMapMusic
|
special RestartMapMusic
|
||||||
opentext
|
opentext
|
||||||
writetext UnknownText_0x7c82a
|
writetext UnknownText_0x7c82a
|
||||||
@ -349,21 +349,21 @@ YoungerHaircutBrotherScript:
|
|||||||
|
|
||||||
UnknownScript_0x7c2bb:
|
UnknownScript_0x7c2bb:
|
||||||
writetext HaircutBrosText_SlightlyHappier
|
writetext HaircutBrosText_SlightlyHappier
|
||||||
special Special_PlayCurMonCry
|
special PlayCurMonCry
|
||||||
waitbutton
|
waitbutton
|
||||||
closetext
|
closetext
|
||||||
end
|
end
|
||||||
|
|
||||||
UnknownScript_0x7c2c4:
|
UnknownScript_0x7c2c4:
|
||||||
writetext HaircutBrosText_Happier
|
writetext HaircutBrosText_Happier
|
||||||
special Special_PlayCurMonCry
|
special PlayCurMonCry
|
||||||
waitbutton
|
waitbutton
|
||||||
closetext
|
closetext
|
||||||
end
|
end
|
||||||
|
|
||||||
UnknownScript_0x7c2cd:
|
UnknownScript_0x7c2cd:
|
||||||
writetext HaircutBrosText_MuchHappier
|
writetext HaircutBrosText_MuchHappier
|
||||||
special Special_PlayCurMonCry
|
special PlayCurMonCry
|
||||||
waitbutton
|
waitbutton
|
||||||
closetext
|
closetext
|
||||||
end
|
end
|
||||||
|
@ -121,7 +121,7 @@ TeacherScript_0x7ca7d:
|
|||||||
UndergroundSilverScene1:
|
UndergroundSilverScene1:
|
||||||
spriteface PLAYER, RIGHT
|
spriteface PLAYER, RIGHT
|
||||||
showemote EMOTE_SHOCK, PLAYER, 15
|
showemote EMOTE_SHOCK, PLAYER, 15
|
||||||
special Special_FadeOutMusic
|
special FadeOutMusic
|
||||||
pause 15
|
pause 15
|
||||||
playsound SFX_EXIT_BUILDING
|
playsound SFX_EXIT_BUILDING
|
||||||
appear GOLDENRODUNDERGROUNDSWITCHROOMENTRANCES_SILVER
|
appear GOLDENRODUNDERGROUNDSWITCHROOMENTRANCES_SILVER
|
||||||
@ -140,7 +140,7 @@ UndergroundSilverScene1:
|
|||||||
UndergroundSilverScene2:
|
UndergroundSilverScene2:
|
||||||
spriteface PLAYER, RIGHT
|
spriteface PLAYER, RIGHT
|
||||||
showemote EMOTE_SHOCK, PLAYER, 15
|
showemote EMOTE_SHOCK, PLAYER, 15
|
||||||
special Special_FadeOutMusic
|
special FadeOutMusic
|
||||||
pause 15
|
pause 15
|
||||||
playsound SFX_EXIT_BUILDING
|
playsound SFX_EXIT_BUILDING
|
||||||
appear GOLDENRODUNDERGROUNDSWITCHROOMENTRANCES_SILVER
|
appear GOLDENRODUNDERGROUNDSWITCHROOMENTRANCES_SILVER
|
||||||
|
@ -31,7 +31,7 @@ HallOfFame_MapScripts:
|
|||||||
setscene 1
|
setscene 1
|
||||||
pause 15
|
pause 15
|
||||||
writebyte HEALMACHINE_HALL_OF_FAME
|
writebyte HEALMACHINE_HALL_OF_FAME
|
||||||
special Special_HealMachineAnim
|
special HealMachineAnim
|
||||||
setevent EVENT_BEAT_ELITE_FOUR
|
setevent EVENT_BEAT_ELITE_FOUR
|
||||||
setevent EVENT_TELEPORT_GUY
|
setevent EVENT_TELEPORT_GUY
|
||||||
setevent EVENT_RIVAL_SPROUT_TOWER
|
setevent EVENT_RIVAL_SPROUT_TOWER
|
||||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user