From 9aeeeb077a9e894cd2ace51b58d537bcf7607d5b Mon Sep 17 00:00:00 2001 From: CaitSith2 Date: Mon, 1 Apr 2024 06:07:56 -0700 Subject: [PATCH] ALttP: Re-mark light/dark world regions after applying plando connections (#2964) --- worlds/alttp/EntranceShuffle.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/worlds/alttp/EntranceShuffle.py b/worlds/alttp/EntranceShuffle.py index fceba86a739e..988455ba3ce8 100644 --- a/worlds/alttp/EntranceShuffle.py +++ b/worlds/alttp/EntranceShuffle.py @@ -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): @@ -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)',