Commit Graph

83 Commits

Author SHA1 Message Date
lhearachel
1e58ed2e1c Clean up battle constant headers 2023-11-01 00:18:20 -07:00
lhearachel
5edbb62501 Document battle script commands 0xBB - 0xDE 2023-10-31 23:27:22 -07:00
lhearachel
6c006bd143 Document BattleSystem_UseBagItem and related functions 2023-10-31 20:45:48 -07:00
lhearachel
c9f1f1607b Document battle script commands 0xA7 - 0xBA 2023-10-31 20:38:20 -07:00
lhearachel
4926316055 Document BattleSystem_PluckBerry + _FlingItem and related functions 2023-10-31 20:38:19 -07:00
lhearachel
657eaae2d4 Document TrainerData_BuildParty 2023-10-30 09:41:06 -07:00
lhearachel
c07da37106 Extract trainer class gender table to a separate include 2023-10-30 09:41:02 -07:00
lhearachel
e933d09217 Document battle commands 0x60 - 0x8F 2023-10-28 22:39:34 -07:00
lhearachel
cedf84f740 Document battle commands 0x5D - 0x5F 2023-10-28 01:04:56 -07:00
lhearachel
ac6d5b0ded Document TryLightScreen, TryReflect, and TryMist commands 2023-10-26 12:55:03 -07:00
lhearachel
f30651576c Document Battler_LockMoveChoice, Battler_UnlockMoveChoice, and BattleSystem_CanEncoreMove 2023-10-23 22:10:03 -07:00
lhearachel
7584276155 Document the capture formula 2023-10-23 00:18:10 -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
014dc44191 Document BattleScript_GetExpTask 2023-10-13 10:04:38 -07:00
lhearachel
ad15d7ce16 Document BattleScript_CalcEffortValues 2023-10-13 10:03:04 -07:00
lhearachel
f2365bf596 Document BtlCmd_CalcExpGain 2023-10-12 23:13:13 -07:00
lhearachel
0459e9ca50 Document PlayMoveAnimation and PlayMoveAnimationA2D 2023-10-09 21:05:59 -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
9297631eca Document BattleIO_QueueIsEmpty and BattleIO_UpdateTimeout 2023-10-07 20:37:25 -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
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
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
6030bb84c5 Clean up BattleController_CheckBattleOver 2023-09-28 23:16:33 -07:00
lhearachel
d58bc0a46e Clean up + rename BattleController_ReplaceFainted 2023-09-28 23:15:31 -07:00
lhearachel
fdef5b6f2a Use gen4 move names for consts + data files 2023-09-26 13:11:18 -07:00
Nomura-RH
83777f9deb
Merge branch 'pret:main' into document_mart_data 2023-09-26 18:26:36 +02:00
Nomura
81cff1370f Document Sunyshore Market data 2023-09-26 18:25:22 +02:00
Rachel
f34b40b1fb
Merge pull request #66 from lhearachel/battle-dev
Clean up AfterMoveMessage, AfterMoveEffects, and LoopMultiHit battle control states
2023-09-25 20:46:06 -07:00
Nomura-RH
aac6baa56b
Merge pull request #63 from wildfire248/mon_personal_decomp 2023-09-23 22:15:20 +02: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
lhearachel
60c4bad9bd Clean up BattleController_AfterMoveMessage 2023-09-22 22:42:08 -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
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
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
wildfire
c994192564 Add build tool for pl_personal.narc 2023-09-19 17:10:22 +01: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