make owg entrances in inverted

This commit is contained in:
espeon65536 2021-08-31 19:49:12 -05:00 committed by Fabian Dill
parent 17929415ee
commit fb0f70b3e3
1 changed files with 5 additions and 3 deletions

View File

@ -1774,9 +1774,11 @@ def link_inverted_entrances(world, player):
else:
raise NotImplementedError('Shuffling not supported yet')
# mandatory hybrid major glitches connections
if world.logic[player] in ['hybridglitches', 'nologic']:
underworld_glitch_connections(world, player)
if world.logic[player] in ['owglitches', 'hybridglitches', 'nologic']:
overworld_glitch_connections(world, player)
# mandatory hybrid major glitches connections
if world.logic[player] in ['hybridglitches', 'nologic']:
underworld_glitch_connections(world, player)
# patch swamp drain
if world.get_entrance('Dam', player).connected_region.name != 'Dam' or world.get_entrance('Swamp Palace', player).connected_region.name != 'Swamp Palace (Entrance)':