Skip to content

Commit

Permalink
ALttP: Re-mark light/dark world regions after applying plando connect…
Browse files Browse the repository at this point in the history
  • Loading branch information
CaitSith2 authored Apr 1, 2024
1 parent 3545838 commit 9aeeeb0
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions worlds/alttp/EntranceShuffle.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@

from .OverworldGlitchRules import overworld_glitch_connections
from .UnderworldGlitchRules import underworld_glitch_connections
from .Regions import mark_light_world_regions
from .InvertedRegions import mark_dark_world_regions


def link_entrances(world, player):
Expand Down Expand Up @@ -1827,6 +1829,10 @@ def plando_connect(world, player: int):
func(world, connection.entrance, connection.exit, player)
except Exception as e:
raise Exception(f"Could not connect using {connection}") from e
if world.mode[player] != 'inverted':
mark_light_world_regions(world, player)
else:
mark_dark_world_regions(world, player)


LW_Dungeon_Entrances = ['Desert Palace Entrance (South)',
Expand Down

0 comments on commit 9aeeeb0

Please sign in to comment.