Fix inverted triforce hunt

This commit is contained in:
Kevin Cathcart 2019-08-28 21:38:08 -04:00
parent 0a759f18d6
commit 80217b269e
1 changed files with 4 additions and 1 deletions

View File

@ -138,6 +138,9 @@ def generate_itempool(world, player):
world.push_item(world.get_location('Ganon', player), ItemFactory('Triforce', player), False)
if world.goal in ['triforcehunt']:
if world.mode == 'inverted':
region = world.get_region('Light World',player)
else:
region = world.get_region('Hyrule Castle Courtyard', player)
loc = Location(player, "Murahdahla", parent=region)