Fixing some incorrect AT/GT swap things

This commit is contained in:
codemann8
2022-03-28 03:05:58 -05:00
parent 908ae254bb
commit 1eae786c43
2 changed files with 2 additions and 2 deletions

View File

@@ -913,7 +913,7 @@ def enable_new_entrances(region, connections, potentials, enabled, world, player
def inverted_aga_check(entrances_map, connections, potentials, enabled, world, player): def inverted_aga_check(entrances_map, connections, potentials, enabled, world, player):
if world.mode[player] == 'inverted': if world.is_atgt_swapped(player):
if 'Agahnims Tower' in entrances_map.keys() or aga_tower_enabled(enabled): if 'Agahnims Tower' in entrances_map.keys() or aga_tower_enabled(enabled):
for region in list(potentials.keys()): for region in list(potentials.keys()):
if region.name == 'Hyrule Castle Ledge': if region.name == 'Hyrule Castle Ledge':

View File

@@ -202,7 +202,7 @@ def district_item_pool_config(world):
scale_factors = defaultdict(int) scale_factors = defaultdict(int)
scale_total = 0 scale_total = 0
for p in range(1, world.players + 1): for p in range(1, world.players + 1):
ent = 'Agahnims Tower' if world.is_tile_swapped(0x1b, player) and world.is_tile_swapped(0x1b, player) else 'Ganons Tower' ent = 'Agahnims Tower' if world.is_atgt_swapped(player) else 'Ganons Tower'
dungeon = world.get_entrance(ent, p).connected_region.dungeon dungeon = world.get_entrance(ent, p).connected_region.dungeon
if dungeon: if dungeon:
scale = world.crystals_needed_for_gt[p] scale = world.crystals_needed_for_gt[p]