Commit Graph

63 Commits

Author SHA1 Message Date
Gudf
3d3ff0ba37 Document the wonder cards application (#494)
* Document the Wonder Cards application

* Rename module and text bank

Text bank `unk_0421` -> `mystery_gift_menu`
Module `ov97_02230410` -> `wonder_cards_app`
2025-05-03 15:41:55 -07:00
Eduardo Quezada
26df8623d5 Some Villa documentation (#487)
* Start documenting Villa

* Stopping for now
2025-04-24 16:49:49 -07:00
Eduardo Quezada
34369649a5 Amity Square map script documentation + Scr commands (#481)
Some checks failed
build / build (push) Has been cancelled
* Messages

* scrcmd_amity_square

* BufferItemNamePlural

* BufferAccessoryName

* CanFitAccessory

* FLAG_AMITY_SQUARE_MAN_GIFT_RECEIVED

* VAR_FOLLOWER_MON_PARTY_ID

* VAR_AMITY_SQUARE_GIFT_ID

* VAR_FOLLOWER_MON_SPECIES

* VAR_FOLLOWER_MON_NEXT_PICKUP_TYPE

* VAR_FOLLOWER_MON_PICKUP_ITEM_ID

* Organized sMonFindableAccessories

* VAR_FOLLOWER_MON_PICKUP_ACCESSORY_ID

* LOCALID_HAS_NATIONAL_DEX

* LOCALID_ITEM_OR_ACCESSORY_ID

* LOCALID_COUNT

* PICKUP_TYPE_ITEM

* PICKUP_TYPE_ACCESORY

* Gift Man

* Species-specific cases

* Static NPCs

* Party has species

* Follower messages

* Follower Pickup

* Receptionists

* GetSetNationalDexEnabled

* VAR_FOLLOWER_MON_ACTIVE

* Triggers

* National dex macros
2025-04-21 08:25:41 -07:00
Eduardo Quezada
b157da484e Use flag defines in map object event JSON files (#475)
* Generate vars and flags

* Convert Event flags map data

* Convert numbers to flags

* Fix type
2025-04-21 08:00:31 -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
Eduardo Quezada
e041f3d6bc Merge pull request #473 from AsparagusEduardo/followerPartners
Some checks failed
build / build (push) Has been cancelled
Document Follower Partners
2025-04-15 08:03:38 -07:00
RavePossum
dac456a0e4 Merge pull request #471 from CharlesFolz4/Accessories
Some checks are pending
build / build (push) Waiting to run
Generating and documenting accessories constants
2025-04-14 09:20:22 -04:00
narf0708@gmail.com
9485e2aca7 Document accessory related functions 2025-04-13 21:08:13 -04:00
Gudf
9626f1d005 Document unk_0204B830 as scrcmd_mystery_gift 2025-04-13 23:44:37 +02:00
Eduardo Quezada
a7a218da2c Sound documentation followup (#466)
* Start polishing sound documentation

* Sound_SetScene consts

* Surfing theme

* Sound_GetBGMByMapID

* Trainer encounter bgm doc

* A couple of more constants

* Review suggestions

* TrainerId -> TrainerID
2025-04-13 13:21:31 -07:00
narf0708@gmail.com
9b83baf1dc Generating and documenting accessories constants 2025-04-10 23:55:36 -04:00
Fexty12573
81618b81a6 Add BANK, WAVE_ARC, PLAYER and GROUP entries to sdat.txt 2025-04-06 11:42:47 +02:00
Eduardo Quezada
a7fa5b9ade Document functions and script commands adjacent to CanFitItem 2025-03-31 16:11:08 -03: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
Rachel
7fb18f939f Merge pull request #437 from ravepossum/map_bins
Dump map data binaries, texture sets, and matrices
2025-03-19 16:08:06 +00:00
RavePossum
04d18dd474 Generate map ID constants 2025-03-17 17:39:12 -04:00
Eduardo Quezada
db41c75d26 Ribbon Documentation + Footstep House scripts (#427)
Some checks failed
build / build (push) Has been cancelled
* Footstep house types and script commands

* Generated ribbons + messages

* Get Friendship + Get/Set Ribbon map scripts

* First non egg in party

* Standarized "ribbonID" as "monDataParam" and "ribbonNum" as "ribbonID"
2025-03-15 09:16:21 -04:00
Rachel
44915351ee Merge pull request #424 from ravepossum/mon_sprites
Document PokemonSprite and related structs
2025-03-12 07:59:02 -07:00
Eduardo Quezada
1d33088d8c Merge branch 'main' into document12 2025-03-09 22:11:08 -03:00
Eduardo Quezada
cc312c627c continue_menu to main_menu 2025-03-09 22:05:52 -03:00
RavePossum
be5355af20 Document most of pokemon_sprite.c 2025-03-09 19:28:45 -04:00
Eduardo Quezada
698ed9262e Review Changes 1 2025-03-09 11:44:55 -03:00
narf0708@gmail.com
571e3fc8d2 Documenting UnkStruct_ov19_021D5BAC as PCMonPreview 2025-03-08 19:33:19 -05:00
Eduardo Quezada
2a208e72dc Merge branch 'document11' into document12 2025-03-08 18:19:55 -03:00
narf0708@gmail.com
4491309790 Document most Pokemon Storage System functions 2025-03-08 09:32:32 -05:00
Eduardo Quezada
1bc5a9deed GBA Transfer message IDs 2025-03-06 18:09:54 -03:00
Viperio19
a015349fb7 Use macros to combine signpost script commands and rename functions and constants 2025-03-02 04:47:11 +01:00
Viperio
1fb5227a22 Merge branch 'main' into document-scripts 2025-02-28 01:14:18 +01:00
Viperio19
ba39f7c6ba Finish signpost script command documentation 2025-02-28 01:08:39 +01:00
mudskipper13
008b0963b9 shop_menu/script: create generated mart ids 2025-02-26 08:33:38 +07:00
cbt6
4f1e58ee21 Use map header constants in field events 2025-02-25 11:19:53 +08:00
cbt6
2b50c2ee48 Use bg event dir constants in field events 2025-02-25 11:17:07 +08:00
cbt6
aabc9efc77 Use trainer type constants in field events 2025-02-25 11:15:35 +08:00
cbt6
a8aa814e85 Use object event constants in field events 2025-02-25 11:13:29 +08:00
cbt6
bdc430f8b1 Use movement type constants in field events 2025-02-25 11:12:06 +08:00
Viperio19
eefd278424 Document signpost script commands 2025-02-24 16:08:39 +01:00
Viperio19
913d67dd10 Document lake trio caverns 2025-02-20 18:14:04 +01:00
Rachel
1b03304755 Address PR feedback:
- `resultVar` -> `destVarID`
- Clean up member names for `HiddenLocation` and `DistributionEvent`
- `Set/Clear` -> `Enable/Disable` for HiddenLocation script macros
- `ScrCmd_SetOrClearHiddenLocation` -> `ScrCmd_SetHiddenLocation`
- `SYSTEM_VARS_BLOCK_SIZE` -> `NUM_SYSTEM_VARS`
- Identify `scripts_unk_0412` -> `scripts_init_new_game`
- Add `SCRIPT_ID_OFFSET_INIT_NEW_GAME` constant definition
- Add `SCRIPT_ID` functional macro
- Use `SCRIPT_ID(INIT_NEW_GAME, 0)` in `FieldSystem_InitNewGameState`
- Promote `LCRNG_MULTIPLIER` in `math.c` from private to public
- Use private `LCRNG_INCREMENT` in `system_vars.c` for lottery sync
2025-02-16 12:26:47 -08:00
Rachel
5168755542 Document script commands that use system variables 2025-02-16 12:24:32 -08:00
Rachel
decc172f34 Merge pull request #377 from Viperio19/document-scripts
Some checks are pending
build / build (push) Waiting to run
Document `scripts_pokemon_center_daily_trainers.s`
2025-02-15 18:20:01 -08:00
Viperio19
b44ad88210 Improve names and move flag constants to vars_flags.h 2025-02-14 11:56:28 +01:00
Viperio19
e8e190034d Rename "reporters" to "reporter" 2025-02-13 23:30:04 +01:00
Viperio19
eef5a361b2 Finish documentation for scripts_pokemon_center_daily_trainers.s 2025-02-13 23:19:39 +01:00
Rachel
3d96bfb561 Merge pull request #373 from cbt6/npc-trade
Document npc_trade.c
2025-02-13 08:49:12 -08:00
cbt6
809b571fa8 Address review feedback 2025-02-13 16:03:24 +08:00
cbt6
f60f44f3cf Document npc_trade.c 2025-02-13 12:16:23 +08:00
Viperio19
be219b0a6c document script for weekday-based trainers in the pokemon center (name mapID / weekday script commands + use map_header / trainer constants) 2025-02-12 20:35:53 +01:00
Viperio19
57328992ed Move enums with system flags from vars_flags.h to generated files 2025-02-12 17:35:56 +01:00
Gudf
af119390f5 Address review 2025-02-10 20:31:19 +01:00
Rachel
f6d8ad29a5 Merge pull request #356 from h2o-DS/Pokedex_Menu_Text
Some checks are pending
build / build (push) Waiting to run
Generate Foreign Dex Entries
2025-02-03 00:26:16 -08:00