Merge branch 'multishop-all' into multishop

This commit is contained in:
CaitSith2
2021-01-10 05:38:54 -08:00
4 changed files with 16 additions and 6 deletions

View File

@@ -1154,7 +1154,7 @@ async def track_locations(ctx : Context, roomid, roomdata):
if roomid in location_shop_ids:
misc_data = await snes_read(ctx, SHOP_ADDR, len(location_shop_order)*3)
for cnt, b in enumerate(misc_data):
my_check = Regions.shop_table_by_location_id[0x400000 + cnt]
my_check = Regions.shop_table_by_location_id[Regions.SHOP_ID_START + cnt]
if int(b) > 0 and my_check not in ctx.locations_checked:
new_check(my_check)
except Exception as e: