Arrayify Game Options

Eventually split from Adjust
This commit is contained in:
Mike A. Trethewey
2020-02-15 01:58:58 -08:00
parent 50526c1f5b
commit 2aef6b438c
3 changed files with 26 additions and 26 deletions

View File

@@ -20,7 +20,7 @@ def adjust_page(top, parent, settings):
"checkbox",
self,
"Disable Music & MSU-1",
top.gameOptionsWindow.gameOptionsWidgets["nobgm"].storageVar
top.pages["randomizer"].pages["gameoptions"].gameOptionsWidgets["nobgm"].storageVar
)
self.adjustWidgets[key].pack(anchor=W)
@@ -31,7 +31,7 @@ def adjust_page(top, parent, settings):
"checkbox",
self,
"L/R Quickswapping",
top.gameOptionsWindow.gameOptionsWidgets["quickswap"].storageVar
top.gameOptipages["randomizer"].pages["gameoptions"]onsWindow.gameOptionsWidgets["quickswap"].storageVar
)
self.adjustWidgets[key].pack(anchor=W)
@@ -51,7 +51,7 @@ def adjust_page(top, parent, settings):
"selectbox",
leftAdjustFrame,
"Heart Color",
top.gameOptionsWindow.gameOptionsWidgets["heartcolor"].storageVar,
top.pages["randomizer"].pages["gameoptions"].gameOptionsWidgets["heartcolor"].storageVar,
{"label": {"side": LEFT}, "selectbox": {"side": RIGHT}},
{
"Red": "red",
@@ -70,7 +70,7 @@ def adjust_page(top, parent, settings):
"selectbox",
leftAdjustFrame,
"Heart Beep sound rate",
top.gameOptionsWindow.gameOptionsWidgets["heartbeep"].storageVar,
top.pages["randomizer"].pages["gameoptions"].gameOptionsWidgets["heartbeep"].storageVar,
{"label": {"side": LEFT}, "selectbox": {"side": RIGHT}, "default": "Normal"},
{
"Double": "double",
@@ -115,7 +115,7 @@ def adjust_page(top, parent, settings):
"selectbox",
rightAdjustFrame,
"Menu Speed",
top.gameOptionsWindow.gameOptionsWidgets["menuspeed"].storageVar,
top.pages["randomizer"].pages["gameoptions"].gameOptionsWidgets["menuspeed"].storageVar,
{"label": {"side": LEFT}, "selectbox": {"side": RIGHT}, "default": "Normal"},
{
"Instant": "instant",
@@ -135,7 +135,7 @@ def adjust_page(top, parent, settings):
"selectbox",
rightAdjustFrame,
"Overworld Palettes",
top.gameOptionsWindow.gameOptionsWidgets["owpalettes"].storageVar,
top.pages["randomizer"].pages["gameoptions"].gameOptionsWidgets["owpalettes"].storageVar,
{"label": {"side": LEFT}, "selectbox": {"side": RIGHT}},
{
"Default": "default",
@@ -152,7 +152,7 @@ def adjust_page(top, parent, settings):
"selectbox",
rightAdjustFrame,
"Underworld Palettes",
top.gameOptionsWindow.gameOptionsWidgets["uwpalettes"].storageVar,
top.pages["randomizer"].pages["gameoptions"].gameOptionsWidgets["uwpalettes"].storageVar,
{"label": {"side": LEFT}, "selectbox": {"side": RIGHT}},
{
"Default": "default",