Commit Graph

152 Commits

Author SHA1 Message Date
Rachel
b4fc5c1a79
Merge pull request #366 from Gudf/shard-tutors
Some checks failed
build / build (push) Has been cancelled
Document shard move tutors code
2025-02-10 14:26:06 -08:00
Gudf
af119390f5 Address review 2025-02-10 20:31:19 +01:00
Gudf
e3075ee9ee Document shard move tutors code 2025-02-09 20:24:40 +01:00
Rachel
e27c17f9da
Merge pull request #365 from TheSylphIsIn/main
Some checks failed
build / build (push) Has been cancelled
Document ScrCmds 065, 0B4, 0B5, 0A1, 0DE, 096, 097
2025-02-08 14:01:56 -08:00
Rachel
d88cd7f5dc
Merge pull request #363 from Kuruyia/feat/document-bdhc-util
Document BDHC util
2025-02-08 12:26:32 -08:00
Kuruyia
caa281efea Document BDHC util
This documents the `bdhc_util.c` file, which mainly contains the
function used to calculated an object's height based on its 2D position
and the BDHC of the map its currently on.

Signed-off-by: Kuruyia <github@kuruyia.net>
2025-02-08 21:19:13 +01:00
TheSylphIsIn
ac987dd9c1 Document ScrCmds 065, 0B4, 0B5, 0A1, 0DE, 096, 097
I did these commands together because they're all used in the script for choosing your starter.
2025-02-08 14:58:43 -05:00
Rachel
f1ac42f387
Merge pull request #361 from lhearachel/sprite-util
Some checks failed
build / build (push) Has been cancelled
Document sprite_util.c
2025-02-05 21:27:40 -08:00
Rachel
10c283da33
Merge pull request #362 from Kuruyia/feat/document-bdhc-loading
Some checks are pending
build / build (push) Waiting to run
Document BDHC file loading
2025-02-05 10:38:23 -08:00
Kuruyia
3f8301106c Document BDHC file loading
This documents the loading of BDHC files that are embedded in files of
the land data NARC.

Credits goes to Mikelan98, HiroTDK and HumanGamer for their resources
(listed below). It would have been a lot more painful having to reverse
this file format.

Resources used:
* https://hirotdk.neocities.org/FileSpecs#Terrain
* https://www.pokecommunity.com/threads/i-solved-the-final-piece-of-the-terrain-bdhc-files-in-gen-4-inclines.424428/

Signed-off-by: Kuruyia <github@kuruyia.net>
2025-02-05 19:27:30 +01:00
TheSylphIsIn
b9e12c1f2d format
lol
2025-02-05 01:21:52 -05:00
TheSylphIsIn
38a4eed067 wild_encounter PR cleanup 2025-02-05 01:16:46 -05:00
Rachel
6ae0808081 Document sprite_util structs 2025-02-04 18:52:36 -08:00
Rachel
7f3e09fc33 Identify unk_020093B4 -> sprite_util 2025-02-04 18:52:36 -08:00
TheSylphIsIn
faae53c119 Merge branch 'main' of https://github.com/pret/pokeplatinum 2025-02-04 17:06:09 -05:00
Rachel
a61adca7af
Merge pull request #359 from Kuruyia/feat/document-map-matrix
Document map matrix
2025-02-04 10:33:16 -08:00
Kuruyia
6c3b457001 Expose map matrix structs
Signed-off-by: Kuruyia <github@kuruyia.net>
2025-02-04 10:07:38 +01:00
TheSylphIsIn
f8f514931e Merge branch 'main' of https://github.com/pret/pokeplatinum 2025-02-03 22:59:00 -05:00
TheSylphIsIn
b4229dbac1 Honey Trees
Documents honey_tree. Mostly. There are some functions related to the overworld tree shaking animation that I didn't document, but it's at least contextually obvious what the end result is.

Also might have a bit of roamer stuff, idk, this commit was sitting for 2 weeks
2025-02-03 22:44:28 -05:00
justusaac
95ee238ba6
Merge branch 'pret:main' into main 2025-02-03 20:39:11 -06:00
Kuruyia
817e8e4a53 Document map matrix
Signed-off-by: Kuruyia <github@kuruyia.net>
2025-02-03 12:35:18 +01:00
justusaac
1bbebd1439 Documenting this code related to the Stats Judge 2025-01-29 23:38:27 -06:00
Estellar
35429ff194 MapNamePop_Show -> MapNamePopUp_Show 2025-01-29 16:18:13 -03:00
Estellar
8f2cdb5c06 Merge branch 'main' of https://github.com/pret/pokeplatinum into doc/map_name_popup 2025-01-28 13:26:24 -03:00
Estellar
f2e07a8e5f Clean up 2025-01-28 12:56:15 -03:00
Estellar
7c4a85d24a removed struct_02055CBC_decl 2025-01-28 00:57:35 -03:00
Estellar
584c093c1a ov5_021DD6FC -> map_name_popup 2025-01-21 00:25:25 -03:00
Viperio19
0e277166d2 Fix imports formatting 2025-01-19 23:34:54 +01:00
Viperio19
5890159b78 Move Party struct to party.h 2025-01-19 23:15:36 +01:00
Estellar
f0a7f93264 Function naming on ov5_021DD6FC 2025-01-15 18:06:23 -03:00
Adrienn Tindall
5a7b4091dd More pokedex documentation 2025-01-14 07:37:32 -05:00
Estellar
1f5f12a9d9 More documentation in ov5_021DD6FC 2025-01-08 01:50:23 -03:00
Viperio19
9da11d64df Rename variable and function names related to overworld poison damage 2024-11-18 20:15:27 +01:00
Rachel
199a4003cd Make clang-format happy 2024-11-09 20:08:53 -08:00
Rachel
54bf0780b7 Identify unk_02051D8C -> field_battle_data_transfer 2024-11-09 20:08:53 -08:00
Rachel
b83538a1c5 Identify unk_020508D4 -> field_task; rename FieldTask -> FieldTaskFunc, TaskManager -> FieldTask 2024-11-03 16:08:01 -08:00
Rachel
ffeedcc209 Rename ov5_021D0D80.h -> fieldmap.h, zip gFieldMapTemplate into fieldmap.h 2024-11-01 10:46:18 -07:00
RavePossum
3b40e98735 Add field window constants file and label save info magic numbers 2024-10-27 19:56:01 -04:00
RavePossum
c88ab1d636 PR feedback - function names 2024-10-27 19:47:55 -04:00
RavePossum
da3a51ab8d int heapID -> enum HeapId heapID in save window 2024-10-27 19:46:19 -04:00
RavePossum
3dc2858e34 ov5_021E1D20 -> save_info_window 2024-10-27 19:46:19 -04:00
RavePossum
418f0a5eaa tiny bit of documentation for a related poketch function 2024-10-27 19:46:19 -04:00
RavePossum
3e7e1e2e5c mass rename save info window struct and functions, a bit of surrounding documentation 2024-10-27 19:46:19 -04:00
RavePossum
5fc8cab7ea Document a decent chunk of the save info window 2024-10-27 19:46:19 -04:00
RavePossum
68c31be0e3 Make field save structs transparent 2024-10-27 19:43:10 -04:00
Rachel
97d1986ee1 Collapse NARC struct decl into narc.h, clean up narc.c 2024-10-23 13:48:18 -07:00
Rachel
8f6b317313 Identify UnkStruct_02018340_t -> BgConfig and document fields 2024-10-22 10:15:00 -07:00
Rachel
163050584a Identify unk_02018340 -> bg_window 2024-10-20 11:59:06 -07:00
Adrienn Tindall
b21c778ada Requested Changes + Much more documentation 2024-10-01 23:20:30 -04:00
Adrienn Tindall
bef2da552a TerrainCollisionManager
Name is open to suggestions
2024-08-06 14:16:58 -04:00