fix: price in shops bug
This commit is contained in:
@@ -3,3 +3,4 @@
|
||||
* 1.4.10
|
||||
* Logic: Changed the rule surrounding the Bumper Cave Ledge Drop (the murderdactyl) to only require Pearl and (Cape or Byrna or a Sword) in OHKO mode for now. This is a temporary solution until a better way to prevent needing to use a framerule to get by the bird is invented.
|
||||
* Helmacopter Fix
|
||||
* Fixed a bug in shopsanity that would cause the generation to fail with certain prices.
|
||||
|
||||
2
Rom.py
2
Rom.py
@@ -1500,7 +1500,7 @@ def write_custom_shops(rom, world, player):
|
||||
item_id, price, replace, replace_price, item_max = Items.item_table['Bee Trap'][3], [0, 0], 0xFF, [0, 0], 1
|
||||
else:
|
||||
item_id = loc_item.code
|
||||
price = int16_as_bytes(item['price'])
|
||||
price = int16_as_bytes(int(item['price']))
|
||||
replace = ItemFactory(item['replacement'], player).code if item['replacement'] else 0xFF
|
||||
replace_price = int16_as_bytes(item['replacement_price'])
|
||||
item_max = item['max']
|
||||
|
||||
Reference in New Issue
Block a user