Commit Graph

216 Commits

Author SHA1 Message Date
Adrienn Tindall
965bdcf719 Added packet size consts 2024-05-31 02:42:21 -04:00
Rachel
7b4dce2b1c Document SetupBGL, MakeMessageWindow, MakeSprite, MakeSpriteDisplay 2024-05-22 08:56:18 -07:00
Rachel
4ca3010186
Merge pull request #202 from adrienntindall/main
Documentation Dump from a side project
2024-05-20 17:42:41 -07:00
Adrienn Tindall
a574d9917f Third Pass Changes 2024-05-20 20:34:13 -04:00
Adrienn Tindall
0c394865aa Add Direction Constts
Also slowly starting to change accessor terminology
2024-05-20 20:01:24 -04:00
Adrienn Tindall
300bc7a688 Player Avatar Sprite Change Functions 2024-05-19 20:12:01 -04:00
Adrienn Tindall
fbff222d9f identify field_system.c 2024-05-19 18:01:07 -04:00
Rachel
f6cfe2d046 Atomize individual generated constants-headers 2024-05-18 22:53:57 -07:00
Adrienn Tindall
546e21a13d Add player_avatar.h constants file 2024-05-18 14:43:13 -04:00
Adrienn Tindall
4ee4ce6fe3 MapObject_(Set)Dir 2024-05-18 13:34:29 -04:00
Adrienn Tindall
8a9fe917d2 Merge remote-tracking branch 'upstream/main' 2024-05-17 18:43:24 -04:00
Adrienn Tindall
f6a5b96fee Added some MAP_OBJ_STATUS flags 2024-05-17 14:44:17 -04:00
Adrienn Tindall
0dcf1d5976 identify player_avatar.c 2024-05-17 13:59:06 -04:00
Adrienn Tindall
411bda763c Identify map_object.c 2024-05-17 13:47:44 -04:00
RavePossum
05464885ba document message_util 2024-05-06 10:25:12 -04:00
RavePossum
d8319696c6 PR feedback - sound method->mode, allocmemory->new 2024-04-14 16:21:32 -04:00
RavePossum
30b684ed8a document options, add constants file for options 2024-04-14 16:17:45 -04:00
Rachel
ecd9ac0022 Document and clean up string_template.c 2024-04-10 15:57:34 -07:00
Rachel
69ea0c0d56 Document charcode.c 2024-04-10 15:53:27 -07:00
Rachel
32a80719bb unk_0201D0C8 -> charcode 2024-04-10 15:50:56 -07:00
Rachel
7614259d48 Move charcode.h -> constants/charcode.h 2024-04-10 15:50:30 -07:00
Rachel
bcf020ad58
Merge pull request #183 from adrienntindall/main
identify communication club
2024-04-10 13:58:44 -07:00
Adrienn Tindall
d43d50850e Update comm_type.h 2024-04-10 15:58:49 -04:00
Adrienn Tindall
0ca9748f22 Added some constants 2024-04-10 15:42:05 -04:00
Rachel
dc50d8559a
Merge pull request #184 from ravepossum/misc_save
Document most of misc save block
2024-04-08 09:26:44 -07:00
Rachel
08f945c5c4
Merge pull request #181 from TrainerRiley/poketch_system
Begin Documenting Poketch System
2024-04-08 09:22:09 -07:00
RavePossum
24e930289f pr feedback: duplicate includes, string consts, filler & bitfield styling 2024-04-08 11:55:10 -04:00
RavePossum
912964b71b add newline to EOF of misc save constants 2024-04-08 10:51:27 -04:00
RavePossum
c553134f15 document most of misc save block, add constants file for misc save 2024-04-07 23:57:19 -04:00
Trainer Riley
520dea63bf Addressed pr comments. Went and found all the places that were using 7 and 8 for Heap IDs and replaced them with new IDs in constants/heap.h, and also included that header in heap.h. 2024-04-07 14:33:06 -07:00
RavePossum
fed1d2bd60 document the rest of savedata.c 2024-04-07 10:57:59 -04:00
Rachel
8185c23439
Merge pull request #172 from adrienntindall/main
Document communication_information
2024-04-01 09:04:44 -07:00
RavePossum
784d09b387 address PR feedback - pointer spacing, some names, removing unnecessary parens 2024-03-31 23:50:31 -04:00
Adrienn Tindall
cc888724be Identify communication_system.h 2024-03-31 19:02:36 -04:00
RavePossum
6bd0a39fc1 document more save data, mostly save state 2024-03-30 14:31:48 -04:00
ravepossum
455ad6e69f address PR feedback: heap enums, struct names, c99 declarations, EOF newlines, etc 2024-03-24 09:48:58 -04:00
ravepossum
18990cbe8a create save table constants file, move save data structs to .h file 2024-03-23 15:19:53 -04:00
ravepossum
0b5762eb55 more documentation for savedata, better names 2024-03-23 14:43:46 -04:00
ravepossum
add731128f further documentation of save data 2024-03-23 14:41:52 -04:00
Rachel
01db0cca9b Dump trainer AI byte-code script 2024-02-21 13:09:55 -08:00
FroggestSpirit
9e5e9e7921 Update sdat.h 2024-02-14 20:53:26 -05:00
Rachel
59163ac8e9 Document Healthbar_DrawBattlerName 2024-02-11 12:18:33 -08:00
Rachel
825cc22c0b Clean up + document BattleIO_SlideHealthbar[In,Out] 2024-02-11 12:12:52 -08:00
Bepis
7e2ab88011
Rename forms to movesets 2024-02-12 05:03:33 +11:00
Bepis
661aa74990
Determine required pokedex expansion constants 2024-02-12 05:03:33 +11: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
8d4cd6b9da Clean up [Show,Hide]Pokeballs routines 2024-02-08 22:19:03 -08:00
Rachel
3228d2422a Document [Show,Hide]Arrow 2024-02-08 22:19:03 -08:00
Rachel
3f108548fa Document externally-visible functions for the party gauge 2024-02-08 22:19:03 -08:00
Rachel
b0077dd410 Document BattleIO routines for the party gauge 2024-02-07 15:35:05 -08:00
Rachel
d64f2f90ee Document PartyGaugeData_New routine 2024-02-07 13:55:12 -08:00
Rachel
393b24ab89
Merge pull request #139 from lhearachel/json2bin_constgen
Migrate json2bin scripts to constgen headers
2024-02-07 09:04:46 -08:00
Rachel
fdc5540fb7 Move consts used by json2bin to constgen 2024-02-06 22:29:22 -08:00
Rachel
9246e4b890 Bulk rename known values for enum PokemonDataParam 2024-02-06 15:08:04 -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