* 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
* 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
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`
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>
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>
* 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"
- `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