Added Shop ID constant and forfeit values

This commit is contained in:
pepperpow
2021-01-10 05:11:45 -06:00
parent 6d28978480
commit 4250004f11
4 changed files with 6 additions and 4 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: