2018-01-15 11:23:09 -08:00
|
|
|
; Special routines can be used with the "special" map script command.
|
2023-09-30 10:12:57 -07:00
|
|
|
; They often use hScriptVar for arguments and return values.
|
2018-01-15 11:23:09 -08:00
|
|
|
|
2022-06-06 14:25:42 -07:00
|
|
|
MACRO add_special
|
2018-01-15 11:11:11 -08:00
|
|
|
\1Special::
|
|
|
|
dba \1
|
|
|
|
ENDM
|
|
|
|
|
2018-06-24 07:09:41 -07:00
|
|
|
SpecialsPointers::
|
2020-06-13 15:48:26 -07:00
|
|
|
add_special WarpToSpawnPoint
|
2018-01-15 11:11:11 -08:00
|
|
|
|
|
|
|
; Communications
|
2018-01-24 08:17:05 -08:00
|
|
|
add_special SetBitsForLinkTradeRequest
|
|
|
|
add_special WaitForLinkedFriend
|
2020-10-23 10:36:54 -07:00
|
|
|
add_special CheckLinkTimeout_Receptionist
|
2018-01-24 08:17:05 -08:00
|
|
|
add_special TryQuickSave
|
|
|
|
add_special CheckBothSelectedSameRoom
|
|
|
|
add_special FailedLinkToPast
|
|
|
|
add_special CloseLink
|
2020-06-13 15:48:26 -07:00
|
|
|
add_special WaitForOtherPlayerToExit
|
2018-01-24 08:17:05 -08:00
|
|
|
add_special SetBitsForBattleRequest
|
|
|
|
add_special SetBitsForTimeCapsuleRequest
|
|
|
|
add_special CheckTimeCapsuleCompatibility
|
|
|
|
add_special EnterTimeCapsule
|
|
|
|
add_special TradeCenter
|
|
|
|
add_special Colosseum
|
|
|
|
add_special TimeCapsule
|
2020-06-13 15:48:26 -07:00
|
|
|
add_special CableClubCheckWhichChris
|
2018-01-15 11:11:11 -08:00
|
|
|
|
2018-01-30 11:55:27 -08:00
|
|
|
; Map events
|
2018-01-24 08:17:05 -08:00
|
|
|
add_special BugContestJudging
|
|
|
|
add_special CheckPartyFullAfterContest
|
|
|
|
add_special ContestDropOffMons
|
|
|
|
add_special ContestReturnMons
|
2020-06-13 15:48:26 -07:00
|
|
|
add_special GiveParkBalls
|
2018-01-24 08:17:05 -08:00
|
|
|
add_special CheckMagikarpLength
|
|
|
|
add_special MagikarpHouseSign
|
2018-01-15 11:11:11 -08:00
|
|
|
add_special HealParty ; this is both a special and a predef
|
2018-01-24 08:17:05 -08:00
|
|
|
add_special PokemonCenterPC
|
|
|
|
add_special PlayersHousePC
|
|
|
|
add_special DayCareMan
|
|
|
|
add_special DayCareLady
|
2020-06-13 15:48:26 -07:00
|
|
|
add_special DayCareManOutside
|
2018-01-24 08:17:05 -08:00
|
|
|
add_special MoveDeletion
|
|
|
|
add_special BankOfMom
|
|
|
|
add_special MagnetTrain
|
|
|
|
add_special NameRival
|
|
|
|
add_special OverworldTownMap
|
|
|
|
add_special UnownPrinter
|
2020-06-13 15:48:26 -07:00
|
|
|
add_special MapRadio
|
2018-01-24 08:17:05 -08:00
|
|
|
add_special UnownPuzzle
|
|
|
|
add_special SlotMachine
|
|
|
|
add_special CardFlip
|
2020-11-08 16:32:57 -08:00
|
|
|
add_special UnusedMemoryGame ; unused
|
2020-10-28 10:35:39 -07:00
|
|
|
add_special ClearBGPalettesBufferScreen ; unused
|
2024-02-10 15:16:00 -08:00
|
|
|
add_special FadeOutToWhite
|
|
|
|
add_special FadeOutToBlack
|
|
|
|
add_special FadeInFromWhite
|
|
|
|
add_special FadeInFromBlack
|
2018-01-15 11:11:11 -08:00
|
|
|
add_special ReloadSpritesNoPalettes ; bank 0
|
|
|
|
add_special ClearBGPalettes ; bank 0
|
|
|
|
add_special UpdateTimePals ; bank 0
|
2020-10-28 10:35:39 -07:00
|
|
|
add_special ClearTilemap ; bank 0; unused as special
|
2018-01-15 11:11:11 -08:00
|
|
|
add_special UpdateSprites ; bank 0
|
2020-06-16 16:38:00 -07:00
|
|
|
add_special UpdatePlayerSprite ; bank 0
|
2018-01-24 08:17:05 -08:00
|
|
|
add_special GameCornerPrizeMonCheckDex
|
2020-10-28 10:35:39 -07:00
|
|
|
add_special UnusedSetSeenMon ; unused
|
2018-01-15 11:11:11 -08:00
|
|
|
add_special WaitSFX ; bank 0
|
|
|
|
add_special PlayMapMusic ; bank 0
|
|
|
|
add_special RestartMapMusic ; bank 0
|
2018-01-24 08:17:05 -08:00
|
|
|
add_special HealMachineAnim
|
|
|
|
add_special SurfStartStep
|
2020-10-28 10:35:39 -07:00
|
|
|
add_special FindPartyMonAboveLevel ; unused
|
|
|
|
add_special FindPartyMonAtLeastThatHappy ; unused
|
2018-01-24 08:17:05 -08:00
|
|
|
add_special FindPartyMonThatSpecies
|
|
|
|
add_special FindPartyMonThatSpeciesYourTrainerID
|
|
|
|
add_special DayCareMon1
|
|
|
|
add_special DayCareMon2
|
|
|
|
add_special SelectRandomBugContestContestants
|
2020-06-13 15:48:26 -07:00
|
|
|
add_special ActivateFishingSwarm
|
2018-01-24 08:17:05 -08:00
|
|
|
add_special ToggleMaptileDecorations
|
|
|
|
add_special ToggleDecorationsVisibility
|
|
|
|
add_special GiveShuckle
|
2021-03-17 08:38:01 -07:00
|
|
|
add_special ReturnShuckie
|
2018-01-24 08:17:05 -08:00
|
|
|
add_special BillsGrandfather
|
|
|
|
add_special CheckPokerus
|
2023-09-02 09:23:25 -07:00
|
|
|
add_special DisplayChipCaseBalance
|
2023-09-02 14:16:35 -07:00
|
|
|
add_special DisplayCoinsAndChipBalance
|
|
|
|
add_special PlaceCoinsTopRight
|
2018-01-24 08:17:05 -08:00
|
|
|
add_special CheckForLuckyNumberWinners
|
|
|
|
add_special CheckLuckyNumberShowFlag
|
|
|
|
add_special ResetLuckyNumberShowFlag
|
|
|
|
add_special PrintTodaysLuckyNumber
|
|
|
|
add_special SelectApricornForKurt
|
|
|
|
add_special NameRater
|
2020-06-13 15:48:26 -07:00
|
|
|
add_special DisplayLinkRecord
|
2018-01-24 08:17:05 -08:00
|
|
|
add_special GetFirstPokemonHappiness
|
|
|
|
add_special CheckFirstMonIsEgg
|
|
|
|
add_special RandomUnseenWildMon
|
|
|
|
add_special RandomPhoneWildMon
|
|
|
|
add_special RandomPhoneMon
|
|
|
|
add_special LoadUsedSpritesGFX
|
|
|
|
add_special PlaySlowCry
|
2020-06-13 15:48:26 -07:00
|
|
|
add_special SnorlaxAwake
|
2018-01-24 08:17:05 -08:00
|
|
|
add_special OlderHaircutBrother
|
2019-05-18 10:27:32 -07:00
|
|
|
add_special YoungerHaircutBrother
|
2018-01-24 08:17:05 -08:00
|
|
|
add_special DaisysGrooming
|
|
|
|
add_special PlayCurMonCry
|
|
|
|
add_special ProfOaksPCBoot
|
|
|
|
add_special GameboyCheck
|
2020-06-13 15:48:26 -07:00
|
|
|
add_special PhotoStudio
|
2018-01-24 08:17:05 -08:00
|
|
|
add_special InitRoamMons
|
|
|
|
add_special FadeOutMusic
|
|
|
|
add_special Diploma
|
|
|
|
add_special PrintDiploma
|
2023-12-26 12:04:20 -08:00
|
|
|
add_special PrintGainCoins
|
|
|
|
add_special PrintLoseCoins
|
2023-12-28 10:53:34 -08:00
|
|
|
add_special SetObjectToRemainHidden
|
2018-01-15 11:11:11 -08:00
|
|
|
|
2018-01-30 11:55:27 -08:00
|
|
|
; Crystal only
|
2018-01-15 11:11:11 -08:00
|
|
|
add_special Reset ; bank 0
|
2018-01-24 08:17:05 -08:00
|
|
|
add_special MoveTutor
|
|
|
|
add_special OmanyteChamber
|
|
|
|
add_special DisplayUnownWords
|
|
|
|
add_special HoOhChamber
|
|
|
|
add_special CelebiShrineEvent
|
2020-06-13 15:48:26 -07:00
|
|
|
add_special CheckCaughtCelebi
|
2018-01-24 08:17:05 -08:00
|
|
|
add_special PokeSeer
|
|
|
|
add_special BuenasPassword
|
|
|
|
add_special BuenaPrize
|
2018-01-30 11:55:27 -08:00
|
|
|
add_special GiveDratini
|
2018-01-24 08:17:05 -08:00
|
|
|
add_special BeastsCheck
|
|
|
|
add_special MonCheck
|
2020-06-13 15:48:26 -07:00
|
|
|
add_special SetPlayerPalette
|
2018-01-24 08:17:05 -08:00
|
|
|
add_special RefreshSprites
|
|
|
|
add_special AskRememberPassword
|
|
|
|
add_special LoadMapPalettes
|