Commit Graph

62 Commits

Author SHA1 Message Date
lhearachel
1e58ed2e1c Clean up battle constant headers 2023-11-01 00:18:20 -07:00
lhearachel
6acc6ffd3e Document battle script command 0x44 2023-10-31 23:52:58 -07:00
lhearachel
5edbb62501 Document battle script commands 0xBB - 0xDE 2023-10-31 23:27:22 -07:00
lhearachel
657eaae2d4 Document TrainerData_BuildParty 2023-10-30 09:41:06 -07:00
lhearachel
10582fbdc0 unk_02079170 + trainer_data; label functions in trainer_data.h 2023-10-30 09:38:49 -07:00
lhearachel
e38e18500a Document TrainerData and TrainerMon structs + combine headers 2023-10-30 09:38:49 -07:00
lhearachel
6305947882 Document BattleSystem_TrainerInfo 2023-10-26 12:55:03 -07:00
lhearachel
d2c301cc45 Document battle terrain, time, and species-caught checks 2023-10-22 20:29:33 -07: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
f6f87d6b75 Unk_021BF67C -> coresys
Also label fields unk_48 -> padInput and unk_60 -> touchInput
2023-10-10 21:39:28 -07:00
lhearachel
a62e6e8384 Document CalcMoveDamage, CalcDamageVariance, and CalcCriticalMulti routines 2023-10-08 15:02:50 -07:00
lhearachel
297be289ee Document some foundational functions for battle_script.c 2023-10-02 23:46:23 -07:00
lhearachel
ff5b3b820e Label functions + BattlerData struct used by CheckAnySwitches 2023-09-28 23:15:31 -07:00
lhearachel
e5da0ec849 Rename PSSBoxes -> PCBoxes 2023-09-24 16:06:49 -07:00
lhearachel
1407ff729f Consolidate save_table_entry.h and related consts into save_table.h 2023-09-23 14:07:22 -07:00
lhearachel
641ed12e6a Clean up SaveTableEntry struct + consolidate extraneous files 2023-09-23 13:57:54 -07:00
lhearachel
2af8be5995 Mass rename structs referenced by unk_0202440C.h 2023-09-23 11:06:46 -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
wildfire
81852038e8 Misc. renames and cleanup, move data block structs 2023-09-14 00:13:04 +01:00
wildfire
eb95f78914 More cleanup of pokemon.c 2023-09-14 00:13:04 +01:00
wildfire
3797951044 Cleanup of pokemon.c and a couple renames 2023-09-14 00:12:37 +01: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
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
Lhea (Rachel)
e5f994c348 Label fields in MoveTable struct, merge related headers, clean up func names 2023-08-30 21:34:14 -07:00
lhearachel
cfdfc80d19 Mass rename functions used by the first few controller commands 2023-08-29 23:33:12 -07:00
lhearachel
8aa4f62856 Clean up + document extern functions in battle_controller.c 2023-08-29 17:09:59 -07:00
lhearachel
da730ce67b UnkStruct_0207ADB4 -> BattleSystem + some low-hanging fruit field labels 2023-08-29 16:07:08 -07:00
lhearachel
66a935788f Document BattleContext struct and substructs 2023-08-26 17:16:55 -07:00
Nomura
e8cc33cea0 Document more item-related code 2023-07-29 22:47:39 +02:00
Nomura
040fa22df8 Finalize Meson build system 2023-07-18 19:58:03 +02: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
Eduardo Quezada
30289bedcb UnkStruct_02075454_1::unk_18_3PokemonSubstruct1::form 2023-02-28 15:25:26 -03:00
Eduardo Quezada
95cf772f2b UnkStruct_02075454_1::unk_18_0PokemonSubstruct1::fatefulEncounter 2023-02-28 15:23:33 -03:00
Eduardo Quezada
b650849ae6 UnkStruct_02075454::unk_0CPokemonSubstruct0::friendship 2023-02-28 15:22:31 -03:00
Eduardo Quezada
93e8154184 UnkStruct_02075454::unk_02PokemonSubstruct0::item 2023-02-28 15:21:53 -03:00
Eduardo Quezada
92b1769511 UnkStruct_02075454::unk_00PokemonSubstruct0::species 2023-02-28 15:19:59 -03: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
bfb0b6346c UnkStruct_02073C74::unk_00box 2023-02-20 07:14:26 -03:00
Eduardo Quezada
5d3dcc0d3e Removed uneeded header file 2023-02-20 05:38:41 -03:00