Commit Graph

194 Commits

Author SHA1 Message Date
Abaresk
2df523fae1 Scripts should only depend on the message headers they include
Try blocking script build on a touch-once script
2023-01-03 23:11:31 +00:00
Adrienn Tindall
f62175053d Consolidate FieldSys_ nomenclature + misc documentation 2022-12-08 10:31:27 -05:00
Adrienn Tindall
d6fce12780 Decompile scrcmd_pokemon_misc, 9
Also includes documentation of functions to the best of my ability
2022-10-12 03:02:03 -04:00
Adrienn Tindall
ab404a87e6 Fixed Documentation Mistake
The script I labeled as "Check Legendary Wing" actually instead displays it overhead, so it's been renamed to "Show Legendary Wing"
2022-10-02 00:59:57 -04:00
Adrienn Tindall
d0dbf99920 Document scrcmd_pokemon_misc pts 7-8 2022-10-01 23:55:15 -04:00
Adrienn Tindall
030aabdff6 Document scrcmd_pokemon_misc pts 4-6 2022-09-27 04:18:18 -04:00
Adrienn Tindall
bbf93bec1c Document scrcmd_pokemon_misc pts 1-3 2022-09-05 18:57:56 -04:00
Revo
9e2f0a317a
Merge branch 'master' into item-flags 2022-09-02 15:00:24 -04:00
Admiral-Fish
ad9e4497e9 Decomp scrcmd_6 -> scrcmd_sound 2022-07-04 11:31:54 -07:00
麗奈 / Rena
bfb9d11c52
Merge branch 'pret:master' into item-flags 2022-05-07 16:25:21 -05:00
Abaresk
b454fa7f67 Decompile overlay_01_02204840 2022-05-07 13:05:55 +00:00
Rena
d34bbcd3d9 Fix a spelling error introduced in #86 commit 830ed20 2022-05-06 19:51:54 -05:00
Rena
8d1184c6e1 Define FLAG_GOT_EVERSTONE_FROM_ELM
This flag is notable because no code in the game ever reads its value, meaning it is functionally useless. If the player is unable to obtain the Everstone because their bag is full, it is lost forever. This is unlike every other item flag in the game, which all properly check the corresponding flag and allow the player to make space and come back to get the item.
2022-05-06 19:34:34 -05:00
Rena
d13d80d9a8 Define FLAG_GOT_SHARP_BEAK_FROM_MONICA 2022-05-06 19:19:33 -05:00
Rena
33cb90bf20 Define FLAG_GOT_SOFT_SAND_FROM_SANTOS 2022-05-06 19:18:11 -05:00
Rena
f6a577d5bf Define FLAG_GOT_BLACK_BELT_FROM_WESLEY 2022-05-06 19:16:45 -05:00
Rena
a62321999b Define FLAG_GOT_RAGECANDYBAR 2022-05-06 19:15:36 -05:00
Rena
c95efe979c Define FLAG_GOT_HM03 2022-05-06 19:13:13 -05:00
Rena
ae25e1e4db Define FLAG_GOT_GOOD_ROD 2022-05-06 19:09:46 -05:00
Rena
2af5886cc9 Define FLAG_GOT_HM02 2022-05-06 19:05:59 -05:00
Rena
43d53b362b Define FLAG_GOT_CHARCOAL_FROM_AZALEA_TOWN_MAN 2022-05-06 19:03:51 -05:00
Rena
396a64f216 Define FLAG_GOT_MYSTIC_WATER_FROM_CHERRYGROVE_CITY_MAN 2022-05-06 19:02:05 -05:00
Rena
5b0f9062d1 Define FLAG_GOT_UPGRADE_FROM_SAFFRON_CITY_GUARD 2022-05-06 19:00:09 -05:00
Rena
66eaecdf56 Define FLAG_GOT_SPELL_TAG_FROM_CELADON_CITY_MAN 2022-05-06 18:58:37 -05:00
Rena
91c1a4ef06 Define FLAG_GOT_RARE_CANDY_FROM_FAN_CLUB_CHAIRMAN 2022-05-06 18:54:41 -05:00
Rena
406de776de Define FLAG_GOT_PP_MAX_FROM_VERMILLION_CITY_MAN 2022-05-06 18:52:48 -05:00
Rena
e7e5e567a7 Define FLAG_GOT_MAGNET_FROM_SUNNY 2022-05-06 18:50:21 -05:00
Rena
c5be419ec3 Define FLAG_GOT_HARD_STONE_FROM_ARTHUR 2022-05-06 18:49:17 -05:00
Rena
c236fccbe3 Define FLAG_GOT_LURE_BALL_FROM_ROUTE_32_KURT_FAN 2022-05-06 18:46:48 -05:00
Rena
25e57f2ea6 Define FLAG_GOT_OLD_ROD 2022-05-06 18:45:06 -05:00
Rena
d16cb5a5b3 Define FLAG_GOT_POISON_BARB_FROM_FRIEDA 2022-05-06 18:43:19 -05:00
Rena
947e8b3fca Rename FLAG_GOT_LUCKY_PUNCH_FROM_ROUTE_14_WOMAN
There are other ways to obtain Lucky Punch; this flag specifically controls an NPC on Route 14
2022-05-06 18:41:06 -05:00
Rena
20dc882c1e Define FLAG_GOT_NUGGET_FROM_ACE_TRAINER_M_KEVIN 2022-05-06 18:39:04 -05:00
Rena
e4fac7189d Define FLAG_GOT_NUGGET_FROM_ROUTE_2_MAN 2022-05-06 18:36:06 -05:00
Rena
9ff91eba4a Define FLAG_GOT_CLEANSE_TAG_FROM_ROUTE_5_GRANDMA 2022-05-06 18:34:40 -05:00
Rena
8920ba2816 Define FLAG_GOT_SACRED_ASH_FROM_ROUTE_2_LAB_AIDE 2022-05-06 18:32:54 -05:00
Rena
c2da57feb6 Define FLAG_GOT_BLACKGLASSES_FROM_DARK_CAVE_MAN 2022-05-06 18:30:11 -05:00
Rena
b0275bfae4 Define FLAG_GOT_HM01 2022-05-06 18:28:52 -05:00
Rena
e405a4cc52 Define FLAG_GOT_KINGS_ROCK_FROM_SLOWPOKE_WELL_MAN 2022-05-06 18:24:30 -05:00
Rena
5869945199 Define FLAG_GOT_BRIGHTPOWDER_FROM_MARY 2022-05-06 18:22:51 -05:00
Rena
34f2c40a4a Define FLAG_GOT_QUICK_CLAW_FROM_NATIONAL_PARK_WOMAN 2022-05-06 18:21:07 -05:00
Rena
ef51d7f280 Define FLAG_GOT_TM07_FROM_PRYCE
This flag is notable because the game never checks its value, meaning it is functionally useless. It is set when the player gets TM07 from Pryce, but if the player cannot obtain the TM07, no code exists to check the flag and allow the player to obtain the TM07 when they make space in their bag. The only situation where this could occur is when the player has 99 TM07, so this mistake appears to have gone undetected. This mistake exists only in the code for TM07; all other NPCs correctly check the corresponding flag for being unset.
2022-05-06 18:10:03 -05:00
Rena
e7d68c65aa Define FLAG_GOT_TM30_FROM_MORTY 2022-05-06 17:41:14 -05:00
Rena
72cff134f4 Define FLAG_GOT_TM45_FROM_WHITNEY 2022-05-06 17:40:01 -05:00
Rena
573891a786 Define FLAG_GOT_TM01_FROM_CHUCK 2022-05-06 17:38:56 -05:00
Rena
fd2c66b1b9 Define FLAG_GOT_TM10_FROM_LAKE_OF_RAGE_MAN 2022-05-06 17:35:29 -05:00
Rena
8a6e887174 Define FLAG_GOT_TM23_FROM_JASMINE 2022-05-06 17:34:11 -05:00
Rena
4e5279726a Define FLAG_GOT_TM29_FROM_MR_PSYCHIC 2022-05-06 17:32:50 -05:00
Rena
1b47507e27 Define FLAG_GOT_TM84_FROM_JANINE 2022-05-06 17:32:29 -05:00
Rena
8150648875 Define FLAG_GOT_TM19_FROM_ERIKA 2022-05-06 17:30:35 -05:00