Experimental: Disable open door sprite overlays when exiting caves, which get totally misplaced with shuffled caves.

This commit is contained in:
LLCoolDave 2017-05-22 23:21:37 +02:00
parent 32b9606535
commit 4e6484dd1d
1 changed files with 4 additions and 0 deletions

View File

@ -484,6 +484,10 @@ def patch_rom(world, rom):
write_string_to_rom(rom, 'Ganon1', '\n\n\n\n\n\n\n\n\nWhy are you reading an empty textbox?')
write_string_to_rom(rom, 'TavernMan', 'Did you know that talking to random NPCs wastes time in a race? I hope this information may be of use to you in the future.')
# disable open door sprites when exiting caves
for i in range(0x85):
write_byte(rom, 0x15274 + i, 0x00)
altaritem = world.get_location('Altar').item.name if world.get_location('Altar').item is not None else 'Nothing'
write_string_to_rom(rom, 'Altar', altar_text.get(altaritem, 'Unknown Item.'))