Commit Graph

31 Commits

Author SHA1 Message Date
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
Rachel
36045f723b Format the source tree 2024-07-06 14:40:34 -07:00
Fexty12573
461001bcfc PR feedback: fixed includes, constants, formatting, naming 2024-06-21 07:38:54 +02:00
Fexty12573
772fbe7450 Rename Bag struct 2024-06-21 07:38:54 +02:00
Fexty12573
d23b72bc38 Rename bag files and remove decl files 2024-06-21 07:38:54 +02: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
Rachel
ae703289a6 Rename subfolders overlay016 -> battle 2024-04-03 21:05:28 -07: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
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
b8fa07712b Merge branch 'main' into battle-dev 2023-09-09 11:22:56 -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
3d77876464 Label fields for BagItem struct 2023-09-04 11:16:36 -07:00
lhearachel
c81374e975 Merge strbuf headers 2023-09-04 11:15:47 -07:00
lhearachel
da730ce67b UnkStruct_0207ADB4 -> BattleSystem + some low-hanging fruit field labels 2023-08-29 16:07:08 -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
Eduardo Quezada
e166e4932a UnkStruct_02073C74 -> Pokemon 2023-02-20 01:05:16 -03:00
Nomura
d476d0ebdc Document struct Party 2023-01-29 10:23:57 +01:00
luckytyphlosion
46f6dc3bf4 Add in headers. 2022-12-23 14:05:03 -05:00