Commit Graph

135 Commits

Author SHA1 Message Date
Kuruyia
bb21d0d576 Document persisted map features
This documents the `unk_02027F50.c` file, which is in charge of managing
data used by some maps to be more dynamic, and that needs to be
persisted in the save file. Examples include Sunyshore Gym's bridges
rotation, Pastoria Gym's water level, Canalave Gym's platform
positions...

This also documents related code in the save data module, and names
constants used as IDs for identifying the map that is currently using
dynamic features.

Signed-off-by: Kuruyia <github@kuruyia.net>
2025-03-24 07:43:55 +01:00
Kuruyia
607e8f4bf9 Document terrain collision manager
This documents the `unk_02054D00.c` file, which is in charge of managing
height, collision and tile behavior between the terrain and the
player/map objects.

Signed-off-by: Kuruyia <github@kuruyia.net>
2025-03-22 13:48:02 +01:00
Eduardo Quezada
18ecf16d74
Document Daycare (#436)
* Identified Daycare struct + incense baby table

* Daycare params

* Daycare_CreateEgg

* TryGiveVoltTackle

* Better names

* DetermineEggSpeciesAndParentSlots

* Format

* GetParentsCompatibility

* Party_GetFirstEgg

* GetEggCyclesToSubtract

* Egg cycles

* Nature inheritence

* DaycareMon

* Better name for FieldSystem_GetDay

* Cleaner struct defs

* Store into daycare

* Daycare levels and price

* Daycare mon count

* DaycareMail

* Mail struct def

* MON_DATA_MAIL and Take mon from daycare

* IVs and Moves

* Utility functions

* More utility functions

* Review changes

* Renamed files
2025-03-22 03:16:18 -07:00
RavePossum
67ec27b77e Move PokemonSpriteManager to pokemon sprite struct def header 2025-03-09 19:24:43 -04:00
RavePossum
7c6bfa45df Mass rename UnkStruct_02007768 -> PokemonSpriteManager 2025-03-09 19:24:43 -04:00
narf0708@gmail.com
53835af289 Polish & renaming 2025-03-08 09:33:17 -05:00
h2o-DS
d137ce45a6 pokedex_main
ov21_021D0D80 -> pokedex_main
unk_0209ACBC-> pokedex_memory
struct_ov21_021D3320 -> pokedex_sort_data
UnkStruct_ov21_021D13FC -> PokedexGraphicData
UnkStruct_ov21_021D0F60 -> PokedexApp
enum HeapId HEAP_ID_POKEDEX
2025-02-25 07:59:10 -05:00
Rachel
c807806d15 Zip def and decl for PokemonSprite into one header 2025-02-13 19:07:16 -08:00
Rachel
41abbde3c6 Mass terminology update: CellActor -> Sprite, etc. 2025-02-13 18:43:23 -08:00
Rachel
02870538aa Identify unk_0200C6E4 -> sprite_system and document structs 2025-02-13 18:37:08 -08:00
Kuruyia
6c3b457001 Expose map matrix structs
Signed-off-by: Kuruyia <github@kuruyia.net>
2025-02-04 10:07:38 +01:00
Kuruyia
817e8e4a53 Document map matrix
Signed-off-by: Kuruyia <github@kuruyia.net>
2025-02-03 12:35:18 +01:00
Viperio19
5890159b78 Move Party struct to party.h 2025-01-19 23:15:36 +01:00
Rachel
b48793e3b2
Merge pull request #339 from fakuzatsu/main
Some checks failed
build / build (push) Has been cancelled
document poffin.c and poffin case struct
2025-01-19 13:50:59 -08:00
fakuzatsu
2b21d7b7ec zip poffin structs into poffin.h change func names 2025-01-18 07:48:26 +00:00
fakuzatsu
0bba4d78d5 document poffin.c and poffin case struct 2025-01-17 22:06:58 +00:00
Adrienn Tindall
856e02c669 Merge branch 'main' of https://github.com/pret/pokeplatinum 2025-01-09 13:36:22 -05:00
iriv24
1e806dc85f continuing pal park documentation 2024-12-30 17:27:46 -05:00
Adrienn Tindall
c64cf90f0e Merge branch 'main' of https://github.com/pret/pokeplatinum 2024-12-04 20:53:38 -05:00
Adrienn Tindall
b97f79cb72 Update Consts, Remove "Data" notation 2024-12-04 20:52:55 -05:00
cbt6
650e797595 Document some map object functions 2024-12-01 09:00:43 +08:00
Viperio19
9da11d64df Rename variable and function names related to overworld poison damage 2024-11-18 20:15:27 +01:00
Rachel
b83538a1c5 Identify unk_020508D4 -> field_task; rename FieldTask -> FieldTaskFunc, TaskManager -> FieldTask 2024-11-03 16:08:01 -08:00
Rachel
e855dada7e Document berry_patches.c, clean up berry_data.c 2024-11-02 09:37:59 -07:00
Rachel
a94d1747a3 Document record_mixed_rng.c 2024-11-02 00:16:41 -07:00
Rachel
81b9a3c9c9 Document most of system_data.c 2024-11-02 00:14:41 -07:00
Rachel
34c5755ede Identify unk_02001AF4 -> menu 2024-10-25 20:32:03 -07:00
Rachel
122ee74d2d Identify unk_0200112C -> list_menu and label structs 2024-10-25 20:02:09 -07:00
Rachel
5599a4b21a Identify unk_02013A04 -> string_list, struct members, extern functions 2024-10-25 20:02:09 -07: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
163050584a Identify unk_02018340 -> bg_window 2024-10-20 11:59:06 -07:00
Rachel
eccd14b8c4 Document colored_arrow.c 2024-10-19 18:56:42 -07:00
Rachel
059f8d8e0a Identify unk_020232E0 -> font_manager 2024-10-13 00:23:14 -07:00
Adrienn Tindall
d41abd35bb Fix nitpicks 2024-10-07 02:43:49 -04:00
Adrienn Tindall
bef2da552a TerrainCollisionManager
Name is open to suggestions
2024-08-06 14:16:58 -04:00
Fexty12573
97932c582a Move sprite resource structs to header and remove decl files 2024-07-07 10:38:52 +02:00
Fexty12573
be8752bb39 Document SpriteResourceTable 2024-07-07 10:14:16 +02:00
Fexty12573
48058a910e Document SpriteResource functions 2024-07-07 10:12:57 +02:00
Fexty12573
e0a28e0099 Rename sprite util files and struct 2024-07-07 10:01:08 +02:00
Fexty12573
90f74076c3 Rename files accordingly 2024-06-30 10:17:55 +02:00
Fexty12573
d23322852c Rename GraphicElement* -> CellActor* 2024-06-30 10:17:55 +02:00
Fexty12573
396ed5e9cd Documented last static functions + cleanup 2024-06-30 10:17:12 +02:00
Rachel
fcc44b90d1
Merge pull request #240 from Fexty12573/resource-manager
Document Resource Manager + Texture Resource Manager (Cell Actor Part 1)
2024-06-29 12:10:23 -07:00
Rachel
f59f742e0f
Merge pull request #239 from shricubed/savestate
Documented SaveState struct and relevant functions
2024-06-28 22:54:04 -07:00
Fexty12573
f3c5559343 Struct cleanup 2024-06-27 15:26:14 +02:00
Fexty12573
7e231694fb Begin documenting TextureResourceManager 2024-06-27 13:26:20 +02:00
Fexty12573
5ff7170bce Document ResourceManager functions 2024-06-27 11:06:52 +02:00
shricubed
14c30543e1 Renamed SaveState to PlayerSave and fixed relevant references 2024-06-26 13:40:58 -04:00
shricubed
2910839023
Merge branch 'main' into savestate 2024-06-24 16:53:40 -04:00