From 28b977d1b6f088f688ab6d3e510c0e700d919aad Mon Sep 17 00:00:00 2001 From: Fabian Dill Date: Sat, 4 Apr 2020 09:30:25 +0200 Subject: [PATCH] fix difficulty requirements lookup --- Rom.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Rom.py b/Rom.py index 8d257ee2..6946911b 100644 --- a/Rom.py +++ b/Rom.py @@ -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!'