From 1066063ffefc6ee89f18aa2dba69b691d5c68a6c Mon Sep 17 00:00:00 2001 From: LLCoolDave Date: Sun, 25 Jun 2017 00:33:39 +0200 Subject: [PATCH] Fix duplicate entry of Agahnims Tower in insanity shuffle. --- EntranceShuffle.py | 2 +- Rom.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/EntranceShuffle.py b/EntranceShuffle.py index 814b6135..dbd0fe6e 100644 --- a/EntranceShuffle.py +++ b/EntranceShuffle.py @@ -512,7 +512,7 @@ def link_entrances(world): old_man_entrances = list(Old_Man_Entrances) caves = Cave_Exits + Dungeon_Exits + Cave_Three_Exits + ['Old Man House Exit (Bottom)', 'Old Man House Exit (Top)', 'Skull Woods First Section Exit', 'Skull Woods Second Section Exit (East)', 'Skull Woods Second Section Exit (West)', - 'Kakariko Well Exit', 'Bat Cave Exit', 'North Fairy Cave Exit', 'Thieves Forest Hideout Exit', 'Lumberjack Tree Exit', 'Sanctuary Exit', 'Agahnims Tower Exit'] + 'Kakariko Well Exit', 'Bat Cave Exit', 'North Fairy Cave Exit', 'Thieves Forest Hideout Exit', 'Lumberjack Tree Exit', 'Sanctuary Exit'] # shuffle up holes diff --git a/Rom.py b/Rom.py index 1b81e6b3..edc77443 100644 --- a/Rom.py +++ b/Rom.py @@ -305,7 +305,7 @@ def patch_rom(world, rom, hashtable, quickswap=False, beep='normal', sprite=None # set rom name # 21 bytes - write_bytes(rom, 0x7FC0, bytearray('ER_040_%09d_' % world.seed, 'utf8') + world.option_identifier.to_bytes(4, 'big')) + write_bytes(rom, 0x7FC0, bytearray('ER_041_%09d_' % world.seed, 'utf8') + world.option_identifier.to_bytes(4, 'big')) # set heart beep rate write_byte(rom, 0x180033, {'off': 0x00, 'half': 0x40, 'quarter': 0x80, 'normal': 0x20}[beep])