Commit Graph

22 Commits

Author SHA1 Message Date
Viperio
3c0d1255a4
Introduce macros for common message script structures (#975)
Some checks are pending
build / build (push) Waiting to run
2026-03-03 21:20:51 -05:00
Kalaay
02f8eadc34
Added Common_ prefix to all CallCommonScript wrapper macros (#918) 2026-02-10 20:43:22 -05:00
Eduardo Quezada
f9edc80941
Misc. Documentation (#883) 2026-01-08 17:50:33 -08:00
Eduardo Quezada
d381a31f50
Created macros for most calls to CallCommonScript (#844) 2026-01-01 12:52:50 -08: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
James Petersen
d0691ecf57
Add Link Step to Script Build Process (#628) 2025-07-15 10:35:38 -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
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
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
Eduardo Quezada
a7fa5b9ade Document functions and script commands adjacent to CanFitItem 2025-03-31 16:11:08 -03:00
Eduardo Quezada
dc4954da53 Add flag constants 2025-03-28 16:24:18 -03:00
Viperio19
b44ad88210 Improve names and move flag constants to vars_flags.h 2025-02-14 11:56:28 +01:00
Viperio19
eef5a361b2 Finish documentation for scripts_pokemon_center_daily_trainers.s 2025-02-13 23:19:39 +01:00
Rachel
ab09fd604e Use a static ordering for text archives + refactor terminology + unify includes 2025-01-27 20:53:13 -08:00
Rachel
42312043d5 Explicitly include header-linked GMM headers in script files 2025-01-27 20:46:35 -08:00
RavePossum
28a00d2d98 Substitute a batch of constants for script commands 2024-07-22 09:23:21 -04:00
RavePossum
08c23a311f Mass rename a batch of script commands 2024-07-22 09:23:21 -04:00
Rachel
c925fef0b9 Update all scripts to use #include 2024-07-16 12:01:40 -07:00
cbt6
3c8cd4a42a Name field script files 2024-06-29 14:16:59 +08:00