Added new SFX instrument shuffle option
This commit is contained in:
@@ -186,6 +186,7 @@ class CustomSettings(object):
|
||||
args.ow_palettes[p] = get_setting(settings['ow_palettes'], args.ow_palettes[p])
|
||||
args.uw_palettes[p] = get_setting(settings['uw_palettes'], args.uw_palettes[p])
|
||||
args.shuffle_sfx[p] = get_setting(settings['shuffle_sfx'], args.shuffle_sfx[p])
|
||||
args.shuffle_sfxinstruments[p] = get_setting(settings['shuffle_sfxinstruments'], args.shuffle_sfxinstruments[p])
|
||||
args.shuffle_songinstruments[p] = get_setting(settings['shuffle_songinstruments'], args.shuffle_songinstruments[p])
|
||||
args.msu_resume[p] = get_setting(settings['msu_resume'], args.msu_resume[p])
|
||||
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -139,6 +139,7 @@ SETTINGSTOPROCESS = {
|
||||
"uwpalettes": "uw_palettes",
|
||||
"reduce_flashing": "reduce_flashing",
|
||||
"shuffle_sfx": "shuffle_sfx",
|
||||
"shuffle_sfxinstruments": "shuffle_sfxinstruments",
|
||||
"shuffle_songinstruments": "shuffle_songinstruments",
|
||||
'msu_resume': 'msu_resume',
|
||||
},
|
||||
|
||||
@@ -107,6 +107,7 @@ def adjust_page(top, parent, settings):
|
||||
"reduce_flashing": "reduce_flashing",
|
||||
'msu_resume': 'msu_resume',
|
||||
"shuffle_sfx": "shuffle_sfx",
|
||||
"shuffle_sfxinstruments": "shuffle_sfxinstruments",
|
||||
"shuffle_songinstruments": "shuffle_songinstruments",
|
||||
}
|
||||
guiargs = Namespace()
|
||||
@@ -159,6 +160,7 @@ def adjust_page(top, parent, settings):
|
||||
"nobgm": "disablemusic",
|
||||
"reduce_flashing": "reduce_flashing",
|
||||
"shuffle_sfx": "shuffle_sfx",
|
||||
"shuffle_sfxinstruments": "shuffle_sfxinstruments",
|
||||
"shuffle_songinstruments": "shuffle_songinstruments",
|
||||
"msu_resume": "msu_resume"
|
||||
}
|
||||
|
||||
@@ -311,6 +311,7 @@ def create_guiargs(parent):
|
||||
"uwpalettes": "uw_palettes",
|
||||
"reduce_flashing": "reduce_flashing",
|
||||
"shuffle_sfx": "shuffle_sfx",
|
||||
"shuffle_sfxinstruments": "shuffle_sfxinstruments",
|
||||
"shuffle_songinstruments": "shuffle_songinstruments"
|
||||
}
|
||||
for adjustarg in adjustargs:
|
||||
|
||||
@@ -225,6 +225,7 @@ def loadadjustargs(gui, settings):
|
||||
"uwpalettes": "adjust.uwpalettes",
|
||||
"reduce_flashing": "adjust.reduce_flashing",
|
||||
"shuffle_sfx": "adjust.shuffle_sfx",
|
||||
"shuffle_sfxinstruments": "adjust.shuffle_sfxinstruments",
|
||||
"shuffle_songinstruments": "adjust.shuffle_songinstruments"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -221,6 +221,7 @@ def roll_settings(weights):
|
||||
ret.ow_palettes = get_choice('ow_palettes', romweights)
|
||||
ret.uw_palettes = get_choice('uw_palettes', romweights)
|
||||
ret.shuffle_sfx = get_choice('shuffle_sfx', romweights) == 'on'
|
||||
ret.shuffle_sfxinstruments = get_choice('shuffle_sfxinstruments', romweights) == 'on'
|
||||
ret.shuffle_songinstruments = get_choice('shuffle_songinstruments', romweights) == 'on'
|
||||
ret.msu_resume = get_choice('msu_resume', romweights) == 'on'
|
||||
|
||||
|
||||
Reference in New Issue
Block a user