Added missing player byte from table

This commit is contained in:
pepperpow 2020-11-23 20:17:03 -06:00 committed by Edos512
parent c8034dbb46
commit 00031687aa
1 changed files with 1 additions and 1 deletions

2
Rom.py
View File

@ -1516,7 +1516,7 @@ def write_custom_shops(rom, world, player):
item_data = [shop_id, ItemFactory(item['item'], player).code] + int16_as_bytes(item['price']) + [
item['max'],
ItemFactory(item['replacement'], player).code if item['replacement'] else 0xFF] + int16_as_bytes(
item['replacement_price'])
item['replacement_price']) + [item['player']]
items_data.extend(item_data)
rom.write_bytes(0x184800, shop_data)