Fixed issue where S&Q points getting set before Mixed OWR

This commit is contained in:
codemann8
2023-02-25 20:16:27 -06:00
parent 4caee1cbec
commit c284b90f74
2 changed files with 16 additions and 17 deletions

View File

@@ -1402,8 +1402,7 @@ def place_blacksmith(world, links_house, player):
invFlag = world.mode[player] == 'inverted'
assumed_inventory = list()
region = world.get_region('Frog Prison', player)
if world.logic[player] in ['noglitches', 'minorglitches'] and region.type == (RegionType.DarkWorld if not invFlag else RegionType.LightWorld):
if world.logic[player] in ['noglitches', 'minorglitches'] and (world.is_tile_swapped(0x29, player) == invFlag):
assumed_inventory.append('Titans Mitts')
links_region = world.get_entrance(links_house, player).parent_region.name