diff --git a/setup.cfg b/setup.cfg index 0adeee3..04229f5 100644 --- a/setup.cfg +++ b/setup.cfg @@ -1,6 +1,6 @@ [metadata] name = SuperDuperMetroid -version = 1.2.0 +version = 2.0.0 author = Samuel Roy description = A Super Metroid patching utility long_description = file: README.md diff --git a/src/SuperDuperMetroid/ROM_Patcher.py b/src/SuperDuperMetroid/ROM_Patcher.py index 1734e74..9309e6e 100644 --- a/src/SuperDuperMetroid/ROM_Patcher.py +++ b/src/SuperDuperMetroid/ROM_Patcher.py @@ -296,9 +296,9 @@ def __init__(self, item_name, gfx_offset, palette_bytes=None): class PickupPlacementData: def __init__( self, - quantity_given = 0, - pickup_index = -1, - item_name = "No Item", + quantity_given=0, + pickup_index=-1, + item_name="No Item", pickup_effect="No Effect", native_graphics=True, owner_name=None, @@ -1225,9 +1225,9 @@ def patch_rom_json(rom_file_path, json_string): if "skip_intro" in patch_list: patch_list.remove("skip_intro") keyword_arguments["skip_intro"] = True - + keyword_arguments["static_patches"] = patch_list - + patch_rom(rom_file_path, item_list, None, None, **keyword_arguments)