OPTION in the start menu runs _Option with the ROM's labels and settings, OptionsControl's cursor wrapping and each option's bit handling. The four option bytes live in the script state and saves, defaulting to DefaultOptions. The battle style now decides whether a trainer's next Pokémon brings an offer to switch, and the menu account whether the start menu describes its items; the other settings are kept for later. Closes #24 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
47698565ab
commit
c4cc0e756c
19 files changed
+732
-21
No files matched your search
@@ -749,6 +749,28 @@ export const TRAINER_CARD = {
|
||||
PredefPals: 0x9df6,
|
||||
} as const;
|
||||
|
||||
/** _Option (engine/menus/options_menu.asm): its screen and setting
|
||||
* strings, keyed by their PRET labels. */
|
||||
export const OPTIONS = {
|
||||
StringOptions: 0xe4241,
|
||||
"Options_TextSpeed.Fast": 0xe4337,
|
||||
"Options_TextSpeed.Mid": 0xe433c,
|
||||
"Options_TextSpeed.Slow": 0xe4341,
|
||||
"Options_BattleScene.On": 0xe4398,
|
||||
"Options_BattleScene.Off": 0xe439c,
|
||||
"Options_BattleStyle.Shift": 0xe43d1,
|
||||
"Options_BattleStyle.Set": 0xe43d7,
|
||||
"Options_Sound.Mono": 0xe4416,
|
||||
"Options_Sound.Stereo": 0xe441d,
|
||||
"Options_Print.Lightest": 0xe4464,
|
||||
"Options_Print.Lighter": 0xe446d,
|
||||
"Options_Print.Normal": 0xe4476,
|
||||
"Options_Print.Darker": 0xe447f,
|
||||
"Options_Print.Darkest": 0xe4488,
|
||||
"Options_MenuAccount.Off": 0xe44f2,
|
||||
"Options_MenuAccount.On": 0xe44f6,
|
||||
} as const;
|
||||
|
||||
export const MAP_GROUP_COUNT = 26;
|
||||
export const NUM_POKEMON = 251;
|
||||
export const NUM_TRAINER_CLASSES = 67;
|
||||
|
||||
Reference in new issue
Block a user