forked from Skeli789/Complete-Fire-Red-Upgrade
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathhooks
More file actions
120 lines (108 loc) · 3.38 KB
/
hooks
File metadata and controls
120 lines (108 loc) · 3.38 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
##Emit Functions
EmitPrintString 800E2D4 2
EmitPrintSelectionString 800E3EC 2
EmitChooseMoveHook 800E524 3
##Battle Terrain Functions
LoadBattleBG_TerrainID 800FC2C 0
LoadBattleBG_Background 800F260 1
LoadBattleBG_EntryOverlay 800F2AC 1
##Other Battle Stuff
BuildTrainerPartyHook 800FF7E 0
BattleBeginFirstTurn 801385C 0
IsRunningFromBattleImpossible 08013D54 0
PartyMenuSwitchingHook 8014450 0
GetWhoStrikesFirst 8014CD8 3
SetActionsAndBanksTurnOrder 80150A8 0
RunTurnActionsFunctions 80155C8 0
HandleEndTurn_BattleWon 8015670 0
HandleEndTurn_BattleLost 801578C 0
HandleEndTurn_RanFromBattle 8015850 0
HandleAction_UseMove 8015CA0 0
TryRunFromBattle 8016748 1
PrepareStringBattle 80173AC 3
TrySetCantSelectMoveBattleScript 8017594 0
CheckMoveLimitations 801779C 3
TurnBasedEffects 08018258 0
HandleFaintedMonActions 08018F90 0
HasNoMonsToSwitch 0x8019C10 3
SetMoveEffect 801FF20 2
SwitchMoveDataHook 0x802EF90 0
MoveSelectionDisplayMoveType 8030940 0
PlayerHandleExpBarUpdate 08032F4C 1
AI_TrySwitchOrUseItem 8039C84 0
BattleSetup_GetTerrainId 807FC5C 0
EndBattleFlagClearHook 80804AC 0
HandleIntroSlide 80BC3A0 1
BufferStringBattle 080D7274 1
BattleStringExpandPlaceholders 80D7868 2
DisplayStatStageMessage 80D8486 0
##Multi Hooks
MultiEnemyPokeballReadoutHook 8049088 0
MultiInitPokemonOrderHook 800D8A0 0
MultiBattleAddSecondOpponentHook 80132F8 0
BattleIntroOpponent1SendsOutMonAnimation 801359C 0
MultiMoneyCalcHook 8025904 2
MultiTrainersSendOutHook2 8038DF4 1
MultiTrainersSendOutHook4 8035EA0 0
MultiTrainersSendOutGameCrashingFix 8035C30 0
IsMultiBattle 811FA20 0
PartnerSetupHook 800D458 0
DisplayPartnerNameInPartyMenuHook 8127AE8 0
TagTeamPartnerSendoutPokemonHook 8013758 0
TagTeamThrowPokeballHook 80336A0 0
TagTeamPokeballReadoutHook 8048FAC 1
SetNewPartySelectTarget2 81200F8 2
PlayerHandleDrawTrainerPic 803227C 0
PlayerHandleTrainerSlide 8032428 0
TagTeamBackspritePalHook 8033530 0
##AI Hooks
AIHandleItemUseHook 800D2CC 0
OpponentHandleDrawTrainerPic 08037CD0 0
OpponentHandleTrainerSlide 08037EA4 0
OpponentHandleChooseMove 80385B0 0
OpponentHandleChoosePokemon 8038744 0
ShouldSwitchIfWonderGuard 80391EC 0
HasSuperEffectiveMoveAgainstOpponents 08039698 1
FindMonWithFlagsAndSuperEffective 08039828 2
GetMostSuitableMonToSwitchInto 8039E3C 0
##Mega Hooks
MegaRetrieveDataHook 80148C0 0
HandleInputChooseMove 802EA10 0
BatonPassEffects 08012850 0
GiveMonToPlayer 8040B14 1
ItemId_GetName 809A8BC 1
##Overworld Hooks
BattleSetup_ConfigureTrainerBattle 8080228 1
SetTrainerFlags 80803FC 0
BattleSetup_StartTrainerBattle 8080464 0
SetUpTrainerEncounterMusic 8080628 0
GetIntroSpeechOfApproachingTrainer 80806D8 0
GetTrainerCantBattleSpeech 8080734 0
CheckForTrainersWantingBattle 8081B30 0
##Party Menu Hooks
CursorCb_Summary 8122D4C 1
##Battle Animation Hooks
ScriptCmd_loadspritegfx 08072868 0
ShinyAnimFixHook 080F1792 0
SlideMonToOriginalPosHook 080991BA 0
SlideMonToOffsetHook 080992E4 0
DetsinyBondASM1 080B6092 0
DetsinyBondASM2 080B6160 0
EmbargoASM 080b68e4 0
BLACKHOLE_ASM 080b60bc 0
ANCHORSHOT_ASM 080ae484 2
FAIRY_LOCK_ASM 080aeba0 0
LIGHTOFRUIN_ASM 080ae5ec 0
SKILLSWAP_CHOOSER 080b39b4 0
SLUDGE_WAVE_ASM 080ab43c 0
ROLLOUT_TIMER_ASM 080b4c40 0
HEX_SIDE_ASM 080b8d74 0
ENCORE_USER_ASM 080e0da8 1
##Poke Ball Hooks
SetMonPokeBallHook 8040858 0
LoadBallGfx 804BEF4 1
GetBattlerPokeballItemId 0804BF90 1
GetProperBallIdHook1 0804AA1E 1
GetProperBallIdHook2 080EF3A8 1
GetProperBallIdHook3 08139CDA 1
ItemIdToBallId 80EF52C 1