Changed GT/AT swap in Mixed OW to prioritize leaving AT vanilla unless GT is the only one in the starting world

This commit is contained in:
codemann8
2022-02-02 19:53:15 -06:00
parent ee215dbfa7
commit e9fd006d2b
2 changed files with 13 additions and 10 deletions

View File

@@ -90,11 +90,11 @@ def link_entrances(world, player):
for entrancename, exitname in default_skulldrop_connections:
connect_logical(world, entrancename, exitname, player, False)
if not invFlag:
for entrancename, exitname in open_default_dungeon_connections:
if (0x03 in world.owswaps[player][0]) == (0x1b in world.owswaps[player][0]) and (0x03 not in world.owswaps[player][0]) == invFlag:
for entrancename, exitname in inverted_default_dungeon_connections:
connect_logical(world, entrancename, exitname, player, True)
else:
for entrancename, exitname in inverted_default_dungeon_connections:
for entrancename, exitname in open_default_dungeon_connections:
connect_logical(world, entrancename, exitname, player, True)
elif world.shuffle[player] == 'dungeonssimple':
suppress_spoiler = False