Commit Graph

1370 Commits

Author SHA1 Message Date
mudskipper13
263f6373ce shop_menu: incDeptStoreBuyCount -> incDeptStore and more SHOP_ITEM_END use 2025-02-26 08:33:38 +07:00
mudskipper13
008b0963b9 shop_menu/script: create generated mart ids 2025-02-26 08:33:38 +07:00
mudskipper13
918ca37f31 shop_menu/script: unk_02046AD4 -> scrcmd_shop 2025-02-26 08:33:37 +07:00
mudskipper13
ba5cdc14ed shop_menu/script: document shop-related scrcmds 2025-02-26 08:33:37 +07:00
mudskipper13
a9b8cfb118 shop_menu: doc unknown state and unk_0209AC14 -> shop_misc 2025-02-26 08:33:34 +07:00
mudskipper13
53eccba0f5 ov7_0224CD28 -> shop_menu 2025-02-26 08:02:04 +07:00
mudskipper13
93a5074a1f document the majority of ov7_0224CD28 2025-02-26 08:02:03 +07:00
mudskipper13
8672d294e6 ov7_0224CD28/shop menu: apply review 2025-02-26 08:02:02 +07:00
mudskipper13
d19aa216dd ov7_0224CD28/shop menu: doc most of ShopMenu fields 2025-02-26 08:02:02 +07:00
mudskipper13
27bbbdb8bc ov7_0224CD28/shop menu: partial UnkStruct_ov7_0224D008 -> ShopMenu 2025-02-26 08:02:02 +07:00
mudskipper13
b494c72a43 ov7_0224CD28/shop menu: ov7_0224CDA4 -> Shop_Start 2025-02-26 08:02:02 +07:00
mudskipper13
13ee165892 ov7_0224CD28/shop menu: unk_2A9 -> martType 2025-02-26 08:02:01 +07:00
h2o-DS
8f0da81c9d Merge remote-tracking branch 'upstream/main' into Pokedex_Menu_Text 2025-02-25 06:24:57 -05:00
h2o-DS
3281d4fe36 Polish
Created moved PokedexApp to pokedex_app.h
Documented some PokedexApp variable names
Decomposed PokedexOverlayData into PokedexApp double pointer
Extended PokedexBootMode names
2025-02-25 06:15:58 -05:00
Rachel
4763b753c0 Merge pull request #397 from Kuruyia/feat/document-map-prop-animation
Document map prop animation
2025-02-24 19:50:30 -08:00
Kuruyia
207f789689 Document map prop animation
This documents the `ov5_021D37AC.c` file, which is in charge of managing
the animations on map props.

The map prop animation code is actually split into two separate
managers:
* The `MapPropAnimationManager`, which is in charge of loading animation
  data from the two related NARC files, and managing long-running
  animations (e.g. Valley Windworks windmills, Fuego Ironworks furnace,
  Veilstone Game Corner lights...)
* The `MapPropOneShotAnimationManager`, which is in charge of loading
  and playing "one shot" animations (e.g. any door opening/closing, the
  Pokémon Center stairs...)

Signed-off-by: Kuruyia <github@kuruyia.net>
2025-02-24 11:53:11 +01:00
narf0708@gmail.com
4fe2b5aaf2 More PR feedback 2025-02-23 17:25:35 -05:00
narf0708@gmail.com
87a71f6728 PR feedback 2025-02-23 16:42:04 -05:00
narf0708@gmail.com
34f1d81aae Document unk_020480A8 as the JubilifeLottery 2025-02-23 16:31:42 -05:00
Rachel
dc5440a466 Merge pull request #393 from Viperio19/document-scripts
Some checks failed
build / build (push) Has been cancelled
Document lake trio cavern scripts
2025-02-23 12:38:27 -08:00
Rachel
2873d3f9e4 Merge pull request #392 from Kuruyia/feat/document-area-data
Some checks failed
build / build (push) Has been cancelled
Document area data
2025-02-22 11:32:39 -08:00
Kuruyia
be823a26bb Document area data
This documents the `ov5_021EF75C.c` file, which is in charge of loading
various "area data" NARCs that, in the end, contain the textures of
maps, the textures and models of map props, and lighting information.

Also, renamed `MapProp.id` to `MapProp.modelID` for more clarity
(especially when interacting with the new area data functions).

Signed-off-by: Kuruyia <github@kuruyia.net>
2025-02-22 13:38:54 +01:00
Gudf
bfa39b9d0d Rename FieldMenu to StartMenu 2025-02-20 21:54:54 +01:00
Rachel
a9bf501977 Merge pull request #388 from lucie-sharpe/PoketchDigitalClockApp
Some checks failed
build / build (push) Has been cancelled
Poketch digital clock app
2025-02-20 10:31:45 -08:00
Viperio19
913d67dd10 Document lake trio caverns 2025-02-20 18:14:04 +01:00
Lucie
1ba6d4ef66 renamed macros 2025-02-18 12:59:18 +00:00
Lucie
a322a18518 renamed files 2025-02-18 12:55:42 +00:00
Lucie
1f846ffa8a updated from PR review 2025-02-18 12:39:03 +00:00
RavePossum
98af4498e2 Merge pull request #384 from Kuruyia/feat/document-map-prop-matshp
Some checks failed
build / build (push) Has been cancelled
Document map prop material and shape
2025-02-17 11:21:42 -05:00
Kuruyia
96bcde71e3 Document map prop material and shape
This documents the `ov5_021D56BC.c` file, which is in charge of reading
the `build_model_matshp.dat` file from the ROM.

This file contains the material and shape IDs necessary to render the
map props that use the 1Mat1Shp rendering path from NitroSystem.

Signed-off-by: Kuruyia <github@kuruyia.net>
2025-02-17 11:53:23 +01:00
Lucie
cb954e4b48 Merge branch 'main' into PoketchDigitalClockApp
# Conflicts:
#	src/overlay026/ov26_022561C0.c
#	src/overlay026/ov26_02256404.c
2025-02-17 00:48:58 +00:00
Rachel
31dcd5a7ea Merge pull request #387 from lucie-sharpe/Poketch
Some checks are pending
build / build (push) Waiting to run
Documented some Poketch functions
2025-02-16 16:42:19 -08:00
Lucie
ea5a361430 some task documentation 2025-02-17 00:24:59 +00:00
Lucie
45e4448c50 Merge branch 'main' into PoketchDigitalClockApp
# Conflicts:
#	src/overlay026/ov26_02256404.c
2025-02-16 23:00:01 +00:00
Lucie
ef15309bb8 renamed files 2025-02-16 22:45:57 +00:00
Lucie
1f642fcc48 document app graphics 2025-02-16 22:45:51 +00:00
Lucie
92ca6219a7 documented app manager 2025-02-16 22:45:43 +00:00
RavePossum
eb7c3f5bf6 Address PR feedback 2025-02-16 15:48:52 -05:00
RavePossum
9940057810 Start documenting how summary screen is accessed, move deleter scrcmds 2025-02-16 15:48:52 -05:00
RavePossum
5e30ca87ee Start documenting summary status constants, fix a few names in summary screen 2025-02-16 15:46:28 -05:00
RavePossum
df1c5349bc Mass rename a couple touch screen functions 2025-02-16 15:46:28 -05:00
RavePossum
da77879094 Summary button anim clean-up + misc constants 2025-02-16 15:46:28 -05:00
RavePossum
00f2fc263d More summary related constants, add PC box row/col/max constants 2025-02-16 15:46:28 -05:00
RavePossum
5630607524 Rename PokemonSummary max -> monMax, pos -> monIndex 2025-02-16 15:46:28 -05:00
RavePossum
ff412fbe76 Rename summary mode constants that could be better 2025-02-16 15:46:28 -05:00
Lucie
780b54ae5d Merge branch 'main' into Poketch 2025-02-16 20:40:36 +00: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
7d4eae3ff1 Document system_vars.c 2025-02-16 12:15:56 -08:00
Rachel
a1cade4fab Label extern routines in system_vars.c 2025-02-16 12:15:56 -08:00