Added missing player byte from table
This commit is contained in:
parent
c8034dbb46
commit
00031687aa
2
Rom.py
2
Rom.py
|
@ -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_data = [shop_id, ItemFactory(item['item'], player).code] + int16_as_bytes(item['price']) + [
|
||||||
item['max'],
|
item['max'],
|
||||||
ItemFactory(item['replacement'], player).code if item['replacement'] else 0xFF] + int16_as_bytes(
|
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)
|
items_data.extend(item_data)
|
||||||
|
|
||||||
rom.write_bytes(0x184800, shop_data)
|
rom.write_bytes(0x184800, shop_data)
|
||||||
|
|
Loading…
Reference in New Issue