From 86933d81501157474fa9e1b17e5caa0bd0098b33 Mon Sep 17 00:00:00 2001 From: Fabian Dill Date: Wed, 11 May 2022 05:41:44 +0200 Subject: [PATCH] LttP: ensure non-native items are rendered as star in Shops (#486) * LttP: ensure non-native items are rendered as star in Shops * LttP: ensure non-native items are rendered as star in Shops - fix missing player number lookup --- worlds/alttp/Rom.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/worlds/alttp/Rom.py b/worlds/alttp/Rom.py index a2ee8481..f6b3768d 100644 --- a/worlds/alttp/Rom.py +++ b/worlds/alttp/Rom.py @@ -1723,7 +1723,7 @@ def write_custom_shops(rom, world, player): price_data = get_price_data(item['price'], item["price_type"]) replacement_price_data = get_price_data(item['replacement_price'], item['replacement_price_type']) slot = 0 if shop.type == ShopType.TakeAny else index - if not item['item'] in item_table: # item not native to ALTTP + if item['player'] and world.game[item['player']] != "A Link to the Past": # item not native to ALTTP item_code = get_nonnative_item_sprite(item['item']) else: item_code = ItemFactory(item['item'], player).code