From 64d1722acd687be3903ced1a0c79fd67c1c66cdb Mon Sep 17 00:00:00 2001 From: N00byKing Date: Mon, 7 Aug 2023 13:37:53 +0200 Subject: [PATCH] sm64ex: Fix possible inaccessible region --- worlds/sm64ex/Rules.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/worlds/sm64ex/Rules.py b/worlds/sm64ex/Rules.py index 2397f2c807..7c50ba4708 100644 --- a/worlds/sm64ex/Rules.py +++ b/worlds/sm64ex/Rules.py @@ -30,6 +30,8 @@ def set_rules(world, player: int, area_connections): fix_reg(entrance_ids, 20, 5, swaplist, world) # Guarantee BITFS is not mapped to DDD fix_reg(entrance_ids, 22, 8, swaplist, world) + if entrance_ids.index(22) == 5: # If BITFS is mapped to HMC... + fix_reg(entrance_ids, 20, 8, swaplist, world) # ... then dont allow COTMC to be mapped to DDD temp_assign = dict(zip(entrance_ids,destination_regions)) # Used for Rules only # Destination Format: LVL | AREA with LVL = LEVEL_x, AREA = Area as used in sm64 code