Fix shop items having inconsistent save context information, causing shops to not be sent correctly if fewer than 4 items in any shop
This commit is contained in:
parent
45266caa8d
commit
2d27665369
|
@ -2125,6 +2125,7 @@ def place_shop_items(rom, world, shop_items, messages, locations, init_shop_id=F
|
|||
update_message_by_id(messages, shop_item.description_message, description_text, 0x03)
|
||||
update_message_by_id(messages, shop_item.purchase_message, purchase_text, 0x03)
|
||||
|
||||
if any(filter(lambda c: c in location.name, {'5', '6', '7', '8'})):
|
||||
world.current_shop_id += 1
|
||||
|
||||
return shop_objs
|
||||
|
|
Loading…
Reference in New Issue