diff --git a/worlds/gl/Rom.py b/worlds/gl/Rom.py index d276dc1228ef..e28821a312b1 100644 --- a/worlds/gl/Rom.py +++ b/worlds/gl/Rom.py @@ -181,9 +181,11 @@ def patch_items(caller: APProcedurePatch, rom: bytes): data.chests_replaced_by_items += 1 else: if chest_barrel(location_name): - data.chests[j - (len(data.items) + data.items_replaced_by_obelisks + data.chests_replaced_by_obelisks)][12:13] = item_dict[item[0]] + data.chests[j - (len(data.items) + data.items_replaced_by_obelisks + data.chests_replaced_by_obelisks)][12:14] = item_dict[item[0]] + if "Chest" in location_name: + data.chests[j - (len(data.items) + data.items_replaced_by_obelisks + data.chests_replaced_by_obelisks)][9] = 0x2 else: - data.items[j - data.items_replaced_by_obelisks][6:7] = item_dict[item[0]] + data.items[j - data.items_replaced_by_obelisks][6:8] = item_dict[item[0]] uncompressed = level_data_reformat(data) compressed = zenc(uncompressed) stream.seek(level_header[i] + 4, 0)