Commit Graph

414 Commits

Author SHA1 Message Date
ravepossum
455ad6e69f address PR feedback: heap enums, struct names, c99 declarations, EOF newlines, etc 2024-03-24 09:48:58 -04:00
ravepossum
07ead576ee rename savedata.c and .h 2024-03-23 15:46:18 -04:00
ravepossum
18990cbe8a create save table constants file, move save data structs to .h file 2024-03-23 15:19:53 -04:00
ravepossum
60b004087c move savedata struct declaration out of separate file 2024-03-23 14:57:18 -04:00
ravepossum
0b5762eb55 more documentation for savedata, better names 2024-03-23 14:43:46 -04:00
ravepossum
add731128f further documentation of save data 2024-03-23 14:41:52 -04:00
ravepossum
09389bb31b start documenting save system 2024-03-23 14:41:52 -04:00
Trainer Riley
51752d105a simplified SaveData_PoketchData, doxygenized comments, and more style guide/formatting cleanup 2024-03-22 14:53:59 -07:00
Trainer Riley
c070a7802d Replaced defines with enums, moved struct definition to the header file (and removed the old declaration header), and formatting/style guide fixes 2024-03-22 14:11:17 -07:00
Trainer Riley
706285ed88 Remove unnamed poketch data file & rename struct declaration file 2024-03-21 20:34:10 -07:00
Trainer Riley
68965f6495 Updated comments and replaced more magic numbers with defined values.
It looks like it was safe to add the save_table header in the c file; the rom still matches.
2024-03-21 19:57:13 -07:00
Trainer Riley
12dd7cc9cd More functions in PoketchData named, variables named, and comments added to all known Poketch functions so far. 2024-03-21 00:06:38 -07:00
Trainer Riley
666bcd3092 Poketch Data - named most variables in the struct, named many of its functions, and started adding comments. 2024-03-20 00:09:58 -07:00
Mr-Toodguy
0d00df331c map_headers.h spacing 2024-03-15 23:59:12 -05:00
Mr-Toodguy
f16f84298e Change mapHeaders to sMapHeaders 2024-03-15 23:53:38 -05:00
Mr-Toodguy
8981221d0f mapHeaders struct declarations & separate file 2024-03-15 23:50:56 -05:00
Mr-Toodguy
44a4ecef31 map_header struct names
mapLabelTextID & mapLabelWindowID struct parameters and lookup functions.
2024-03-15 18:43:43 -05:00
Mr-Toodguy
5dc7549581 Comments & Flag Constants for map headers 2024-03-15 18:28:13 -05:00
Rachel
7c729b6b97
Merge pull request #153 from lhearachel/trainer-ai
Rebuild trainer AI byte-code script from ASM macros
2024-02-22 09:49:32 -08:00
Rachel
01db0cca9b Dump trainer AI byte-code script 2024-02-21 13:09:55 -08:00
Rachel
6d082cafb1
Merge pull request #152 from lhearachel/summary-screen
Document core routines and structs used by the Pokemon summary screen
2024-02-21 12:25:32 -08:00
Rachel
55be86cee4 Move BattleStat and CompareSpeedResult to constgen manifest 2024-02-21 11:20:17 -08:00
Rachel
d590dd7888 Label EventFlag_VisitedContestHall, SaveData_Events 2024-02-19 15:46:19 -08:00
Rachel
6e6ecd1768 unk_0208C324 -> pokemon_summary_app + label public routines 2024-02-19 15:30:19 -08:00
Rachel
3a2fa196f6 Label fields for PokemonSummaryApp sub-structs 2024-02-19 15:27:48 -08:00
Rachel
75ef503a56 UnkStruct_0208D7BC -> PokemonSummaryApp + label struct fields 2024-02-19 15:27:42 -08:00
Rachel
93f09562ac UnkStruct_02098D38 -> PokemonSummary + label struct fields 2024-02-19 12:25:01 -08:00
Rachel
2a88567e80 Rename AnimationControlFlags -> Options + label struct fields 2024-02-19 11:25:30 -08:00
FroggestSpirit
9e5e9e7921 Update sdat.h 2024-02-14 20:53:26 -05:00
Rachel
59163ac8e9 Document Healthbar_DrawBattlerName 2024-02-11 12:18:33 -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
0422c043a1 Document Healthbar_LoadResources 2024-02-11 12:15:37 -08:00
Rachel
337d0192bb Label routines used by Healthbar_DrawInfo 2024-02-11 12:15:37 -08:00
Rachel
72f8e8be56 Clean up Healthbar_DrawGauge 2024-02-11 12:15:37 -08:00
Rachel
b7abc09f4d Document Healthbar_DrawInfo 2024-02-11 12:15:37 -08:00
Rachel
c3a72122b9 Document routines for the healthbar scroll 2024-02-11 12:15:37 -08:00
Rachel
6c2d8d998f sub_0200D494 -> SpriteActor_SetPositionXY 2024-02-11 12:15:37 -08:00
Rachel
70cb3c61d4 Document Healthbar_Enable 2024-02-11 12:15:37 -08:00
Rachel
9961ee355a Label Healthbar member fields used by Healthbar_Enable 2024-02-11 12:15:37 -08:00
Rachel
0c75103c93 BattlerData::unk_28 -> healthbar 2024-02-11 12:15:37 -08:00
Rachel
751c1cd688 sub_0200D3F4 -> SpriteActor_EnableObject 2024-02-11 12:15:36 -08:00
Rachel
282f216aa9 Rename ov16_02266F1C -> healthbar 2024-02-11 12:12:52 -08:00
Rachel
92b461ab86 Clean up and document BattleDisplay_SlideHealthbar[In,Out] 2024-02-11 12:12:52 -08:00
Rachel
40e08d5f5d Document BtlIOCmd_SlideHealthbar[In,Out] 2024-02-11 12:12:52 -08:00
Rachel
825cc22c0b Clean up + document BattleIO_SlideHealthbar[In,Out] 2024-02-11 12:12:52 -08:00
Bepis
7287ea0105
Finish struct renames 2024-02-12 05:03:35 +11:00
Bepis
21c031dc4d
Rename typedef to PokedexData 2024-02-12 05:03:34 +11:00
Bepis
7e2ab88011
Rename forms to movesets 2024-02-12 05:03:33 +11:00
Bepis
661aa74990
Determine required pokedex expansion constants 2024-02-12 05:03:33 +11:00
Rachel
3471f61119
Merge pull request #143 from wildfire248/dex_numbers
Build SinnohDex<->NatDex mappings from source
2024-02-11 09:33:51 -08:00