Fixed Pyramid Exit inaccessible issue in District ER

This commit is contained in:
codemann8
2024-03-17 04:13:55 -05:00
parent 929bcb3de4
commit dd75273b83
2 changed files with 2 additions and 2 deletions

View File

@@ -1511,7 +1511,7 @@ def connect_inaccessible_regions(world, lw_entrances, dw_entrances, caves, playe
}
for region_name in world.inaccessible_regions[player]:
if (world.logic[player] in ['noglitches', 'minorglitches'] and region_name in glitch_regions) \
or (region_name == 'Pyramid Exit Ledge' and (world.shuffle[player] != 'insanity' or world.is_tile_swapped(0x1b, player))) \
or (region_name == 'Pyramid Exit Ledge' and (world.shuffle[player] not in ['district', 'insanity'] or world.is_tile_swapped(0x1b, player))) \
or (region_name == 'Spiral Mimic Ledge Extend' and not world.is_tile_swapped(0x05, player)):
# removing irrelevant and resolved regions
inaccessible_regions.remove(region_name)

View File

@@ -910,7 +910,7 @@ def must_exits_helper(avail):
}
for region_name in avail.world.inaccessible_regions[avail.player]:
if (avail.world.logic[avail.player] in ['noglitches', 'minorglitches'] and region_name in glitch_regions) \
or (region_name == 'Pyramid Exit Ledge' and (avail.world.shuffle[avail.player] != 'insanity' or avail.world.is_tile_swapped(0x1b, avail.player))) \
or (region_name == 'Pyramid Exit Ledge' and (avail.keep_drops_together or avail.world.is_tile_swapped(0x1b, avail.player))) \
or (region_name == 'Spiral Mimic Ledge Extend' and not avail.world.is_tile_swapped(0x05, avail.player)):
# removing irrelevant and resolved regions
inaccessible_regions.remove(region_name)