Commit Graph

332 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
Frogg
c15039e2cb
Merge branch 'pret:main' into main 2024-01-31 19:19:45 -05:00
FroggestSpirit
1ad4045316 Initial pokeradar documentation 2024-01-31 19:15:28 -05:00
Maja Kądziołka
f3604018fe
Label some code referenced by main (#133)
* main callback, hblank

* HandleConsoleFold

* WaitFrame, SoftReset, UpdateSound

* HeapCanary

* Label the RTC code

* Address review comments
2024-01-29 12:14:41 -08: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
Maja Kądziołka
e4edaa7744
Apply suggestions from review 2024-01-28 02:57:28 +01:00
Maja Kądziołka
2a325ba041
File reading functions 2024-01-28 02:15:42 +01:00
Maja Kądziołka
af2ac550b1
Label touch input processing 2024-01-28 02:05:15 +01:00
Maja Kądziołka
27c4682368
Label pad input processing 2024-01-28 01:51:16 +01: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
825e3f3cc4 Label functions used for playing Pokemon cries 2024-01-26 20:48:55 -08:00
Rachel
4739e0ed14 Label + document ChatotCry struct 2024-01-26 20:43:50 -08:00
Rachel
7e1574a1ee
Merge pull request #126 from lhearachel/hidden_items
Document hidden field items table
2024-01-25 11:13:56 -08:00
Rachel
2cec41cc12 Document hidden field items table 2024-01-25 10:35:46 -08:00
Rachel
09e74fff71 Document mid-turn switch AI functions 2024-01-24 22:33:30 -08:00
Rachel
b876960686 Document AI-visible damage calc 2024-01-24 22:33:25 -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
93d56d6d5c Label extern functions in overlay 14 2024-01-20 18:40:11 -08:00
Rachel
36cc961bc9 Rename ov14_0221FC20.[ch] -> trainer_ai.[ch] 2024-01-20 18:38:44 -08:00
Rachel
7bf253a4d6 Move enum-based battle constants to constgen schema 2024-01-08 20:50:36 -08:00
Rachel
04a0cbf3a8 Document functions for loading data from height.narc and height_o.narc 2023-11-28 13:16:32 -08:00
Rachel
067064329c Document functions for loading data from pl_poke_data archive 2023-11-18 21:45:29 -08:00
Rachel
d65696c042 Label functions for PokeSprite data-loading 2023-11-18 21:42:06 -08:00
Rachel
1d055f3048 Document structs used for loading data from pl_poke_data.narc 2023-11-18 21:17:55 -08:00
Rachel
fb8632ce43 Rename ov16_0225177C -> battle_lib 2023-11-14 22:45:28 -08:00
Rachel
0052320f3b Document BattleAI_SwitchedSlot, Battle_RecordingStopped, and BattleSystem_InitPartyOrder 2023-11-14 21:42:27 -08:00
Rachel
bfefa854aa Document BattleSystem_SetPokemonCatchData 2023-11-14 21:42:27 -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
15b528b368 Document Battler_IsTrapped and Battler_CanEscape 2023-11-11 18:46:48 -08:00
Rachel
3f29ee71f6 Document BattleIO_EnqueueVal and DequeueVal 2023-11-11 18:15:17 -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
bbbec7a357 Document Move_IsGhostCurse, Move_IsMultiTurn, and Battler_Ability 2023-11-10 22:19:56 -08:00
Rachel
66369bb811 Document BattleSystem_CanUseMove and associated sub-functions 2023-11-10 22:19:56 -08:00
Rachel
db2ab0a437 Document TriggerHeldItemOnPivotMove 2023-11-10 22:19:56 -08:00
Rachel
c30b9cbc4b
Merge pull request #110 from lhearachel/battle-dev
Document type-effectiveness routines, Check/Trigger for redirection abilities
2023-11-09 13:24:39 -08:00
Rachel
cfec633df8
Merge pull request #111 from Kurausukun/matching
Start Matching Remaining Functions
2023-11-09 13:13:45 -08:00
Kurausukun
4045bb1578 start matching functions 2023-11-09 15:57:05 -05:00