mirror of
https://github.com/MarioSpore/Grinch-AP.git
synced 2025-10-21 20:21:32 -06:00
Use EasyModeEscape flag of upcoming Enemizer
This commit is contained in:
5
Patch.py
5
Patch.py
@@ -21,6 +21,7 @@ def get_base_rom_path(file_name: str = "") -> str:
|
||||
file_name = Utils.local_path(file_name)
|
||||
return file_name
|
||||
|
||||
|
||||
def get_base_rom_bytes(file_name: str = "") -> bytes:
|
||||
base_rom_bytes = getattr(get_base_rom_bytes, "base_rom_bytes", None)
|
||||
if not base_rom_bytes:
|
||||
@@ -38,7 +39,9 @@ def get_base_rom_bytes(file_name: str = "") -> bytes:
|
||||
|
||||
def generate_yaml(patch: bytes, metadata: Optional[dict] = None) -> bytes:
|
||||
patch = yaml.dump({"meta": metadata,
|
||||
"patch": patch})
|
||||
"patch": patch,
|
||||
"game": "alttp",
|
||||
"base_checksum": JAP10HASH})
|
||||
return patch.encode(encoding="utf-8-sig")
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user