From 2e972d876fcc03fb5ee4b34c20804980d6c626e8 Mon Sep 17 00:00:00 2001 From: magical Date: Wed, 7 Feb 2024 22:42:02 -0800 Subject: [PATCH] fix the order of this get_path call this is the first half of an item check, where we're trying to figure out whether samus get from her initial location to the item. (the second half, where we want to figure out if she can get back, is below) i'm not sure why these two items are singled out to get a full search (no LimitArea). well - Item S0-05-16 makes sense since that's the quarantine area item and you have to go through sector 6 to get to it - but why the main deck data room? --- Randomizer.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Randomizer.py b/Randomizer.py index a714920..39dcdad 100644 --- a/Randomizer.py +++ b/Randomizer.py @@ -2249,7 +2249,7 @@ def randomize_game(graph): if location not in UsedLocations: if location not in AccessibleLocations: if location == 'Data S0' or location == 'Item S0-05-16': - path = graph.get_path(location, StartLocation, depth=250) + path = graph.get_path(StartLocation, location, depth=250) else: for area in range(0, 7): if location in AreaItemLocations[area]: