Commit Graph

34 Commits

Author SHA1 Message Date
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
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
4739e0ed14 Label + document ChatotCry struct 2024-01-26 20:43:50 -08:00
Rachel
1d055f3048 Document structs used for loading data from pl_poke_data.narc 2023-11-18 21:17:55 -08: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
57a0b5fcc4 [Mass Rename] Structs and subroutines for GiveExp task func
Functions:
- ov16_0223E05C -> BattleSystem_MessageLoader
- ov16_02259B38 -> BattleSystem_PokemonIsOT
- ov16_022499C0 -> BattleScript_CalcEffortValues
- ov16_0223EDF0 -> BattleSystem_TextSpeed
- ov16_0223FB24 -> BattleMessage_Print
- sub_0201D724  -> Message_Printing
- ov16_02265D14 -> BattleIO_UpdateExpGauge
- sub_02076B14  -> Pokemon_ShouldLevelUp
- ov16_02265FF8 -> BattleIO_PlayStatusEffect
- ov16_0226614C -> BattleIO_PlayLevelUpAnimation
- ov16_02251C94 -> BattleSystem_ReloadPokemon
- ov16_0224B520 -> BattleScript_LoadPartyLevelUpIcon
- ov16_0223DF00 -> BattleSystem_BGL
- ov16_0223DF04 -> BattleSystem_Window
- ov16_0223E064 -> BattleSystem_PaletteSys
- sub_02019060  -> BGL_SetPriority
- ov16_0223F8DC -> BattleSystem_SetGaugePriority
- sub_0200DA60  -> Window_SetFrame
- sub_0200DAA0  -> Window_FramePalette
- sub_02003050  -> PaletteSys_LoadPalette
- sub_0201A7E8  -> BGL_AddWindow
- sub_0201ADA4  -> BGL_FillWindow
- sub_0200DC48  -> Window_Show
- ov16_0223FB78 -> BattleMessage_PrintToWindow
- sub_0201AE78  -> BGL_WindowColor
- sub_02005748  -> Sound_PlayEffect
- sub_0200DC9C  -> Window_Clear
- sub_0201A8FC  -> BGL_DeleteWindow
- ov16_0224B7CC -> BattleScript_FreePartyLevelUpIcon
- sub_0207727C  -> Pokemon_LevelUpMove
- ov16_022664C4 -> BattleIO_ForgetMove
- sub_0200DA58  -> SysTask_Done

Structs:
- UnkStruct_02002F38 -> PaletteSys
- UnkStruct_02018340 -> BGL
- UnkStruct_0205AA50 -> Window
- UnkStruct_ov16_02248E74 -> PokemonStats
2023-10-13 10:03:01 -07:00
lhearachel
fb3af3b9fc Label core SysTask struct + funcptr
UnkStruct_0201CD38 -> SysTask
UnkFuncPtr_0201CE28 -> SysTaskFunc
2023-10-13 09:59:51 -07:00
lhearachel
39c137a334 Label struct + member fields for BattleScriptTaskData 2023-10-13 09:57:38 -07:00
lhearachel
e5da0ec849 Rename PSSBoxes -> PCBoxes 2023-09-24 16:06:49 -07:00
lhearachel
2af8be5995 Mass rename structs referenced by unk_0202440C.h 2023-09-23 11:06:46 -07:00
lhearachel
8cccaf10d3 Merge struct_defs/struct_02025E6C.h into unk_02025E68.h; label struct + fields 2023-09-14 11:52:51 -07:00
wildfire
89ceba05a3 Document pokemon.c and related structs 2023-09-14 00:10:30 +01:00
lhearachel
b8fa07712b Merge branch 'main' into battle-dev 2023-09-09 11:22:56 -07:00
lhearachel
8090149c08 Label function names in unk_0200AC5C.h + make structs transparent 2023-09-09 10:30:40 -07:00
lhearachel
966e39f6e9 Delete superfluous file: struct_decls/struct_itemdata_decl.h 2023-09-04 11:16:32 -07:00
lhearachel
da730ce67b UnkStruct_0207ADB4 -> BattleSystem + some low-hanging fruit field labels 2023-08-29 16:07:08 -07:00
Nomura
b76520eee1 Document berry_data.c 2023-07-30 20:18:22 +02:00
Nomura
e8cc33cea0 Document more item-related code 2023-07-29 22:47:39 +02:00
Lhea (Rachel)
7d554f117e Make struct def transparent, add Doxygen docs 2023-05-15 16:20:50 -07:00
Lhea (Rachel)
f58b348e9d Rename occurrences: UnkStruct_02023790 -> Strbuf 2023-05-12 14:39:41 -07:00
Eduardo Quezada
820aed4610 Removed include/struct_decls/box_pokemon.h 2023-02-27 07:52:06 -03:00
Eduardo Quezada
3563a0baa4 UnkStruct_02073C74::unk_08Pokemon::party 2023-02-20 20:54:50 -03:00
Eduardo Quezada
5d3dcc0d3e Removed uneeded header file 2023-02-20 05:38:41 -03:00
Eduardo Quezada
bd5c55513c UnkStruct_02073C74_sub2 -> PartyPokemonData 2023-02-20 02:10:08 -03:00
Eduardo Quezada
854c6613c2 UnkStruct_02075454X -> PokemonSubstructX 2023-02-20 01:55:31 -03:00
Eduardo Quezada
485a1118a3 Missing header renames 2023-02-20 01:38:06 -03:00
Eduardo Quezada
4a235cee4c UnkStruct_02073C74_sub1 -> BoxPokemon 2023-02-20 01:27:15 -03:00
Eduardo Quezada
e166e4932a UnkStruct_02073C74 -> Pokemon 2023-02-20 01:05:16 -03:00
Nomura
798092361b Document coins.c 2023-02-03 20:47:50 +01:00
Nomura
d476d0ebdc Document struct Party 2023-01-29 10:23:57 +01:00
Nomura
ed4a787311 Document filesystem.c 2023-01-12 19:44:53 +01:00
luckytyphlosion
46f6dc3bf4 Add in headers. 2022-12-23 14:05:03 -05:00