Commit Graph

53 Commits

Author SHA1 Message Date
Rachel
285d4daf76 Fix casing on includes for struct_ov21_021D3208.h 2024-11-09 19:50:22 -08:00
h2o-DS
f11907bbf4 Additional Snake Case 2024-11-07 22:22:18 -05:00
h2o-DS
d6b8792b87 Snake Case Filenames 2024-11-07 22:01:20 -05:00
h2o-DS
b1b170fdc2 Additional Polish
Fixed typos
2024-11-05 20:32:44 -05:00
h2o-DS
6b8e02d312 Fixed Filename Typo 2024-11-03 20:38:02 -05:00
h2o-DS
f25be82d5b Cleaned up PokedexSort 2024-11-03 18:37:50 -05:00
h2o-DS
37f9a480b4 Pokedex Sort Enums
Rolled back Pokedex_Sort name change
Added pokedex sorting enums
Renamed STRUCT_OV21_021D3A60 to PokedexProgress
2024-10-29 23:15:54 -04:00
h2o-DS
33891b5fe1 Cleaned up PokedexFieldMap
Renamed ov21_021D517C to PokedexFieldMap
Renamed sub_0206B1F0 to VarFlags_HiddenLocationsUnlocked and created corresponding enum
2024-10-26 21:24:39 -04:00
h2o-DS
f0bbbe2993 Cleaned up PokedexEncData
Renamed ov21_021D57B4 to PokedexEncData
Moved structs DungeonCoordinates, FieldCoordinates, and EncounterLocations to PokedexEncData.h
Moved enum PokedexEncFileIndex to the c file.
Created comment descriptions for PokedexEncData
2024-10-26 19:39:34 -04:00
h2o-DS
8deecd8dd8 Merge remote-tracking branch 'upstream/main' into zukan_data.narc 2024-10-26 00:11:32 -04:00
h2o-DS
b6c7ee725a PokedexMapDisplay
Named a few more variables
2024-10-25 23:50:32 -04:00
Rachel
97d1986ee1 Collapse NARC struct decl into narc.h, clean up narc.c 2024-10-23 13:48:18 -07:00
Rachel
75e11a716f Identify unk_02002F38 -> palette 2024-10-23 13:27:54 -07:00
h2o-DS
9d444917dc Identified Map Event Flags 2024-10-22 22:27:40 -04:00
Rachel
8f6b317313 Identify UnkStruct_02018340_t -> BgConfig and document fields 2024-10-22 10:15:00 -07:00
Rachel
163050584a Identify unk_02018340 -> bg_window 2024-10-20 11:59:06 -07:00
h2o-DS
bdf564f416 Renamed UnkStruct_ov21_021D3320
Renamed UnkStruct_ov21_021D3320 to pokedexStatus
2024-10-19 23:33:17 -04:00
h2o-DS
bffc52cf48 Improved make tool
Improved efficiency of make_enc_platinum.py
Improved access of files in other folders
Renamed UnkStruct_ov21_021D5890 to fieldCoordinates
Renamed UnkStruct_ov21_021D5868 to dungeonCoordinates
Added enums for caughtStatus and encounter gategory
Removed redundant struct UnkStruct_ov21_021D0D80_1
2024-10-19 23:15:03 -04:00
h2o-DS
304a6714dd Formatted 2024-10-13 12:34:42 -04:00
h2o-DS
e4c73dd999 Generate zukan_enc_platinum.narc
Named a bunch of variables
Created make_pokedex_enc_platinum tool
Added pokedex categories to encounter json files
Changed wildEncountersArchiveID to decimal
2024-10-13 12:19:46 -04:00
Fexty12573
6334d6fbd2 clang format 2024-07-07 11:09:04 +02:00
Fexty12573
97932c582a Move sprite resource structs to header and remove decl files 2024-07-07 10:38:52 +02:00
Fexty12573
48058a910e Document SpriteResource functions 2024-07-07 10:12:57 +02:00
Fexty12573
e0a28e0099 Rename sprite util files and struct 2024-07-07 10:01:08 +02:00
Rachel
36045f723b Format the source tree 2024-07-06 14:40:34 -07:00
Rachel
f77ba49579 Modify array-of-array/struct decls and BOOL funcptrs throughout ahead of clang-format run 2024-07-05 17:14:32 -07:00
Fexty12573
90f74076c3 Rename files accordingly 2024-06-30 10:17:55 +02:00
Fexty12573
d23322852c Rename GraphicElement* -> CellActor* 2024-06-30 10:17:55 +02:00
Fexty12573
3c96d1ab7f PR Feedback: Move struct definitions and fix includes 2024-06-21 18:20:45 +02:00
Trainer Riley
877f06144c Rename touch_screen file 2024-04-13 23:07:00 -07:00
Trainer Riley
a4dec2033b Document PoketchButton and PoketchButtonManager, name Touch Screen location structs 2024-04-13 22:49:32 -07:00
Rachel
a356b7cd28 unk_020067E8.[h,c] -> overlay_manager.[h,c] 2024-04-02 21:06:40 -07:00
Rachel
58a83127d8 Consolidate struct definitions for OverlayManager(Template) into single header 2024-04-02 20:55:41 -07:00
Rachel
319c26c4d0 UnkStruct_020067E8 -> OverlayManager 2024-04-02 18:34:47 -07:00
Bepis
7287ea0105
Finish struct renames 2024-02-12 05:03:35 +11:00
Bepis
661aa74990
Determine required pokedex expansion constants 2024-02-12 05:03:33 +11:00
Rachel
3fdcf8791b Synchronize struct names for graphics rendering with pokeheartgold 2024-02-08 22:19:03 -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
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
413fa1556b Rename unk_02025E68.h,c -> trainer_info.h,c 2023-09-14 12:04:18 -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
39a3bb306a Move structs into pokemon.h and pokemon.c 2023-09-14 00:22:44 +01:00
lhearachel
c81374e975 Merge strbuf headers 2023-09-04 11:15:47 -07:00
Lhea (Rachel)
f58b348e9d Rename occurrences: UnkStruct_02023790 -> Strbuf 2023-05-12 14:39:41 -07:00
Eduardo Quezada
5d3dcc0d3e Removed uneeded header file 2023-02-20 05:38:41 -03:00
Eduardo Quezada
485a1118a3 Missing header renames 2023-02-20 01:38:06 -03:00