Commit Graph

657 Commits

Author SHA1 Message Date
Rachel
3aaccb467f
Unpack party menu graphics and document related sprites code (#738) 2025-09-09 08:19:04 -07:00
h2o-DS
cae3f8223c
nitrogfx: Output Converted Images with OAM Colors (#744)
Some checks are pending
build / build (push) Waiting to run
2025-09-08 21:13:57 -04:00
scbroede
68aa0c65d8
unpack ugeffect_obj_graphic.narc (#746) 2025-09-08 17:34:02 -07:00
Rachel
40518a2a61
Document the bag interface overlay (#679) 2025-09-08 17:29:06 -07:00
CharlesFolz4
25847d3ad4
Document several common scripts called from CallCommonScript (#688) 2025-09-09 07:48:58 +08:00
Gudf
00b795daf7 Unpack pl_bag_gra.narc 2025-09-08 22:33:17 +02:00
Rachel
e526ae4c4f
Generate an NAIX for pl_poke_icon (#740)
Some checks are pending
build / build (push) Waiting to run
2025-09-07 13:03:23 -04:00
Gudf
58d824065d Finish documenting the bag text bank 2025-09-07 17:56:34 +02:00
Rachel
726124a94c Embed the arrow cursor bitmap from a PNG source 2025-09-07 00:16:38 -07:00
Rachel
6aeef42125
Add build-dependency on generated constants to Python scripts (#739)
Some checks are pending
build / build (push) Waiting to run
2025-09-06 13:59:04 -07:00
Rachel
09a5c6ff06
Document Party Menu windows (#732)
Some checks are pending
build / build (push) Waiting to run
2025-09-05 17:15:06 -04:00
cbt6
3fe88da9ed Unpack demo/syoujyou/syoujyou.narc 2025-09-06 02:55:48 +08:00
cbt6
fb260b382d Document overlay 102 (diploma) 2025-09-06 02:54:17 +08:00
Rachel
a2ac59a73b
Use constant identifiers for CoordEvent variables in events files (#730) 2025-09-06 01:16:49 +08:00
scbroede
f743e4dfdf
clean up trainer files (#733)
Some checks are pending
build / build (push) Waiting to run
2025-09-04 10:22:25 -07:00
Viperio
ba11566b67
Document PC hall of fame application (#709)
Some checks are pending
build / build (push) Waiting to run
2025-09-04 08:07:55 -07:00
scbroede
1f8b5f0a87
copy generated text banks instead of moving (#731)
Some checks are pending
build / build (push) Waiting to run
2025-09-04 00:03:36 -07:00
Rachel
0da65c2401
Document initialization routine for the Party Menu application (#723) 2025-09-03 20:57:45 -07:00
Rachel
12ba0405de Clean up primary entry-points and document associated script commands 2025-09-03 19:47:33 -07:00
scbroede
e98ffd9388
document safari game scripts and text (#725) 2025-09-03 19:29:07 -07:00
scbroede
cf0e62871b
identify some text banks (#728)
Some checks are pending
build / build (push) Waiting to run
2025-09-03 12:00:16 -07:00
James Petersen
7a53fc00d2
Unpack Item Icons Narc (#720) 2025-09-03 11:46:22 -07:00
Rachel
6730f83e94 Document functions and struct members used in PartyMenu_Init 2025-08-31 23:52:20 -07:00
scbroede
435fa27993
document party-related scrcmds (#721)
Some checks are pending
build / build (push) Waiting to run
2025-08-31 20:27:53 -07:00
Rachel
9bfa03c540
Document animation script commands (#718) 2025-08-31 19:24:25 -07:00
scbroede
3d88a2b728
move frontier trainer messages to individual files (#719) 2025-08-31 19:09:50 -07:00
scbroede
e06bf6ba67
document most underground menus (#711) 2025-08-31 19:04:59 -07:00
cbt6
60b9fd1fd7
Document scrcmd_strings (#704) 2025-08-31 19:01:20 -07:00
Metallicity
8ab1ed8b11 Document PC animations 2025-08-28 19:06:12 -07:00
Metallicity
5eac8f4489 Document door animations 2025-08-28 19:01:45 -07:00
Metallicity
7b8ddee40f Rename ScrCmd_168-C and ScrCmd_24B-D as door/PC animation commands 2025-08-28 19:01:45 -07:00
metallicity
c78e72d9ae
Document elevator scripts and animation (#717)
Some checks failed
build / build (push) Has been cancelled
2025-08-29 06:31:13 +08:00
scbroede
4fbbe966dc
document some scrcmds (#715) 2025-08-29 06:27:12 +08:00
scbroede
1474478c46
move frontier trainer names to individual files (#707)
Some checks failed
build / build (push) Has been cancelled
2025-08-26 21:40:13 -07:00
scbroede
be6ecfb6cd
fix swapped contest stats (#712) 2025-08-26 21:20:57 -07:00
RavePossum
51161942ee
Update Map Headers to Use Event File Names Instead of Numbers (#693)
Some checks failed
build / build (push) Has been cancelled
2025-08-24 23:22:30 -04:00
scbroede
feb3dd49c0
generate trainer names text bank from trainer data (#700) 2025-08-23 17:21:45 -07:00
metallicity
c17821ca55
Create simpler FadeScreenIn/Out macros (#694) 2025-08-23 17:18:50 -07:00
scbroede
5bb32ff3ec
unpack trtbl.narc and trtblofs.narc (#656) 2025-08-23 11:47:37 -07:00
Rachel
92b87b88c2
Document ov05_021F08CC as Fishing (#699) 2025-08-23 11:46:48 -07:00
CharlesFolz4
74fc215b41 Update text bank and enum names 2025-08-23 14:13:14 -04:00
scbroede
7474150ad9
document messages used for spheres (#698)
Some checks are pending
build / build (push) Waiting to run
2025-08-23 10:48:53 -07:00
scbroede
af1c790766
document gts + networking (#673)
Co-authored-by: ellieplayswow <164806095+ellieplayswow@users.noreply.github.com>
2025-08-23 10:41:11 -07:00
CharlesFolz4
624cb3062e Document fishing state machine 2025-08-23 11:55:24 -04:00
James Petersen
3e67cf13ae
Move ENCOUNTERS_NONE; Remove .bin Extension for Encounters 2025-08-20 21:54:35 -03:00
Scott Broeders
80055b5f14 update npc script names 2025-08-19 17:44:28 -04:00
Scott Broeders
4670a40e95 document sunyshore market scripts 2025-08-19 12:22:56 -04:00
James Petersen
7807db0786
Use Encounter naix.h File 2025-08-18 19:06:28 -03:00
Rachel
26d2ccacd4 Remove GMM text banks from the source tree 2025-08-17 15:51:25 -07:00
Rachel
fd199edf9b Use JSON text banks in the build 2025-08-17 15:50:14 -07:00
James Petersen
7d025bbf57
Finish Documenting Naming Screen and Extract namein NARC (#682) 2025-08-17 14:59:56 -07:00
scbroede
cb6665c7c4
document scroll prompts (#689) 2025-08-16 21:55:39 -07:00
h2o-DS
825e31c361
Refactor footprints to use cells and generators (#691) 2025-08-16 21:33:37 -07:00
ItsLeaze
d3d92e2611
Name item use functions (#680)
Co-authored-by: Rachel <lhearachel@proton.me>
2025-08-16 21:13:42 -07:00
Viperio
acd2b1dca3
Document unk_02048614.c, renamed to scrcmd_trainer.c (#685)
Co-authored-by: Eduardo Quezada <eduardo602002@gmail.com>
Co-authored-by: notmyname <notanemail@gmail.com>
2025-08-16 21:06:26 -07:00
metallicity
4dbc761167
Document boat cutscene (#670) 2025-08-16 20:44:16 -07:00
Rachel
2acb462a64
Document misc script commands (#678) 2025-08-15 10:29:05 -07:00
scbroede
90888c79b3
document underground inventory scrcmds (#675) 2025-08-15 10:26:13 -07:00
Metallicity
daf91bd0f0 Rename Duplicate_IncrementTrainerScore to IncrementTrainerScore2 2025-08-12 19:18:02 -07:00
Metallicity
7264e383a2 Document LOCALID_PLAYER in scripts 2025-08-12 19:17:18 -07:00
James Petersen
65d0e9daff
Continue Documenting Naming Screen (#669)
Some checks failed
build / build (push) Has been cancelled
2025-08-12 12:54:50 -07:00
Metallicity
2fa639d0d5 Document CheckHeapMemory command 2025-08-11 22:43:37 -07:00
Metallicity
0a95179207 Rename ScrCmd_313 to CheckHeapMemory 2025-08-11 22:43:37 -07:00
Metallicity
baf02f13f4 Rename ScrCmd_18D-E to Show/HideSavingIcon 2025-08-11 22:43:37 -07:00
Metallicity
e73d1df555 Rename ScrCmd_12D to TrySaveGame 2025-08-11 22:43:37 -07:00
Metallicity
eab8c16229 Rename ScrCmd_31E to TryRevertPokemonForm 2025-08-11 22:43:36 -07:00
Metallicity
a75e0a0a93 Rename ScrCmd_1B1-2 to Show/HideObject 2025-08-11 22:43:36 -07:00
Metallicity
a11a5d861c Document trainer score events 2025-08-11 22:43:36 -07:00
Rachel
846bb5e93c
Fix a misnamed Mt. Coronet Grunt (#674)
Some checks failed
build / build (push) Has been cancelled
2025-08-10 22:06:15 -07:00
scbroede
e03c035e30
document dex progress scrcmds (#672) 2025-08-09 15:30:39 -07:00
Metallicity
14fcbde449 Rename ScrCmd_260 to Duplicate_IncrementTrainerScore 2025-08-08 01:02:12 -07:00
Metallicity
303ce2061e Rename ScrCmd_191 to SelectMoveTutorPokemon 2025-08-08 01:02:12 -07:00
Metallicity
4a3b9d2acd Document Turnback Cave pillar and room counter vars 2025-08-08 01:02:12 -07:00
Metallicity
8416fb3be3 Rename ScrCmd_285 to InitTurnbackCave 2025-08-08 01:02:11 -07:00
Metallicity
4830f187da Rename ScrCmd_187 to SetPosition 2025-08-08 01:02:11 -07:00
scbroede
ccda4fcf2a
document some poffin-related scrcmds (#666)
Some checks failed
build / build (push) Has been cancelled
2025-08-04 14:39:30 -07:00
h2o-DS
e6fa1b9819
Move Footprint Types to Species Data Files (#664) 2025-08-04 14:22:00 -07:00
James Petersen
95ffe06be0
Start Documenting Naming Screen (#655) 2025-08-04 14:15:23 -07:00
scbroede
f52b285eeb
replace remaining script bytes with macros (#659)
Some checks failed
build / build (push) Has been cancelled
2025-08-02 07:26:40 +08:00
scbroede
414ff6d208
document scrcmd_246 (#658) 2025-08-02 06:08:04 +08:00
metallicity
c2d584eb99
Document misc script commands and identify all unused script commands (#651) 2025-07-29 21:21:25 -07:00
James Petersen
523478194f
Document Rowan Intro Tv App & Touch Up Rowan Intro (#644) 2025-07-29 21:06:35 -07:00
scbroede
180a5a6b9f
document underground text printing (#648)
Some checks failed
build / build (push) Has been cancelled
2025-07-28 10:36:53 -07:00
h2o-DS
2daed9b09e
Move Egg Moves and Icon Palettes to Species Data (#635) 2025-07-28 10:17:07 -07:00
scbroede
7126cc42cd
document trainer messages (#641)
Some checks failed
build / build (push) Has been cancelled
2025-07-25 10:45:34 -07:00
Eduardo Quezada
44dad2f3d2
Identified more text banks (#643) 2025-07-25 00:09:22 +08:00
Eduardo Quezada
9b00e58ebb
Identified multiple text banks (#639) 2025-07-18 23:41:54 -07:00
scbroede
c9ca2679b0
document pokedex completion check scripts (#637) 2025-07-18 23:40:33 -07:00
James Petersen
efb98a848a
Document Overlay 73 (Rowan Introduction at Start) Main File (#622) 2025-07-15 14:10:28 -07:00
Fexty12573
a18bfa9ff9 Clean up meson build files 2025-07-15 21:58:08 +02:00
Fexty12573
5edf6c0af4 Remove titledemo.narc from prebuilt 2025-07-15 21:56:45 +02:00
Fexty12573
1d5b1ef1d7 Finish unpacking titledemo.narc 2025-07-15 21:56:45 +02:00
Fexty12573
f2a34787fd WIP unpack titledemo.narc 2025-07-15 21:56:45 +02:00
Fexty12573
af10a66f22 Partially document title screen init 2025-07-15 21:56:45 +02:00
James Petersen
d0691ecf57
Add Link Step to Script Build Process (#628) 2025-07-15 10:35:38 -07:00
h2o-DS
e29eb0b295
Generate Dex Sizes and Polish Species Related Scripts (#617) 2025-07-15 10:18:32 -07:00
James Petersen
9aceece59b
Fix typo in Rotom's Room Script (#627) 2025-07-15 00:56:27 +08:00
scbroede
5c654664e4
initial documentation of trainer card code (#612) 2025-07-11 17:50:32 -07:00
scbroede
286d5f943f
document scrcmd_26b (#616) 2025-07-11 17:04:43 -07:00
Eduardo Quezada
1e12b147c6
Misc. renaming (#607) 2025-07-11 16:44:07 -07:00
scbroede
2ff79b5590
document field moves scripts and text (#591) 2025-07-05 21:20:26 -07:00
Yako
a054b8a113
Partially document field moves that cause the player to ride a pokemon (#594)
Some checks failed
build / build (push) Has been cancelled
2025-07-04 13:02:45 -07:00
scbroede
c068a11465
document scrcmd_09a (#587)
Some checks are pending
build / build (push) Waiting to run
2025-07-01 18:55:08 -07:00
Kuruyia
d649ae0222 Document map script command to reset persisted camera angles in the Distortion World
This documents the `ScrCmd_31F` map script command, that is only used in
the Giratina Room map of the Distortion World to reset the camera angles
that are present in the persisted map features data.

Signed-off-by: Kuruyia <github@kuruyia.net>
2025-06-30 18:19:10 +02:00
scbroede
a16b4fdda9
document some underground code (#581) 2025-06-29 13:31:56 -07:00
Eduardo Quezada
ac7abab019
Rename object event movement type symbols (#567)
Some checks are pending
build / build (push) Waiting to run
2025-06-29 23:30:09 +08:00
Rachel
b96901ce5c
Document the main menu (#577)
Some checks failed
build / build (push) Has been cancelled
2025-06-26 19:00:31 -07:00
Gudf
c2388be9ac Document the main menu alerts strings 2025-06-26 13:20:10 +02:00
Gudf
1ce372fdcf Rename text bank main_menu > main_menu_options
Prevents clang-format from treating `res/text/bank/main_menu.h` as the
"main" header for `overlary097/main_menu.c` and moving it to the top of
the file.
2025-06-26 13:20:10 +02:00
Gudf
4d30cea537 Main menu: document the application code 2025-06-26 13:20:02 +02:00
Eduardo Quezada
3131eb23d8
Identified multiple text banks (#574) 2025-06-25 22:21:44 -07:00
ellieplayswow
ce802f128e
documenting some trainer appearance functions (#570) 2025-06-23 18:49:23 -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
ellieplayswow
c2b903fb6c
save_data: playTimestamp -> firstCompletionTimestamp (#562) 2025-06-22 13:57:33 -07:00
CharlesFolz4
9709c5f76c
Document some underground record data and functions (#559) 2025-06-22 13:01:21 -07:00
Rachel
cdb963bc78
Document the size contest (module ov5_021EE7D4) (#558) 2025-06-22 11:13:28 -07:00
Morglom
1edc47c0e6
Document battle party (#553) 2025-06-22 10:56:26 -07:00
Eduardo Quezada
3fc25ff466
Pal Park map script documentation (#491) 2025-06-22 10:50:03 -07:00
Gudf
ce54785d2d Size contest: Route 222 East House scripts & text 2025-06-22 00:23:45 +02:00
Gudf
0dd2d4c588 Size contest: document the script commands 2025-06-22 00:23:45 +02:00
tillgeissler
69497b4d00
Unpack Battle Tower trainers and Pokemon sets (#514)
Some checks failed
build / build (push) Has been cancelled
* Unpack b_pl_btdpm.narc

* fix nature name NATURE_QUIRKY

* Unpack pl_btdtr.narc

* Refactor frontier pokemon structure

* Remove prebuilt pl_btdtr.narc

* Replace frontier trainers setIds by available set names

* Add datagen_frontier.cpp to pack pl_btdpm.narc and pl_btdtr.narc

* Cleanup json2bin changes

* fix formatting
2025-06-15 10:37:47 -07:00
Morglom
381acc26dd
Document battle bag text (#538)
* Make changes.

* Rename files.

* Pull Request Changes.
2025-06-07 22:51:18 -07:00
cbt6
948bb616b8 Rename movement action script commands 2025-06-05 06:13:31 +08:00
Morglom
c53362b08c
Document battle bag task (#530)
* Rename and move structs.

* Finish documenting battle bag task

* Move screen enum.

* Pull request changes.

* Forgot renames.
2025-05-31 20:09:21 -07:00
Morglom
b0f4990576
Document battle bag utility (#512)
* Rename and document functions

* Rename files.

* Remove redundant array

* Renames.

* Last renames.

* Small fix

* Remove unnecessary brackets.

* Pull Request changes.

* Forgot these fields.

* Further changes.
2025-05-23 22:38:57 -07:00
Rachel
f394fd0382
refactor: Change the extension of .naix to .naix.h throughout (#516) 2025-05-22 20:46:01 -07:00
Rachel
a5f5620c82
build: Refine the dependency chain for pokefoot.naix (#515) 2025-05-22 20:04:41 -07:00
h2o-DS
57fbaeca7e
Unopack pokefoot.narc and Document pokedex_footprint (#513)
* generate pokefoot.narc

Unpacked pokefoot.narc
Each species folder now contains a `footprint.png`
Documented `pokedex_foot`

* Check parent folders

Added a check to make sure the species folders exist for the NCGR files.

* Function Names

Gave pokedex_foot functions more accurate names

* format header

* pal crlf

Force palettes to crlf

* naix

Added naix and order file generation for pokefoot.narc
make_pokefoot uses species constants instead of subdirs
renamed pokedex_foot and its functions

* fix merge
2025-05-21 23:50:52 -07:00
narf0708@gmail.com
0d5560285e Document box messages 2025-05-10 20:53:38 -04:00
h2o-DS
0cba5ddceb
Generate pms.narc (#502)
Some checks failed
build / build (push) Has been cancelled
* Generate pms

Added offspring field to species data files
Added pms.narc to datagen_species

* Document Comments

Added pms.narc to header comments

* Remove Hardcode

* Optimization
2025-05-07 20:46:30 -07:00
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
ecb0f0c119
Almost finished documenting ScrCmd for sound (#486)
Some checks are pending
build / build (push) Waiting to run
* ScrCmd_IsSequencePlaying

* ScrCmd_SetSpecialBGM

* `sub_02055554` -> `Sound_TryFadeOutToBGM`

also `sub_020555CC` -> `Sound_GetBGMFadeOutAndWaitFrames`

* ScrCmd_FadeInBGM

* FadeOutMusic -> FadeOutBGM for consistency

* ScrCmd_SetBGMPlayerPaused

* ScrCmd_SetBGMFixed

* Constant uses

* ScrCmd_CheckRecordedChatotCryIsPlayable

* ScrCmd_TryRecordChatotCry

* ScrCmd_StopRecordingChatotCry

* ScrCmd_StopFanfare

* sdatID -> seqID

* ScrCmd_StoreRecordedChatotCry

* ScrCmd_SetSubScene63

* ScrCmd_SetInitialVolumeForSequence

* ScrCmd_SetScene22

* ScrCmd_SetFieldScene, ScrCmd_GetCurrentBGM

* ScrCmd_057 seqID

* Rename file

* Format
2025-04-24 03:51:56 -07:00
Eduardo Quezada
2fe369009d
Finish documenting ScrCmd for daycare (#485) 2025-04-24 03:47:40 -07:00
Eduardo Quezada
b460742636 Finish documenting ScrCmd for items 2025-04-23 14:17:56 -04: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
6ef937a8eb
Define and use Var constants (#474)
* Missing uses of defined vars

* Vars 0x4000 to 0x402F with Var macros

* Vars 0x4000 to 0x402F with other macros

^ Conflicts:
^	res/field/scripts/scripts_amity_square.s
^	res/field/scripts/scripts_veilstone_city_southwest_house.s

* Other vars

* Special Flags

* Unk vars

* NUM_VARS

* `SPECIAL_VARS_START` -> `SCRIPT_LOCAL_VARS_START`

* `VAR_0x800C` -> `VAR_RESULT`

* `VAR_0x800D` -> `VAR_LAST_TALKED`

* Format

* VAR_MAP_LOCAL

* VAR_OBJ_GFX_ID

* STORY_VARS
2025-04-20 17:38:03 -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
cb256f45b5
Document location data (#472)
* Initial location names + Journal exited buildings

* Map header flags

* Map header battle BG

* Location names

* Weather

* Music IDs

* Format

* IsLeapYear

* Yearly weather
2025-04-13 13:23:49 -07: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
Eduardo Quezada
4dc33aeff4
Document multiple map scripts commands (#469)
Some checks are pending
build / build (push) Waiting to run
* CheckPartyHasFatefulEncounterRegigigas

* SetPartyGiratinaForm

* WaitCry

* GetUnownFormsSeenCount

* CheckPartyCombeeGenderCount

* GetHour

* Review changes
2025-04-12 12:30:17 -07:00
Eduardo Quezada
27a7d310ec
Text Bank message ID formatting (#470)
Some checks are pending
build / build (push) Waiting to run
* Pokémon Center Daily Trainers

* Acuity Cavern

* Footstep House

* Journal entries

* Flower Shop

* Migrate from GBA

* Ribbon names and descriptions

* Pokémon Summary Screen

* Options Menu

* Valor Cavern

* Verity Cavern

* Uxie and Azelf cry text parity

* Veilstone City

* Main menu

* NPC Trade names

* Misc
2025-04-11 20:31:39 -07:00
narf0708@gmail.com
9b83baf1dc Generating and documenting accessories constants 2025-04-10 23:55:36 -04: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
bebd201102 GoToIfCannotFitItem macro 2025-04-01 14:14:18 -03:00
Eduardo Quezada
3b6f606e4c C comments 2025-04-01 14:14:12 -03:00
Gudf
e487e86f9f Menu builder commands documentation
Also documents script manager member 0 as
`SCRIPT_MANAGER_FIELD_MENU_MANAGER`.
2025-04-01 11:32:46 +02:00
Gudf
baa9533401 Currency windows
Includes a rename of `ScriptManager::coinWindow` and
`SCRIPT_MANAGER_COIN_WINDOW` to reflect the fact that the game uses
the same pointer for both special currency windows (coins & BP), and
normalization to `CoinWindow` instead of `CoinsWindow` in
`overlay005/field_menu`
2025-04-01 11:32:46 +02:00
Gudf
cc1a3ce09a Elevator floor-related script commands 2025-04-01 11:32:46 +02:00
Eduardo Quezada
a7fa5b9ade Document functions and script commands adjacent to CanFitItem 2025-03-31 16:11:08 -03:00
Rachel
eb620655e1
Merge pull request #451 from FrozenMetroid/game_corner_prizes
Update Game Corner Prizes
2025-03-31 11:21:36 -07:00
Rachel
d37cbc9b4b
Merge pull request #450 from Kuruyia/feat/document-platform-lift
Document platform lift
2025-03-31 10:52:16 -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
Senate
61c358240e Fix Syntactic and Other Issues 2025-03-30 15:56:59 -04:00
Kuruyia
acbc7fe3a1 Document platform lift-related map script commands
This documents the `ScrCmd_25C` map script command, that is used on maps
containing a platform lift to trigger it going up or down. It is
intended to be used in a script that is called on a coord event.

This also documents the `ScrCmd_25D` map script command, that is used on
the Pokémon League elevator rooms to check if the platform lift has
already been used (i.e. it is on the top floor) when the player entered
the map. This is used to disable the coord event that triggers the
platform lift.

Signed-off-by: Kuruyia <github@kuruyia.net>
2025-03-30 17:15:03 +02:00
Kuruyia
9e8482aec4 Document map object flag for disabling height calculation and related script command
This documents the `MAP_OBJ_STATUS_23` map object status flag that
affects whether height is calculated for a map object using the terrain
collision manager.

This also documents the `ScrCmd_211` map script commands, that allows
setting this status flag from map scripts.

Signed-off-by: Kuruyia <github@kuruyia.net>
2025-03-30 17:15:03 +02:00
Eduardo Quezada
f25d3f4fff Removed redundant defines 2025-03-30 00:29:05 -03:00
Senate
a591615cb5 Update Game Corner Prizes 2025-03-29 19:47:15 -04:00
Eduardo Quezada
1c0b7120b8 Removed accidental extra commas 2025-03-28 16:28:00 -03:00
Eduardo Quezada
dc4954da53 Add flag constants 2025-03-28 16:24:18 -03:00
Kuruyia
d5ee4064f7 Document persisted map features initializer script commands
This documents the map script commands related to the persisted map
features initializers.

Signed-off-by: Kuruyia <github@kuruyia.net>
2025-03-24 10:41:37 +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
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
5bb9556a4c Dump map matrices 2025-03-17 17:39:12 -04:00
RavePossum
84372b4827 Dump map texture sets 2025-03-17 17:39:03 -04:00
RavePossum
5bff852559 Dump map data files 2025-03-17 09:46:33 -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
7c701a376d Document mon sprite magic numbers, generate otherpoke naix 2025-03-09 19:29:06 -04:00
Rachel
17bd884434
Merge pull request #406 from lhearachel/contributing-md
Some checks failed
build / build (push) Has been cancelled
Overhaul CONTRIBUTING.md + integrate pre-commit
2025-03-09 16:03:56 -07:00
Rachel
32f976c986
Merge pull request #422 from lhearachel/var-404C
Document system-variable 0x404C
2025-03-09 15:55:42 -07:00
Eduardo Quezada
698ed9262e Review Changes 1 2025-03-09 11:44:55 -03:00
Rachel
90229682d0 Overhaul CONTRIBUTING.md + integrate editorconfig and pre-commit 2025-03-08 21:43:47 -08:00
narf0708@gmail.com
04ff072cc7 PR feedback and polish 2025-03-08 20:41:25 -05:00
narf0708@gmail.com
571e3fc8d2 Documenting UnkStruct_ov19_021D5BAC as PCMonPreview 2025-03-08 19:33:19 -05:00
Rachel
c6e8651e00 Document system-variable 0x404C 2025-03-08 14:58:47 -08:00
Eduardo Quezada
2a208e72dc Merge branch 'document11' into document12 2025-03-08 18:19:55 -03:00
narf0708@gmail.com
53835af289 Polish & renaming 2025-03-08 09:33:17 -05:00
narf0708@gmail.com
336ab0ba9c PR feedback 2025-03-08 09:33:17 -05:00
narf0708@gmail.com
c8802fa243 Cleanup 2025-03-08 09:33:17 -05:00
narf0708@gmail.com
4b5b45254c Documenting unk_020797C8 as pokemon_storage_system_manager 2025-03-08 09:33:17 -05: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
Rachel
d5519faf3a
Merge pull request #398 from Viperio19/document-scripts
Some checks failed
build / build (push) Has been cancelled
Document signpost script commands
2025-03-03 23:04:00 -08:00
mudskipper13
11831c80cb Document Accessory Shop (ov7_0224BE9C) 2025-03-02 15:12:03 +07: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
e55f2159b4 apply review 2 2025-02-26 08:33:39 +07:00
mudskipper13
008b0963b9 shop_menu/script: create generated mart ids 2025-02-26 08:33:38 +07:00
mudskipper13
ba5cdc14ed shop_menu/script: document shop-related scrcmds 2025-02-26 08:33:37 +07:00
mudskipper13
9b10910138 shop menu: unpack graphics 2025-02-26 08:02:03 +07:00
Rachel
3dd2197369
Merge pull request #399 from cbt6/field-event-constants
Some checks are pending
build / build (push) Waiting to run
Use various constants in field events
2025-02-24 20:39:13 -08:00