Commit Graph

41 Commits

Author SHA1 Message Date
lhearachel
7584276155 Document the capture formula 2023-10-23 00:18:10 -07:00
lhearachel
37f7d89321 Document BtlCmd_ChangeStatStage 2023-10-18 19:06:19 -07:00
lhearachel
870997c882 Document SetupMultiHit and SetVarValue commands 2023-10-18 19:06:15 -07:00
lhearachel
e1b2a01dc2 Document Switch and JumpIfAnySwitches commands 2023-10-14 11:46:13 -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
014dc44191 Document BattleScript_GetExpTask 2023-10-13 10:04:38 -07:00
lhearachel
39c137a334 Label struct + member fields for BattleScriptTaskData 2023-10-13 09:57:38 -07:00
lhearachel
40c3f6d035 Document If, IfMonData commands 2023-10-10 21:56:19 -07:00
lhearachel
a62e6e8384 Document CalcMoveDamage, CalcDamageVariance, and CalcCriticalMulti routines 2023-10-08 15:02:50 -07:00
lhearachel
b05874c6d2 Document commands for battle UI and battle setup:
- SetupBattleUI
- SetEncounter
- ShowEncounter
- ShowPokemon
- ReturnPokemon
- DeletePokemon
2023-10-04 18:52:37 -07:00
lhearachel
e49f2e4a9b Document the BattleMessage tagging functions 2023-10-04 17:21:34 -07:00
lhearachel
2d20d05b22 Document BattleScript_Battler 2023-10-04 16:12:27 -07:00
lhearachel
297be289ee Document some foundational functions for battle_script.c 2023-10-02 23:46:23 -07:00
lhearachel
c8d5296674 Move overlay016/ov16_022405FC.h -> battle/battle_script.h and document BattleScript_Exec 2023-10-02 22:53:10 -07:00
lhearachel
9def039d54 Document functions in battle_controller.c 2023-09-30 17:57:21 -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
71acfcfc7e Clean up BattleController_AfterMoveEffects 2023-09-22 22:44:31 -07:00
lhearachel
60c4bad9bd Clean up BattleController_AfterMoveMessage 2023-09-22 22:42:08 -07:00
lhearachel
f297e5e43a Clean up move use state 2023-09-19 19:07:32 -07:00
lhearachel
8e84a94634 Clean up move failure check state 2023-09-19 19:07:32 -07:00
lhearachel
c4808f24a9 Clean up primary effect check state 2023-09-19 19:07:32 -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
056a3b5568 Label subfunctions for move-execution state machine + a few follow-up short 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
lhearachel
26cd23f2d5 Clean up + document Battle and Safari commands 2023-09-14 20:29:49 -07:00
lhearachel
7af31d6401 Clean up the rest of the primary battle control FSM loop 2023-09-10 18:21:32 -07:00
lhearachel
b8fa07712b Merge branch 'main' into battle-dev 2023-09-09 11:22:56 -07:00
lhearachel
966e39f6e9 Delete superfluous file: struct_decls/struct_itemdata_decl.h 2023-09-04 11:16:32 -07:00
Lhea (Rachel)
e5f994c348 Label fields in MoveTable struct, merge related headers, clean up func names 2023-08-30 21:34:14 -07:00
lhearachel
4cb7dc9e5f Clean up first few static functions in battle_controller.c 2023-08-29 23:32:24 -07:00
lhearachel
8aa4f62856 Clean up + document extern functions in battle_controller.c 2023-08-29 17:09:59 -07:00
lhearachel
c8fbc3d5aa Mass rename for extern functions in battle_controller.c 2023-08-29 16:41:38 -07:00
Lhea (Rachel)
c719db6462 Cleanup from last round of PR feedback 2023-08-29 09:48:10 -07:00
Lhea (Rachel)
717e687509 Clean up labels from PR feedback 2023-08-28 21:08:21 -07:00
lhearachel
8f1eb7d37b Document BattleMessage struct 2023-08-26 17:57:53 -07:00
lhearachel
90914be11a Document BattleMon struct 2023-08-26 17:16:59 -07:00
lhearachel
460fc6bc99 Document AIContext struct 2023-08-26 17:16:59 -07:00
lhearachel
66a935788f Document BattleContext struct and substructs 2023-08-26 17:16:55 -07:00