Commit Graph

25 Commits

Author SHA1 Message Date
Rachel
36045f723b Format the source tree 2024-07-06 14:40:34 -07:00
Rachel
9d7019b8b0 Add new consts used by battle scripts 2024-01-23 17:34:18 -08:00
Rachel
f46a747f0e Rename BATTLE_SUBSEQ consts to BATTLE_SUBSCRIPT + move to constgen manifest 2024-01-23 17:34:11 -08:00
Rachel
5dcb0c3657 Update battle-constant headers for assembler compatibility 2024-01-21 15:41:30 -08:00
Rachel
646fec5ced Document BattleContext_Init and _InitCounters 2023-11-14 21:42:27 -08:00
Rachel
1d5410a7f0 Document BattleSystem_CheckTrainerMessage 2023-11-14 21:42:27 -08:00
Rachel
0df4ab9d84 Document + rename some simple functions in ov16_0225177C.c 2023-11-11 18:09:35 -08:00
Rachel
81eb400724 Document type-effectiveness routines 2023-11-06 11:55:33 -08:00
Rachel
03b537680b Document TriggerEffectOnSwitch and TriggerFormChange functions 2023-11-04 23:38:26 -07:00
lhearachel
e933d09217 Document battle commands 0x60 - 0x8F 2023-10-28 22:39:34 -07:00
lhearachel
37f7d89321 Document BtlCmd_ChangeStatStage 2023-10-18 19:06:19 -07:00
lhearachel
9823a08e06 Document routines used by Switch command
- BattleSystem_InitBattleMon
- BattleSystem_ReloadPokemon
- BattleSystem_SwitchSlots
- BattleSystem_UpdateAfterSwitch
2023-10-14 11:46:13 -07:00
lhearachel
f90912ff33 Document ShowPartyList and WaitPartyList commands 2023-10-14 11:46:13 -07:00
lhearachel
d8899b26fa Document message-printing battle script commands 2023-10-09 20:29:30 -07:00
lhearachel
9eea5b7c97 Document functions used by damage calc routine 2023-10-08 15:02:13 -07:00
lhearachel
be8afb1f65 Finish cleaning up the battle state machine 2023-09-30 00:40:21 -07:00
lhearachel
d197b7a861 Clean up remaining utility functions in battle_controller.c:
- BattleController_MustSelectTarget
- BattleController_ClearFlags
- BattleController_AnyFainted
- BattleController_AnyExpPayout
- BattleController_UpdateHitByMoveFlags
- BattleController_ToggleSemiInvulnMons
- BattleController_TriggerAfterMoveHitEffects
- BattleController_InitAI
2023-09-29 21:06:40 -07:00
lhearachel
d58bc0a46e Clean up + rename BattleController_ReplaceFainted 2023-09-28 23:15:31 -07:00
lhearachel
465dbe6632 Clean up BattleController_LoopMultiHit 2023-09-22 22:57:42 -07:00
Rachel
f81ecbb430 Clean up sub-functions for AfterMoveMessage and AfterMoveEffects 2023-09-22 22:41:53 -07:00
Rachel
7b201a945b Clean up BattleController_UpdateHP 2023-09-19 21:14:01 -07:00
lhearachel
095de56b99 Clean up TryMove state machine 2023-09-19 19:07:32 -07:00
lhearachel
8b2f9015a9 Clean up sub-functions for move-execution state machine + follow-up states 2023-09-19 19:07:32 -07:00
lhearachel
8cce44978f Document + clean up BattleController_BeforeMove 2023-09-15 19:24:02 -07:00
lhearachel
c06ac866db Document subfunctions for BattleController_BeforeMove 2023-09-15 19:23:13 -07:00