Commit Graph

17 Commits

Author SHA1 Message Date
Viperio
7c1e6f0a3a
Document floaroma and valley windworks scripts (#989)
Some checks are pending
build / build (push) Waiting to run
2026-03-07 23:29:54 -08:00
Viperio
fc0f91b1d6
Document visible items (#973)
Some checks failed
build / build (push) Has been cancelled
2026-02-24 10:37:17 -08:00
Viperio
917567b059
Document route 203 and oreburgh gate (#966)
Some checks are pending
build / build (push) Waiting to run
2026-02-23 10:31:46 -08:00
Viperio
13213bf041
Document route 202 and jubilife city scripts (#933)
Some checks failed
build / build (push) Has been cancelled
2026-02-11 02:17:04 -05:00
Viperio
998fdccc15
Document sandgem town script, text and event files (#929)
Some checks failed
build / build (push) Has been cancelled
2026-02-04 10:32:07 -08:00
Viperio
e303487d78
Document route 201 and lake verity scripts, misc documentation (#904)
Some checks are pending
build / build (push) Waiting to run
2026-02-03 13:00:40 -05:00
Eduardo Quezada
2b19a7b6d4
Standarized Barry as Rival (#892) 2026-01-20 11:51:51 -08:00
Viperio
d99fdca178
Document twinleaf town scripts (#872) 2026-01-16 14:06:18 -08:00
Viperio
ba54d74b3b
Document pokemon league scripts (#869) 2026-01-08 16:28:34 -08:00
CharlesFolz4
74e4850c1e
Document Gym scripts (#793) 2025-11-02 15:10:28 -08:00
innocenthedgehog
4abbaaf2b6
Document Veilstone Department Store (#796) 2025-10-30 20:25:26 -07:00
James Petersen
d0691ecf57
Add Link Step to Script Build Process (#628) 2025-07-15 10:35:38 -07:00
Eduardo Quezada
3fc25ff466
Pal Park map script documentation (#491) 2025-06-22 10:50:03 -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
dc4954da53 Add flag constants 2025-03-28 16:24:18 -03: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