OoT Adjuster: patch death_link flag

This commit is contained in:
espeon65536 2021-11-15 08:45:30 -06:00
parent b07345cee7
commit d8dedbe7fa
1 changed files with 1 additions and 0 deletions

View File

@ -223,6 +223,7 @@ def adjust(args):
raise Exception("Invalid file extension; requires .n64, .z64, .apz5")
# Call patch_cosmetics
patch_cosmetics(ootworld, rom)
rom.write_byte(rom.sym('DEATH_LINK'), args.deathlink)
# Output new file
path_pieces = os.path.splitext(args.rom)
decomp_path = path_pieces[0] + '-adjusted.n64'