From ec865e67e645eb24ce7490461630066321085da5 Mon Sep 17 00:00:00 2001 From: cassidoxa Date: Wed, 11 Sep 2019 12:25:46 -0400 Subject: [PATCH] Fix inverted retro take anys Removed 'Dark Sanctuary Hint' from take any pool if mode is inverted --- ItemList.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/ItemList.py b/ItemList.py index 6dac7a01..27eb4568 100644 --- a/ItemList.py +++ b/ItemList.py @@ -233,6 +233,9 @@ take_any_locations = [ 'Dark Lake Hylia Ledge Spike Cave', 'Fortune Teller (Dark)', 'Dark Sanctuary Hint', 'Dark Desert Hint'] def set_up_take_anys(world, player): + if world.mode == 'inverted' and 'Dark Sanctuary Hint' in take_any_locations: + take_any_locations.remove('Dark Sanctuary Hint') + regions = random.sample(take_any_locations, 5) old_man_take_any = Region("Old Man Sword Cave", RegionType.Cave, 'the sword cave', player)