fix difficulty requirements lookup

This commit is contained in:
Fabian Dill 2020-04-04 09:30:25 +02:00
parent 42f98da399
commit 28b977d1b6
1 changed files with 1 additions and 1 deletions

2
Rom.py
View File

@ -1738,7 +1738,7 @@ def write_strings(rom, world, player, team):
prog_bow_locs = world.find_items('Progressive Bow', player)
distinguished_prog_bow_loc = next((location for location in prog_bow_locs if location.item.code == 0x65), None)
progressive_silvers = world.difficulty_requirements.progressive_bow_limit >= 2 or world.swords == 'swordless'
progressive_silvers = world.difficulty_requirements[player].progressive_bow_limit >= 2 or world.swords == 'swordless'
if distinguished_prog_bow_loc:
prog_bow_locs.remove(distinguished_prog_bow_loc)
silverarrow_hint = (' %s?' % hint_text(distinguished_prog_bow_loc).replace('Ganon\'s', 'my')) if progressive_silvers else '?\nI think not!'