OoT Adjuster: patch death_link flag
This commit is contained in:
parent
b07345cee7
commit
d8dedbe7fa
|
@ -223,6 +223,7 @@ def adjust(args):
|
||||||
raise Exception("Invalid file extension; requires .n64, .z64, .apz5")
|
raise Exception("Invalid file extension; requires .n64, .z64, .apz5")
|
||||||
# Call patch_cosmetics
|
# Call patch_cosmetics
|
||||||
patch_cosmetics(ootworld, rom)
|
patch_cosmetics(ootworld, rom)
|
||||||
|
rom.write_byte(rom.sym('DEATH_LINK'), args.deathlink)
|
||||||
# Output new file
|
# Output new file
|
||||||
path_pieces = os.path.splitext(args.rom)
|
path_pieces = os.path.splitext(args.rom)
|
||||||
decomp_path = path_pieces[0] + '-adjusted.n64'
|
decomp_path = path_pieces[0] + '-adjusted.n64'
|
||||||
|
|
Loading…
Reference in New Issue