Update item counter for mystery

Fixed bug with door restart
Made retro keys more lenient with door shuffle
This commit is contained in:
aerinon
2021-02-13 20:58:59 -07:00
parent 352592bd00
commit 3b8773ea33
6 changed files with 34 additions and 8 deletions

View File

@@ -35,7 +35,7 @@ def link_doors(world, player):
door.dest = None
door.entranceFlag = False
ent = door.entrance
if door.type != DoorType.Logical and ent.connected_region is not None:
if (door.type != DoorType.Logical or door.controller) and ent.connected_region is not None:
ent.connected_region.entrances = [x for x in ent.connected_region.entrances if x != ent]
ent.connected_region = None
for portal in world.dungeon_portals[player]:
@@ -2012,6 +2012,7 @@ class DROptions(Flag):
OriginalPalettes = 0x20
Open_PoD_Wall = 0x40 # If on, pre opens the PoD wall, no bow required
Open_Desert_Wall = 0x80 # If on, pre opens the desert wall, no fire required
Hide_Total = 0x100
# DATA GOES DOWN HERE