Commit Graph

340 Commits

Author SHA1 Message Date
Eduardo Quezada
2ae4fee4b8
Standarized PCBoxes struct name for symbols (#569)
Some checks are pending
build / build (push) Waiting to run
2025-06-23 12:44:32 -07:00
Eduardo Quezada
17619d9ebb
Standarized TVBroadcast stuct names for symbols (#568) 2025-06-23 12:43:10 -07:00
Eduardo Quezada
abf620052d
Some Start menu documentation (#561)
Co-authored-by: Rachel <lhearachel@proton.me>
2025-06-22 15:02:43 -07:00
CharlesFolz4
8bbd22ef3e
Document box user input handling (#533)
Co-authored-by: narf0708@gmail.com <narf0708@gmail.com>
2025-06-22 13:59:52 -07:00
CharlesFolz4
9709c5f76c
Document some underground record data and functions (#559) 2025-06-22 13:01:21 -07:00
Eduardo Quezada
2aa4190007
Misc. renaming (#563) 2025-06-22 12:26:05 -07:00
Eduardo Quezada
72a1bfa7ce
Slight Ball Capsule documentation (#554) 2025-06-22 11:57:16 -07:00
Eduardo Quezada
e1874d99c1
Renamed option struct elements (#550) 2025-06-22 10:55:07 -07:00
Eduardo Quezada
029f949448
Mailbox documentation (#549) 2025-06-22 10:53:21 -07:00
Gudf
60b193144a
Document unk_0201CED8 as gfx_box_test (#546) 2025-06-19 16:19:55 -07:00
Yako
fbb209a4b9
Merge pull request #537 from YakosWG/type-rendering
Document type_icon.c
2025-06-07 22:50:24 -07:00
tillgeissler
809ed917fa
Document Data Transfer Objects for Battle Frontier (#531)
* Document Data Transfer Objects for Battle Frontier

* add more files

* fix clang-format

* PR feedback
2025-05-31 20:10:38 -07:00
Rachel
6e9b4c3adb
Document screen fades and hardware windows (#529)
* Identify palette_fade and hardware_window modules

* Document hardware_window.c

* Document palette_fade.c

* Terminology shift: PaletteFade -> ScreenFade

* Decorate screen fade calls with appropriate constants

* PR feedback
2025-05-27 20:56:46 -07:00
Eduardo Quezada
fc03351879
Standarized OverlayManager names (#524)
* Standarized OverlayManager names

* Most "overlay" to "application"

* Other renames

* Last rename

* undo ov97_0222D30C.c changes
2025-05-26 12:50:57 -07:00
Eduardo Quezada
ff257ab7e6
Poffin name cleanup (#522)
* Poffin cleanup

* Review changes
2025-05-26 11:57:50 -07:00
Eduardo Quezada
3267cab139
WiFiHistory (#521) 2025-05-26 11:57:18 -07:00
Yako
5e58dfdca4
Documented part of PartyManagementData struct (#517)
* Begin documenting party screen healthbar

* really minor rename of unnamed parameter

* Big rename that will probably cause issues bc VSCode's rename is not ideal

* should match

* document part of PartyManagementData struct

* apparently I missed these
idk how it build without them

* swap include order

* begin documenting unk_02084B70.c

* clean up parameter names a bit

* some more instances of windowLayout

* continue documenting fields of PartyManagementData

* more progress on PartyManagementData

* Revert PartyMenu_MakeSelection to sub_02083370 and remove enum

* name all unnamed PartyManagementData variables partyMan
2025-05-26 11:07:32 -07:00
Eduardo Quezada
945624805e
BattleFrontier struct renaming (#520) 2025-05-24 20:42:21 -07:00
Eduardo Quezada
cb8dd96354
Rename SaveData uses (#519) 2025-05-23 22:57:46 -07:00
Morglom
7e355b532c
Document sub menu cursor and rename position struct. (#511)
* Document sub menu cursor and rename position struct.

* Rename to grid menu cursor position

* Further pull request changes.
2025-05-21 23:47:40 -07:00
Morglom
df4e827fcb
Document PartyMenuCursor (#503)
Some checks failed
build / build (push) Has been cancelled
* Move struct and update code.

* Update references

* Update references to use enum.

* More enum

* Small change.

* Rename files.

* Changes.

* Rename flags as coords.

* Rename to cursor info.

* Rename to party_menu_cursor
2025-05-13 22:31:16 -07:00
narf0708@gmail.com
14d687540f correct name of MON_DATA_MAIL_ID to MON_DATA_BALL_CAPSULE_ID 2025-05-10 18:25:16 -04: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
Eduardo Quezada
b460742636 Finish documenting ScrCmd for items 2025-04-23 14:17:56 -04:00
Eduardo Quezada
e7d42fb976
Heap ID breadcrums: Revengeance (#463)
* Heap_AllocFromHeapAtEnd Heap ID breadcrums

* Consistent heapID capitalization

* More Heap IDs

* A little bit more Heap IDs

* More and more Heap IDs

* Stopping for today

* MOAR

* more and more

* Back from the Heap ID mines

* A couple more
2025-04-20 12:50:46 -07:00
Eduardo Quezada
f353a4b7e8
Document Game Corner map script + Coins and Money Scr Commands (#476)
* Coins scr commands

* Game Corner messages

* GoToIfCannotAddCoins macro

* CheckMoney

* Using GoToIfNotEnoughMoney

* Most of Game Corner script documented

* Some slot machine documentation

* AddToGameRecord

* Last scr commands but 1

* Format

* Fix typo
2025-04-20 12:48:22 -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
CharlesFolz4
b7470fb1a6
Documenting BoxSettings, BoxCursor, and BoxMonSelection (#443)
* Documenting BoxSettings, BoxCursor, and BoxMonSelection

* Document UnkStruct_ov19_021D5594 as BoxMonSelection

* unk_0B to previewMonSource

* Initial polish pass

* PR feedback

---------

Co-authored-by: narf0708@gmail.com <narf0708@gmail.com>
2025-04-12 12:27:31 -07: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
166696f463 Document most remaining functions in sound.c 2025-04-06 12:09:24 +02:00
Fexty12573
02cbf032db Document Waveform playback functions 2025-04-06 11:57:23 +02:00
Eduardo Quezada
97744b9c0b Bag.h adjacent documentation 2025-04-03 12:16:53 -03:00
Rachel
083c68cd64
Merge pull request #457 from AsparagusEduardo/canfititem
Some checks failed
build / build (push) Has been cancelled
Document functions and script commands adjacent to CanFitItem
2025-04-02 20:52:54 -07:00
Eduardo Quezada
a7fa5b9ade Document functions and script commands adjacent to CanFitItem 2025-03-31 16:11:08 -03:00
Rachel
eb19742b3a
Merge pull request #447 from Kuruyia/feat/document-terrain-attributes-loader
Document terrain attributes loader
2025-03-31 10:49:49 -07:00
Eduardo Quezada
c1670bf494
Merge pull request #441 from AsparagusEduardo/forms
Forms/Species-related functions and scripts
2025-03-31 10:47:58 -07:00
Kuruyia
45c3c1a000 Document terrain attributes module-related map load mode fields
This documents the following fields in the map load mode struct:

- `useSeparateTerrainAttributes`: whether to load terrain attributes
  using the separate terrain attributes module.
- `separateTerrainAttributesBlockCount`: the number of terrain
  attributes block to load when using the separate terrain attributes
  module. Each block corresponds to the terrain attributes contained in
  a land data file.

Note: when using the simple terrain collisions in a map load mode, it is
mandatory to also use the separate terrain attributes module, as this is
where the terrain collision manager will get terrain attributes.

Signed-off-by: Kuruyia <github@kuruyia.net>
2025-03-30 17:32:07 +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
cb30afbe26 Document PokemonSpriteTaskAnim 2025-03-09 19:29:06 -04:00
RavePossum
be5355af20 Document most of pokemon_sprite.c 2025-03-09 19:28:45 -04:00
RavePossum
ad79c0418c unk_0200762C -> pokemon_sprite 2025-03-09 19:24:44 -04:00