Commit Graph

47 Commits

Author SHA1 Message Date
Rachel
5aa97bc404 Fix format hook 2024-11-03 16:08:01 -08:00
Rachel
7be948e872 Document system_flags.c 2024-11-03 16:08:01 -08:00
Rachel
3e6bf725ac Identify unk_0206A8DC -> system_flags 2024-11-03 16:08:01 -08:00
Rachel
119135dde3 Document location.c, TryLoadingSave, StartNewSave 2024-11-01 11:03:29 -07:00
Rachel
fa194563da Identify extern functions in graphics.h 2024-10-23 16:42:39 -07:00
Rachel
a96c89a124 Identify unk_02006E3C -> graphics 2024-10-23 13:52:26 -07:00
Rachel
97d1986ee1 Collapse NARC struct decl into narc.h, clean up narc.c 2024-10-23 13:48:18 -07:00
Rachel
5f3e1eb7a0 Identify extern functions in palette.h 2024-10-23 13:27:54 -07:00
Rachel
75e11a716f Identify unk_02002F38 -> palette 2024-10-23 13:27:54 -07:00
Rachel
36045f723b Format the source tree 2024-07-06 14:40:34 -07:00
RavePossum
b8b63a7ae0 Rename unk_0203E880 -> script_manager 2024-06-27 23:02:21 -04:00
RavePossum
52da4e9219 Rename function that was named incorrectly, TryGetVarPointer->TryGetVar 2024-06-24 19:02:10 -04:00
RavePossum
5d1b785722 Begin to document ScriptManager, a couple script commands, and scrcmd constgen 2024-06-23 23:42:51 -04:00
Fexty12573
5be7310c57 Note about task priority, renamed 2 functions and files 2024-06-21 18:21:29 +02:00
Fexty12573
3c96d1ab7f PR Feedback: Move struct definitions and fix includes 2024-06-21 18:20:45 +02:00
RavePossum
7a665c426a PR feedback: macro arg countdownVarID, GetVar->GetVarPointer 2024-06-18 00:25:33 -04:00
Rachel
6d682931f0
Merge pull request #219 from Fexty12573/encounter-effect
Document Encounter Effects
2024-06-17 18:57:01 -07:00
RavePossum
b0d0e431ad PR feedback: re/name DecrementTimer and GetVar 2024-06-15 14:51:48 -04:00
Fexty12573
a011156c3e Improved some names 2024-06-12 10:07:12 +02:00
cbt6
1319c90b00 Document vars_flags.c 2024-06-08 11:05:00 +08:00
Adrienn Tindall
d88da37bba FieldEvents -> VarsFlags 2024-06-05 11:06:25 -04:00
Adrienn Tindall
ccaeaa1cd3 field_overworld_state 2024-06-05 07:37:13 -04:00
Adrienn Tindall
10d33c357a Name journal files 2024-06-02 22:07:41 -04:00
Adrienn Tindall
40930d8f58 Begin documenting FieldStatus struct functions 2024-06-02 06:24:08 -04:00
Adrienn Tindall
0e4cdd87b6 Location->unk_08, unk_0C => x, z 2024-06-02 04:47:32 -04:00
Adrienn Tindall
c8650b9da1 Events -> FieldEvents
Just for clarity
2024-06-02 03:09:27 -04:00
Adrienn Tindall
011c9463a6 UnkStruct_020507E4 -> Events
Based on SaveData_Events function
2024-06-02 03:08:42 -04:00
Adrienn Tindall
0adf43c584 Location->unk_00 => mapId 2024-06-02 02:38:18 -04:00
Adrienn Tindall
276897d6c8 fieldSystem->unk_1C => location 2024-06-02 01:40:20 -04:00
Adrienn Tindall
2b17be4805 Every instance of FieldSystem 2024-05-27 17:33:40 -04:00
Adrienn Tindall
35de262ebd UnkStruct_02049FA8 -> Location 2024-05-19 18:04:51 -04:00
cbt6
80b6d912fd Rename unk_0203E724.c to field_script_context.c 2024-04-18 10:19:09 +08:00
cbt6
a90ee90900 Document unk_0203E724.c 2024-04-18 01:29:07 +08:00
cbt6
7ba592f6f4 Move UnkStruct_0203E724 to unk_0203E724.h 2024-04-18 01:12:58 +08:00
Adrienn Tindall
84ab81d010 Rename unk_0C -> saveData in FieldSystem struct 2024-04-12 21:01:15 -04:00
Adrienn Tindall
0f2291efad Destroy all traces of struct_0203CDB0 2024-04-02 11:51:00 -04:00
Adrienn Tindall
360517a451 UnkStruct_0203CDB0 -> FieldSystem 2024-04-01 12:44:02 -04: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
wildfire
10275fd56e Document RNG Functions 2023-09-13 23:23:32 +01:00
Nomura
e1844cadc0 Restyle function names 2023-02-02 22:06:46 +01:00
Nomura
2d4d30696d Document heap.c 2023-01-21 18:51:49 +01:00
Nomura
ed4a787311 Document filesystem.c 2023-01-12 19:44:53 +01:00
Nomura
dcf40efcf6 Improve names in map_header.c 2023-01-12 16:18:32 +01:00
Nomura
37d3366362 Partially document map_header.c 2023-01-11 20:34:34 +01:00
luckytyphlosion
ea122df5e9 Match main.c 2022-12-23 16:54:09 -05:00
luckytyphlosion
46f6dc3bf4 Add in headers. 2022-12-23 14:05:03 -05:00