Commit Graph

53 Commits

Author SHA1 Message Date
Rachel
36045f723b Format the source tree 2024-07-06 14:40:34 -07:00
Adrienn Tindall
1384926086 Fix merge error 2024-06-06 11:05:35 -04:00
Adrienn Tindall
b00b77d195 Move overworld weather consts 2024-06-02 22:33:55 -04:00
Rachel
f6cfe2d046 Atomize individual generated constants-headers 2024-05-18 22:53:57 -07:00
Rachel
01db0cca9b Dump trainer AI byte-code script 2024-02-21 13:09:55 -08:00
Rachel
825cc22c0b Clean up + document BattleIO_SlideHealthbar[In,Out] 2024-02-11 12:12:52 -08:00
Rachel
730c99d60e Clean up and document BattleMessage_CheckSide 2024-02-09 20:28:47 -08:00
Rachel
08dca8b324 Document core routines for printing text in battle 2024-02-09 19:30:33 -08:00
Rachel
b0077dd410 Document BattleIO routines for the party gauge 2024-02-07 15:35:05 -08:00
Rachel
fdc5540fb7 Move consts used by json2bin to constgen 2024-02-06 22:29:22 -08:00
Rachel
9535a09487 First pass at labelling AI script commands 2024-01-26 21:49:07 -08:00
Rachel
60661e1270 Document simple non-command static functions in trainer_ai.c 2024-01-24 22:25:07 -08:00
Rachel
e90979f61c
Merge pull request #123 from lhearachel/battle_scripts
Dump + rebuild the contents of battle scripting NARCs
2024-01-24 22:24:49 -08: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
3ebdbdc042 Document Main routines for singles and doubles AI 2024-01-20 21:13:35 -08:00
Rachel
0ecc4a679c Document extern functions for overlay 14 (trainer AI) 2024-01-20 19:49:31 -08:00
Rachel
7bf253a4d6 Move enum-based battle constants to constgen schema 2024-01-08 20:50:36 -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
a805f134e6 Document post-KO switch-in AI function 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
Rachel
363881fb19 Improve documentation for side effects and how they map to subscripts 2023-11-04 15:34:17 -07:00
lhearachel
c9f1f1607b Document battle script commands 0xA7 - 0xBA 2023-10-31 20:38:20 -07:00
lhearachel
e933d09217 Document battle commands 0x60 - 0x8F 2023-10-28 22:39:34 -07:00
lhearachel
f30651576c Document Battler_LockMoveChoice, Battler_UnlockMoveChoice, and BattleSystem_CanEncoreMove 2023-10-23 22:10:03 -07:00
lhearachel
d2c301cc45 Document battle terrain, time, and species-caught checks 2023-10-22 20:29:33 -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
a62e6e8384 Document CalcMoveDamage, CalcDamageVariance, and CalcCriticalMulti routines 2023-10-08 15:02:50 -07:00
lhearachel
9eea5b7c97 Document functions used by damage calc routine 2023-10-08 15:02:13 -07:00
lhearachel
e49f2e4a9b Document the BattleMessage tagging functions 2023-10-04 17:21:34 -07:00
lhearachel
68f54d4087 Document BattleMessageParams struct and _Make functions 2023-10-04 15:20:08 -07:00
lhearachel
46bd5f963d Clean up some lingering smelly code in battle_controller.c 2023-09-30 16:11:32 -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
lhearachel
71acfcfc7e Clean up BattleController_AfterMoveEffects 2023-09-22 22:44:31 -07:00
Rachel
f81ecbb430 Clean up sub-functions for AfterMoveMessage and AfterMoveEffects 2023-09-22 22:41:53 -07:00
Rachel
09b0513474 Label sub-functions for AfterMoveMessage and AfterMoveEffects 2023-09-22 22:41:35 -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