mirror of
https://gitlab.com/xCrystal/pokecrystal-board.git
synced 2024-11-16 11:27:33 -08:00
59bda0b36b
Credits sequence changes move selection menu behavior; Swimming NPCs aren't limited by their movement radius; No bump noise if standing on tile E; The unused phonecall script command may crash; ScriptCall can overflow wScriptStack and crash; LoadSpriteGFX does not limit the capacity of UsedSprites; ReadObjectEvents overflows into wObjectMasks; ClearWRAM only clears WRAM bank 1; BattleAnimCmd_ClearObjs only clears the first 6⅔ objects; Options menu fails to clear joypad state on initialization
83 lines
2.2 KiB
NASM
83 lines
2.2 KiB
NASM
; Predef routines can be used with the "predef" and "predef_jump" macros.
|
|
; This preserves registers bc, de, hl and f.
|
|
|
|
MACRO add_predef
|
|
\1Predef::
|
|
dab \1
|
|
ENDM
|
|
|
|
PredefPointers::
|
|
add_predef LearnMove
|
|
add_predef DummyPredef1
|
|
add_predef HealParty ; this is both a special and a predef
|
|
add_predef SmallFarFlagAction
|
|
add_predef ComputeHPBarPixels
|
|
add_predef FillPP
|
|
add_predef TryAddMonToParty
|
|
add_predef AddTempmonToParty
|
|
add_predef SendGetMonIntoFromBox
|
|
add_predef SendMonIntoBox
|
|
add_predef GiveEgg
|
|
add_predef AnimateHPBar
|
|
add_predef CalcMonStats
|
|
add_predef CalcMonStatC
|
|
add_predef CanLearnTMHMMove
|
|
add_predef GetTMHMMove
|
|
add_predef LinkTextboxAtHL
|
|
add_predef PrintMoveDescription
|
|
add_predef UpdatePlayerHUD
|
|
add_predef PlaceGraphic
|
|
add_predef CheckPlayerPartyForFitMon
|
|
add_predef UpdateEnemyHUD
|
|
add_predef StartBattle
|
|
add_predef FillInExpBar
|
|
add_predef GetBattleMonBackpic
|
|
add_predef GetEnemyMonFrontpic
|
|
add_predef LearnLevelMoves
|
|
add_predef FillMoves
|
|
add_predef EvolveAfterBattle
|
|
add_predef TradeAnimationPlayer2
|
|
add_predef TradeAnimation
|
|
add_predef CopyMonToTempMon
|
|
add_predef ListMoves
|
|
add_predef PlaceNonFaintStatus
|
|
add_predef Unused_PlaceEnemyHPLevel
|
|
add_predef ListMovePP
|
|
add_predef GetGender
|
|
add_predef StatsScreenInit
|
|
add_predef DrawPlayerHP
|
|
add_predef DrawEnemyHP
|
|
add_predef PrintTempMonStats
|
|
add_predef GetTypeName
|
|
add_predef PrintMoveType
|
|
add_predef PrintType
|
|
add_predef PrintMonTypes
|
|
add_predef GetUnownLetter
|
|
add_predef LoadPoisonBGPals
|
|
add_predef DummyPredef2F
|
|
add_predef LoadCGBLayout
|
|
add_predef Pokedex_GetArea
|
|
add_predef Unused_CheckShininess
|
|
add_predef DoBattleTransition
|
|
add_predef DummyPredef35
|
|
add_predef DummyPredef36
|
|
add_predef PlayBattleAnim
|
|
add_predef DummyPredef38
|
|
add_predef DummyPredef39
|
|
add_predef DummyPredef3A
|
|
add_predef PartyMonItemName
|
|
add_predef GetMonFrontpic
|
|
add_predef GetMonBackpic
|
|
add_predef GetAnimatedFrontpic
|
|
add_predef GetTrainerPic
|
|
add_predef DecompressGet2bpp
|
|
add_predef CheckTypeMatchup
|
|
add_predef ConvertMon_1to2
|
|
add_predef NewPokedexEntry
|
|
add_predef Unused_AnimateMon_Slow_Normal
|
|
add_predef PlaceStatusString
|
|
add_predef LoadMonAnimation
|
|
add_predef AnimateFrontpic
|
|
add_predef Unused_HOF_AnimateAlignedFrontpic
|
|
add_predef HOF_AnimateFrontpic
|