Commit Graph

32 Commits

Author SHA1 Message Date
Rachel
54bf0780b7 Identify unk_02051D8C -> field_battle_data_transfer 2024-11-09 20:08:53 -08: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
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
e77596d92d Applied Polish
Implemented camelCase
Use unicode characters in data.json
Removed double escape from data.json
Gave names to generated message files
2024-09-23 17:25:32 -04:00
Rachel
36045f723b Format the source tree 2024-07-06 14:40:34 -07:00
Fexty12573
3c96d1ab7f PR Feedback: Move struct definitions and fix includes 2024-06-21 18:20:45 +02:00
TrainerRiley
95148c5036
Merge branch 'main' into poketch_buttons 2024-04-14 14:25:57 -07:00
RavePossum
554577e509 move options struct definition to options file, mass rename to game_options 2024-04-14 16:17:45 -04: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
9890becf13 StringFormatter -> StringTemplate 2024-04-10 15:23:32 -07:00
Rachel
c854473a3e unk_0200B358.[h,c] -> string_template.[h,c] 2024-04-10 15:15:46 -07:00
Rachel
42ebc60be3 Collapse struct typedef into unk_0200B358.h 2024-04-10 15:12:59 -07:00
ravepossum
07ead576ee rename savedata.c and .h 2024-03-23 15:46:18 -04:00
ravepossum
60b004087c move savedata struct declaration out of separate file 2024-03-23 14:57:18 -04:00
Rachel
2a88567e80 Rename AnimationControlFlags -> Options + label struct fields 2024-02-19 11:25:30 -08:00
Rachel
ec274059e8 Label structs and functions used by Healthbar_DrawBattlerName
- UnkStruct_0200B358 → StringFormatter
- ov16_0223E0D0 → BattleSystem_StringFormatter
- sub_0200B5CC → StringFormatter_BufferNickname
- sub_0201D7E0 → PrintStringWithColorAndMargins
- sub_0201A870 → BGL_AddFramelessWindow
- sub_02021F98 → SpriteActor_ImageProxy
2024-02-11 12:18:32 -08: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
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
2af8be5995 Mass rename structs referenced by unk_0202440C.h 2023-09-23 11:06:46 -07:00
lhearachel
bc6823087d Rename files: unk_0200AC5C -> message 2023-09-09 10:38:29 -07:00
lhearachel
8090149c08 Label function names in unk_0200AC5C.h + make structs transparent 2023-09-09 10:30:40 -07:00
lhearachel
c81374e975 Merge strbuf headers 2023-09-04 11:15:47 -07:00
Rachel
632f43a4f8
Document enc_effects.c (#13)
Also documented the structs used by this file and the used member fields elsewhere.
2023-07-06 07:52:11 -07:00
Lhea (Rachel)
f58b348e9d Rename occurrences: UnkStruct_02023790 -> Strbuf 2023-05-12 14:39:41 -07: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