Commit Graph

260 Commits

Author SHA1 Message Date
TheSylphIsIn
38a4eed067 wild_encounter PR cleanup 2025-02-05 01:16:46 -05: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
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
Rachel
47f8382923 Identify unk_0201F834 -> pltt_transfer 2025-02-02 19:58:28 -08:00
Rachel
81cb1b2f27 Identify structs used in char_transfer + document templates 2025-02-02 19:55:58 -08:00
Rachel
14b7a95da0 Identify unk_0201E86C -> char_transfer 2025-02-02 19:55:58 -08:00
Rachel
7e5f0e62b8 Port trainer data archive packing to C++ 2025-01-31 19:42:24 -08:00
Rachel
38436e0741 Split NARC-related trainer structs from main Trainer struct 2025-01-30 20:42:15 -08:00
Rachel
26db7b2f7e Migrate constants used by battle and AI scripting to metang 2025-01-27 20:46:35 -08:00
TheSylphIsIn
233169c647 FEEBAS
Document OV6_02247660, which handles Feebas tile fishing. Could probably be merged into another file but I leave decisions like that to the smart people.
2025-01-27 00:17:43 -05:00
TheSylphIsIn
1e195adf04 format + cleanup
changed a name on Roamers to be less ambiguous
2025-01-26 22:29:42 -05:00
TheSylphIsIn
4f4d81db5b Merge branch 'main' of https://github.com/pret/pokeplatinum 2025-01-26 22:14:21 -05:00
TheSylphIsIn
c21bf5586d Document ov6_02240D5C -> WildEncounter_TryWildEncounter
This had a lot of collateral because it also touches Poke Radar, Roamers, Repels, etc
2025-01-26 22:13:21 -05:00
Rachel
2c410b8046 Replace python scripts for packing species archives with C++
This new code is responsible for packing the following archives:

- `pl_personal` -> basic information for each species: stats, types, etc.
- `evo` -> evolution lines for each species
- `wotbl` -> by-level learnsets for each species
- `ppark` -> catching show data for each species
- `height` -> y-offsets for front and back sprites for each species
- `pl_poke_data` -> sprite-rendering data for each species: animation
  ID, frame data, shadow size and offsets, etc.

Additionally, the following headers are generated:

- `res/pokemon/tutorable_moves.h` -> A listing of moves taught by each
  tutor and how much each move costs to be tutored
- `res/pokemon/species_learnsets_by_tutor.h` -> An array of bitmasks for
  each species designating which moves can be tutored to that species
2025-01-21 22:46:39 -08:00
Rachel
d9df079829 Use array for TM Learnset bitmasks 2025-01-21 22:46:39 -08:00
Rachel
2e09fce6a2 Extract species-related structs to species.h 2025-01-21 22:46:38 -08:00
Rachel
0c1aada00c
Merge pull request #345 from TheSylphIsIn/main
Some checks are pending
build / build (push) Waiting to run
Great Marsh lookout documentation
2025-01-21 22:44:04 -08: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
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
TheSylphIsIn
03684d7360 Great Marsh lookout documentation
Documents:
 - great_marsh_lookout, which handles the scene launched by interacting with the binoculars in the Great Marsh lookout
 - great_marsh_binoculars, which handles the map/mon sprite view part of that scene
 - some incidental stuff I found while working on those, including the func that loads dual slot encounters and some stuff with the SpecialEncounter struct
2025-01-19 16:06:39 -05:00
Viperio19
1fe280ea15 Splitting pokemon.h into include/pokemon.h and struct_defs/pokemon.h 2025-01-19 16:24:29 +01:00
fakuzatsu
2b21d7b7ec zip poffin structs into poffin.h change func names 2025-01-18 07:48:26 +00:00
Adrienn Tindall
089afc8e94
Merge branch 'main' into main 2025-01-17 23:24:34 -05:00
Adrienn Tindall
992d32bdac Requested changes 2025-01-17 23:22:10 -05:00
fakuzatsu
0bba4d78d5 document poffin.c and poffin case struct 2025-01-17 22:06:58 +00:00
Adrienn Tindall
b5f5526988 Fix Merge Errors 2025-01-14 07:03:54 -05:00
Adrienn Tindall
856e02c669 Merge branch 'main' of https://github.com/pret/pokeplatinum 2025-01-09 13:36:22 -05:00
Viperio19
4a4d0c8297 Moving MapObjectSave to map_object.h 2025-01-07 13:42:04 +01:00
Viperio19
0fa801b670 More documentation centered around map_object.c and map_object_move.c 2024-12-29 16:37:02 +01:00
Viperio19
5fd11e8086 Documenting journal_controller.c (function names etc.), renaming UnkStruct_020BCC8 and UnkStruct_0202BFCC to ...LocationEvent and ...OnlineEvent and documenting those (struct member names, enums, etc.) 2024-12-07 00:44:11 +01:00
Rachel
ad4db9b44f
Merge pull request #312 from Viperio19/journal-documentation
Some checks failed
build / build (push) Has been cancelled
Journal documentation
2024-12-05 11:38:03 -08: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
Viperio19
72b95e18ab Documentation for the journal showing defeated trainers 2024-11-22 14:59:31 +01:00
Viperio19
4796c315ba More WIP journal documentation 2024-11-21 07:53:55 +01:00
Viperio19
250c5966a7 WIP journal documentation 2024-11-20 20:12:21 +01:00
RavePossum
5dcfebde18 Remove struct def file for ConditionRectangle 2024-11-17 13:18:37 -05:00
RavePossum
1b8ac2189b Finish documenting summary screen 3d gfx 2024-11-17 12:02:17 -05:00
RavePossum
98f0edbf94 Start documenting summary screen 3D data 2024-11-16 17:11:51 -05:00
Rachel
199a4003cd Make clang-format happy 2024-11-09 20:08:53 -08:00
Rachel
74f60d99ed Document and clean up field_battle_data_transfer.c 2024-11-09 20:08:53 -08:00
Rachel
479178fa05 Replace UnkStruct_0209C370* refs with u8* 2024-11-09 20:08:53 -08:00
Rachel
bed9a33a0a Document known struct fields in FieldBattleDTO 2024-11-09 20:08:53 -08:00
Rachel
9fe570f579 Document BagCursor structs and functions 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
RavePossum
770550456b unk_020920C0 -> pokemon_summary_screen subscreen, restructure pss file layout 2024-11-05 18:20:56 -05:00
RavePossum
aee91711d7 Move summary screen to applications folder 2024-11-05 18:19:16 -05:00