Commit Graph

1271 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
TheSylphIsIn
e970e50e18 WaitForApplication rename 2025-02-08 16:54:52 -05:00
TheSylphIsIn
67eb129ac8 ScrCmd review cleanup 2025-02-08 16:38:52 -05:00
Rachel
3bf7b14957
Merge pull request #364 from lhearachel/boot-and-system
Document boot.c and system.c
2025-02-08 13:21:16 -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
c1d0ee5000 Document system.c 2025-02-07 22:54:11 -08:00
Rachel
d5476dfba4 Identify unk_02017728 -> system and zip core_sys.h into it 2025-02-07 21:53:06 -08:00
Rachel
b48080e37e Clean up some lingering mess in heap.{h,c} 2025-02-07 21:43:33 -08:00
Rachel
6fd993909a Identify + document boot.c 2025-02-07 20:59:36 -08: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
c191ef78a4 Clean up for PR feedback 2025-02-05 21:10: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
5ec5abbca0 Document sprite_util.c 2025-02-04 21:16:06 -08:00
Rachel
60b5a3f35a Document render_oam.c 2025-02-04 20:32:09 -08:00
Rachel
699fba2caf Identify unk_0200A784 -> render_oam 2025-02-04 19:50:03 -08:00
Rachel
cc98efb825 Identify + document render_view 2025-02-04 19:38:00 -08: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
TheSylphIsIn
5cfa8894af Finish documenting special_encounter
Documents the last unknown components of SpecialEncounter. Also some other things, sorry.
2025-02-04 16:52:48 -05:00
Rachel
c4675f88c3
Merge pull request #357 from lhearachel/vram-transfer
Some checks are pending
build / build (push) Waiting to run
Document VRAM transfer managers for sprite components
2025-02-04 10:40:55 -08: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
Rachel
221efb9186 Address first round of PR feedback 2025-02-03 22:55:34 -08: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
Rachel
51d7e9a5dd Document sprite_transfer.c 2025-02-02 19:58:29 -08:00
Rachel
fd2c81fcc7 Identify extern functions in sprite_transfer.c 2025-02-02 19:58:29 -08:00
Rachel
228ca9713e Identify unk_0200A328 -> sprite_transfer 2025-02-02 19:58:29 -08:00
Rachel
14f82b8ee0 Document and clean up pltt_transfer.c 2025-02-02 19:58:29 -08:00
Rachel
e46dd56a55 Mass-identify pltt_transfer functions 2025-02-02 19:58:29 -08:00
Rachel
df569849ad Document static routines in pltt_transfer.c 2025-02-02 19:58:28 -08:00
Rachel
92a9d28d56 Document structs used for pltt_transfer 2025-02-02 19:58:28 -08:00
Rachel
47f8382923 Identify unk_0201F834 -> pltt_transfer 2025-02-02 19:58:28 -08:00
Rachel
df99a19798 Document and clean up char_transfer.c 2025-02-02 19:58:28 -08:00
Rachel
4be75d22fb Identify extern functions in char_transfer.c 2025-02-02 19:58:28 -08:00
Rachel
4f262485e3 Document vram_transfer 2025-02-02 19:58:28 -08:00
Rachel
8b81828d6c Document cell_transfer.c 2025-02-02 19:58:28 -08:00
Rachel
8481bf85fc Identify unk_0201DBEC -> vram_transfer + cell_transfer 2025-02-02 19:58:27 -08:00
Rachel
81cb1b2f27 Identify structs used in char_transfer + document templates 2025-02-02 19:55:58 -08:00