mirror of
https://github.com/MarioSpore/Grinch-AP.git
synced 2025-10-21 20:21:32 -06:00
Set rom default options
This commit is contained in:
2
Gui.py
2
Gui.py
@@ -157,7 +157,7 @@ def guiMain(args=None):
|
|||||||
spriteEntry.pack(side=LEFT)
|
spriteEntry.pack(side=LEFT)
|
||||||
spriteSelectButton.pack(side=LEFT)
|
spriteSelectButton.pack(side=LEFT)
|
||||||
|
|
||||||
quickSwapVar = IntVar()
|
quickSwapVar = IntVar(value=1)
|
||||||
quickSwapCheckbutton = Checkbutton(romOptionsFrame, text="L/R Quickswapping", variable=quickSwapVar)
|
quickSwapCheckbutton = Checkbutton(romOptionsFrame, text="L/R Quickswapping", variable=quickSwapVar)
|
||||||
quickSwapCheckbutton.grid(row=1, column=0, sticky=E)
|
quickSwapCheckbutton.grid(row=1, column=0, sticky=E)
|
||||||
|
|
||||||
|
19
Mystery.py
19
Mystery.py
@@ -434,15 +434,16 @@ def roll_settings(weights):
|
|||||||
|
|
||||||
if 'rom' in weights:
|
if 'rom' in weights:
|
||||||
romweights = weights['rom']
|
romweights = weights['rom']
|
||||||
ret.sprite = get_choice('sprite', romweights)
|
ret.sprite = get_choice('sprite', romweights, "Link")
|
||||||
ret.disablemusic = get_choice('disablemusic', romweights)
|
ret.disablemusic = get_choice('disablemusic', romweights, False)
|
||||||
ret.quickswap = get_choice('quickswap', romweights)
|
ret.quickswap = get_choice('quickswap', romweights, True)
|
||||||
ret.fastmenu = get_choice('menuspeed', romweights)
|
ret.fastmenu = get_choice('menuspeed', romweights, "normal")
|
||||||
ret.heartcolor = get_choice('heartcolor', romweights)
|
ret.heartcolor = get_choice('heartcolor', romweights, "red")
|
||||||
ret.heartbeep = convert_to_on_off(get_choice('heartbeep', romweights))
|
ret.heartbeep = convert_to_on_off(get_choice('heartbeep', romweights, "normal"))
|
||||||
ret.ow_palettes = get_choice('ow_palettes', romweights)
|
ret.ow_palettes = get_choice('ow_palettes', romweights, "default")
|
||||||
ret.uw_palettes = get_choice('uw_palettes', romweights)
|
ret.uw_palettes = get_choice('uw_palettes', romweights, "default")
|
||||||
|
else:
|
||||||
|
ret.quickswap = True
|
||||||
return ret
|
return ret
|
||||||
|
|
||||||
if __name__ == '__main__':
|
if __name__ == '__main__':
|
||||||
|
Reference in New Issue
Block a user