Merge branch 'OverworldShuffle' of github.com:codemann8/ALttPDoorRandomizer into OverworldShuffle

This commit is contained in:
2022-11-16 14:59:36 -08:00
27 changed files with 1705 additions and 903 deletions

7
Rom.py
View File

@@ -38,7 +38,7 @@ from source.dungeon.RoomList import Room0127
JAP10HASH = '03a63945398191337e896e5771f77173'
RANDOMIZERBASEHASH = 'ac99aacc60ad8896c8885841753e44ac'
RANDOMIZERBASEHASH = '3e0f7deafc09b3fcfd40922a2abb1491'
class JsonRom(object):
@@ -929,9 +929,10 @@ def patch_rom(world, rom, player, team, enemized, is_mystery=False):
return region.is_light_world and not region.is_dark_world
# dark world spawns
sanc_region = world.get_region('Sanctuary', player)
sanc_name = 'Sanctuary' if world.mode[player] != 'inverted' else 'Dark Sanctuary Hint'
sanc_region = world.get_region(sanc_name, player)
if should_be_bunny(sanc_region, world.mode[player]):
rom.write_bytes(0x13fff2, [0x12, 0x00])
rom.write_bytes(0x13fff2, [0x12, 0x00 if sanc_name == 'Sanctuary' else 0x01])
lh_name = 'Links House' if not world.is_bombshop_start(player) else 'Big Bomb Shop'
links_house = world.get_region(lh_name, player)