From f9f79164042b7ef9cc93a9fef04fca32d1b6b9f6 Mon Sep 17 00:00:00 2001 From: Fabian Dill Date: Sat, 4 Apr 2020 09:32:51 +0200 Subject: [PATCH] fix swords lookup --- Rom.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Rom.py b/Rom.py index 6946911b..2457f3a1 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[player].progressive_bow_limit >= 2 or world.swords == 'swordless' + progressive_silvers = world.difficulty_requirements[player].progressive_bow_limit >= 2 or world.swords[player] == '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!'