OoT: add ROM flag for death_link

This commit is contained in:
espeon65536 2021-11-07 15:57:00 -06:00 committed by Fabian Dill
parent c0d3f140f3
commit 60697cc8ba
2 changed files with 4 additions and 0 deletions

View File

@ -1325,6 +1325,9 @@ def patch_rom(world, rom):
rom.write_byte(rom.sym('PLAYER_ID'), min(world.player, 255)) # Write player ID
rom.write_bytes(rom.sym('AP_PLAYER_NAME'), bytearray(world.world.get_player_name(world.player), 'ascii'))
if world.death_link:
rom.write_byte(rom.sym('DEATH_LINK'), 0x01)
# Revert Song Get Override Injection
if not songs_as_items:
# general get song

View File

@ -44,6 +44,7 @@
"COSMETIC_CONTEXT": "03480844",
"COSMETIC_FORMAT_VERSION": "03480844",
"CURRENT_GROTTO_ID": "03482E82",
"DEATH_LINK": "0348002A",
"DEBUG_OFFSET": "034828A0",
"DISABLE_TIMERS": "03480CDC",
"DPAD_TEXTURE": "0348D750",