[Misc] Rename battle music, experimental sprites settings (#5174)

Co-authored-by: damocleas <damocleas25@gmail.com>
This commit is contained in:
AJ Fontaine 2025-01-29 22:43:44 -05:00 committed by GitHub
parent 974fe9f7d3
commit a9ffe03804
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 7 additions and 7 deletions

View File

@ -166,7 +166,7 @@ export const SettingKeys = {
Field_Volume: "FIELD_VOLUME", Field_Volume: "FIELD_VOLUME",
SE_Volume: "SE_VOLUME", SE_Volume: "SE_VOLUME",
UI_Volume: "UI_SOUND_EFFECTS", UI_Volume: "UI_SOUND_EFFECTS",
Music_Preference: "MUSIC_PREFERENCE", Battle_Music: "BATTLE_MUSIC",
Show_BGM_Bar: "SHOW_BGM_BAR", Show_BGM_Bar: "SHOW_BGM_BAR",
Move_Touch_Controls: "MOVE_TOUCH_CONTROLS", Move_Touch_Controls: "MOVE_TOUCH_CONTROLS",
Shop_Overlay_Opacity: "SHOP_OVERLAY_OPACITY" Shop_Overlay_Opacity: "SHOP_OVERLAY_OPACITY"
@ -577,8 +577,8 @@ export const Setting: Array<Setting> = [
label: i18next.t("settings:consistent") label: i18next.t("settings:consistent")
}, },
{ {
value: "Mixed Animated", value: "Experimental",
label: i18next.t("settings:mixedAnimated") label: i18next.t("settings:experimental")
} }
], ],
default: 0, default: 0,
@ -658,11 +658,11 @@ export const Setting: Array<Setting> = [
type: SettingType.AUDIO type: SettingType.AUDIO
}, },
{ {
key: SettingKeys.Music_Preference, key: SettingKeys.Battle_Music,
label: i18next.t("settings:musicPreference"), label: i18next.t("settings:battleMusic"),
options: [ options: [
{ {
value: "Gen V + PMD", value: "Gen V",
label: i18next.t("settings:musicGenFive") label: i18next.t("settings:musicGenFive")
}, },
{ {
@ -741,7 +741,7 @@ export function setSetting(setting: string, value: integer): boolean {
case SettingKeys.UI_Volume: case SettingKeys.UI_Volume:
globalScene.uiVolume = value ? parseInt(Setting[index].options[value].value) * 0.01 : 0; globalScene.uiVolume = value ? parseInt(Setting[index].options[value].value) * 0.01 : 0;
break; break;
case SettingKeys.Music_Preference: case SettingKeys.Battle_Music:
globalScene.musicPreference = value; globalScene.musicPreference = value;
break; break;
case SettingKeys.Damage_Numbers: case SettingKeys.Damage_Numbers: