Fix Adjuster script

This commit is contained in:
Mike A. Trethewey
2020-02-08 16:25:44 -08:00
parent b80ae5a171
commit 96b4144022

View File

@@ -21,6 +21,9 @@ def adjust(args):
else:
raise RuntimeError('Provided Rom is not a valid Link to the Past Randomizer Rom. Please provide one for adjusting.')
if not hasattr(args,"sprite"):
args.sprite = None
apply_rom_settings(rom, args.heartbeep, args.heartcolor, args.quickswap, args.fastmenu, args.disablemusic, args.sprite, args.ow_palettes, args.uw_palettes)
rom.write_to_file(output_path('%s.sfc' % outfilebase))