Commit Graph

157 Commits

Author SHA1 Message Date
ItsLeaze
d3d92e2611
Name item use functions (#680)
Co-authored-by: Rachel <lhearachel@proton.me>
2025-08-16 21:13:42 -07:00
James Petersen
95ffe06be0
Start Documenting Naming Screen (#655) 2025-08-04 14:15:23 -07:00
Preston
55cadab793
Document Font Special Chars engine (#649) 2025-08-04 14:08:11 -07:00
scbroede
5c654664e4
initial documentation of trainer card code (#612) 2025-07-11 17:50:32 -07:00
CharlesFolz4
9709c5f76c
Document some underground record data and functions (#559) 2025-06-22 13:01:21 -07:00
Eduardo Quezada
72a1bfa7ce
Slight Ball Capsule documentation (#554) 2025-06-22 11:57:16 -07:00
Eduardo Quezada
029f949448
Mailbox documentation (#549) 2025-06-22 10:53:21 -07:00
Eduardo Quezada
3267cab139
WiFiHistory (#521) 2025-05-26 11:57:18 -07:00
Eduardo Quezada
945624805e
BattleFrontier struct renaming (#520) 2025-05-24 20:42:21 -07:00
Fexty
0263b008b5
Document Particle System (#490)
Some checks failed
build / build (push) Has been cancelled
* Remove decl files and rename main ParticleSystem struct

* Document particle system new/init

* Document generic particle system functions

* Document particle system allocation functions

* Document remaining particle system getters and setters

* Particle system cleanup

* Rename particle system files

* Format files

* PR feedback
2025-05-04 11:55:13 -07:00
CharlesFolz4
3c206367aa
Document touch screen hit table action handling and Box action handling functions (#480)
Some checks are pending
build / build (push) Waiting to run
Co-authored-by: narf0708@gmail.com <narf0708@gmail.com>
2025-04-30 17:54:20 -07:00
Gudf
359b6c6407 Document unk_0202DAB4 as mystery_gift
Also moves structs related to the mystery gift system, such as wonder
card and its substructs, to this module.
2025-04-13 23:38:17 +02:00
Eduardo Quezada
8be4075ffc WiFiQuestions 2025-04-12 10:42:30 -04:00
Eduardo Quezada
50d93ee84d BallSeals 2025-04-12 10:42:30 -04:00
Eduardo Quezada
4904cb5026 PalPad 2025-04-12 10:42:30 -04:00
Eduardo Quezada
d65c7da61c MailBox 2025-04-12 10:42:30 -04:00
Eduardo Quezada
66022c08dd BattleFrontier 2025-04-12 10:42:30 -04:00
Eduardo Quezada
ab834d5b09 GlobalTrade 2025-04-12 10:42:30 -04:00
Eduardo Quezada
0cfbdc47dd WiFiList 2025-04-12 10:42:30 -04:00
Zatsu
c8d41bc96a
Document field moves (#430)
* initial documentation of unk_0207070C->field moves

* changes for PR suggestions + menu taskdata

* symbols in FieldMoveTaskData + fieldMoveMon done

* function name changes, document badges, cleanup

* Use enum FieldMoveError as return type for FieldMoveErrContext functions

* badge enum and bool constants

---------

Co-authored-by: Rachel <lhearachel@proton.me>
2025-04-11 19:47:01 -07:00
Fexty12573
fef8f6e00d Rename UnkStruct_02003D54 to SoundSystem 2025-04-06 11:42:18 +02:00
Kuruyia
f03c5fb067 Document terrain attributes module
This documents the `unk_02054BD0.c` file, which is in charge of loading
the terrain attributes from the land data NARC for some map load modes,
separately from the land data manager.

Signed-off-by: Kuruyia <github@kuruyia.net>
2025-03-30 17:27:27 +02:00
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