Commit Graph

112 Commits

Author SHA1 Message Date
Rachel
fdc5540fb7 Move consts used by json2bin to constgen 2024-02-06 22:29:22 -08:00
froggestpsirit
2039f30af6 Pokeradar cleanup 2024-02-03 11:21:06 -05:00
Rachel
b7fffbfc76
Rebase + clean-up PR#115 with current project state (#134)
* improving readability

also seemingly located the party healing function

* readability

* clean it up

* Update pokemon.h

* add function names

Adds names to many unnamed functions for readability. Also adds names to a couple structs.

* add function names

* add struct names

* more functions with human names

* rename chatotcrydata

* doxygen documentation

* update box mon function

ProcessBoxPokemonWithTrainerInfo is now UpdateBoxMonStatusAndTrainerInfo and all params are labeled

* fixing formatting

---------

Co-authored-by: Jack <schoenjack98@gmail.com>
2024-01-28 19:05:12 -08:00
Rachel
2443a136ee
Merge pull request #129 from lhearachel/pokemon_cries
Document routines for initializing Pokemon cries
2024-01-28 14:59:01 -08:00
Rachel
9535a09487 First pass at labelling AI script commands 2024-01-26 21:49:07 -08:00
Rachel
620cab7dc0 Document entry-routines for playing Pokemon cries 2024-01-26 21:41:57 -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
ba60196b55 Move global-level consts used by battle scripts to constgen manifest 2024-01-23 17:33:17 -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
6c05a9aa6e Document App_BarColor, HealthBar_Color, and Battler_CryModulation 2023-11-14 21:42:27 -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
66369bb811 Document BattleSystem_CanUseMove and associated sub-functions 2023-11-10 22:19:56 -08:00
Rachel
a43f2c0365 Document Check/TriggerRedirectionAbilities 2023-11-07 12:23:51 -08:00
Rachel
81eb400724 Document type-effectiveness routines 2023-11-06 11:55:33 -08:00
Rachel
7024567eea Clean-up + document held-item trigger functions 2023-11-04 23:38:26 -07:00
Rachel
03b537680b Document TriggerEffectOnSwitch and TriggerFormChange functions 2023-11-04 23:38:26 -07:00
Rachel
1d36f59c6f Clean-up + document ability trigger functions 2023-11-04 23:38:19 -07:00
Rachel
363881fb19 Improve documentation for side effects and how they map to subscripts 2023-11-04 15:34:17 -07:00
Rachel
0b17aa7126 Document ClearSideExpGain and FlagBattlerExpGain 2023-11-04 12:22:17 -07:00
Rachel
d143d0c7b3 Document BattleSystem_CompareBattlerSpeed 2023-11-04 12:17:28 -07:00
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