Disallow hint to be in the attic

This commit is contained in:
Michael Fleischer
2020-02-04 22:07:55 +01:00
committed by GitHub
parent a3682262e1
commit 4cd63196f9

5
Rom.py
View File

@@ -1740,7 +1740,10 @@ def write_strings(rom, world, player, team):
if world.doorShuffle[player] in ['crossed']:
attic_hint = world.get_location("Thieves' Town - Attic", player).parent_region.dungeon.name
this_hint = 'A cracked floor can be found in ' + attic_hint + '.'
tt[hint_locations.pop(0)] = this_hint
if hint_locations[0] == 'telepathic_tile_turtle_rock':
tt[hint_locations.pop(1)] = this_hint
else:
tt[hint_locations.pop(0)] = this_hint
# All remaining hint slots are filled with junk hints. It is done this way to ensure the same junk hint isn't selected twice.
junk_hints = junk_texts.copy()