with (obj_darkcontroller) charcon = 0; global.msc = 0; global.typer = 5; if (global.darkzone == 1) global.typer = 6; global.fc = 0; global.fe = 0; global.interact = 1; image_index = 1; global.msg[0] = stringsetloc("* (It won't open.)/%", "obj_treasure_room_slash_Other_10_gml_14_0"); if (global.flag[itemflag] == 1) { global.msg[0] = stringsetloc("* (The chest is empty.)/%", "obj_treasure_room_slash_Other_10_gml_18_0"); } else { snd_play(snd_locker); var itemgetstring = scr_itemget_anytype_text(itemidchest, itemtype); msgsetsubloc(0, "* (You opened the treasure chest.^1)&* (Inside was \\cY~1\\cW.)/", itemname, "obj_treasure_room_slash_Other_10_gml_65_0"); msgnext(itemgetstring); if (noroom == 0) { with (obj_event_manager) trigger_event(UnknownEnum.Value_0, UnknownEnum.Value_23, UnknownEnum.Value_939); } if (noroom == 0) global.flag[itemflag] = 1; else close = 1; } if (room == room_dw_teevie_large_01) { with (obj_dw_teevie_cameras) cheer_flag = 0; } myinteract = 3; mydialoguer = instance_create(0, 0, obj_dialoguer); talked += 1; enum UnknownEnum { Value_0, Value_23 = 23, Value_939 = 939 }