siner = 0; var loc = findspriteinfo(spr_debug_cameraregionpreview, "PianoMarkers"); notes = instance_create(loc.x, loc.y, obj_dw_church_organ_notes); notes.depth = 500; myint[0] = instance_create(x, y, obj_trigger_interact); var ints = findspriteinfo_all(7188, "ASSETS", 3355443); for (var i = 0; i < array_length(ints); i++) { myint[i].x = ints[i].x; myint[i].y = ints[i].y; scr_sizeexact(ints[i].sprite_width, ints[i].sprite_height, myint[i]); } notesloc = findspriteinfo(spr_dw_castle_church_pianoui_arrow, "PianoMarkers", #FFF656); engaged = false; con = 0; customcon = 0; buffer = 0; soundtoplay = 0; baselight = 0.25; arrowsalpha = baselight; playindex = -1; timer = 0; solved = 0; endtimer = 0; endtime = 15; makenote = false; masteralpha = 0; set_party = false; kris_play = false; if (!instance_exists(obj_tutorial_text)) instance_create(x, y, obj_tutorial_text); solved = 1; depth = 900700; endlessplaylog = ""; kris = { inst: stringsetloc("Piano", "obj_dw_church_organ_slash_Create_0_gml_55_0"), snd: 156, spr: 660, unlocked: true }; susie = { inst: stringsetloc("Rock Guitar", "obj_dw_church_organ_slash_Create_0_gml_56_0"), snd: 157, spr: 6860, unlocked: true }; ralsei = { inst: stringsetloc("Choir", "obj_dw_church_organ_slash_Create_0_gml_57_0"), snd: 127, spr: 1751, unlocked: true }; noelle = { inst: stringsetloc("Music Box", "obj_dw_church_organ_slash_Create_0_gml_58_0"), snd: 229, spr: 3628, unlocked: true }; diamond = { inst: stringsetloc("Violin", "obj_dw_church_organ_slash_Create_0_gml_59_0"), snd: 706, spr: 5474, unlocked: true }; heart = { inst: stringsetloc("Bass", "obj_dw_church_organ_slash_Create_0_gml_60_0"), snd: 748, spr: 3396, unlocked: true }; clover = { inst: stringsetloc("Acoustic Guitar", "obj_dw_church_organ_slash_Create_0_gml_61_0"), snd: 206, spr: 8246, unlocked: true }; rabbit = { inst: stringsetloc("Sine Whistle", "obj_dw_church_organ_slash_Create_0_gml_62_0"), snd: 700, spr: 209, unlocked: true }; spade = { inst: stringsetloc("Splat", "obj_dw_church_organ_slash_Create_0_gml_63_0"), snd: 289, spr: 2952, unlocked: true }; pawn = { inst: stringsetloc("Snare", "obj_dw_church_organ_slash_Create_0_gml_65_0"), snd: 721, spr: 6934, unlocked: true }; boxingglove = { inst: stringsetloc("Bass Drum", "obj_dw_church_organ_slash_Create_0_gml_66_0"), snd: 8, spr: 8379, unlocked: true }; puzzle = { inst: stringsetloc("Hi Hat", "obj_dw_church_organ_slash_Create_0_gml_67_0"), snd: 259, spr: 2000, unlocked: true }; sweet = { inst: stringsetloc("Square Wave", "obj_dw_church_organ_slash_Create_0_gml_68_0"), snd: 120, spr: 7613, unlocked: true }; capn = { inst: stringsetloc("Saw Wave", "obj_dw_church_organ_slash_Create_0_gml_69_0"), snd: 65, spr: 6138, unlocked: true }; k_k = { inst: stringsetloc("Noise Wave", "obj_dw_church_organ_slash_Create_0_gml_70_0"), snd: 133, spr: 5601, unlocked: true }; whip = { inst: stringsetloc("Tamborine", "obj_dw_church_organ_slash_Create_0_gml_71_0"), snd: 439, spr: 5740, unlocked: scr_enemyrecruitcheck("man") }; cat = { inst: stringsetloc("Synthetic Meow", "obj_dw_church_organ_slash_Create_0_gml_72_0"), snd: 93, spr: 7766, unlocked: scr_enemyrecruitcheck("tas") }; cheese = { inst: stringsetloc("Bongo", "obj_dw_church_organ_slash_Create_0_gml_73_0"), snd: 141, spr: 6131, unlocked: scr_enemyrecruitcheck("mau") }; virus = { inst: stringsetloc("Pulse Wave", "obj_dw_church_organ_slash_Create_0_gml_74_0"), snd: 652, spr: 4200, unlocked: scr_enemyrecruitcheck("vir") }; ihealth = { inst: stringsetloc("Triangle Wave", "obj_dw_church_organ_slash_Create_0_gml_75_0"), snd: 609, spr: 1902, unlocked: scr_enemyrecruitcheck("amb") }; platter = { inst: stringsetloc("Crash Cymbal", "obj_dw_church_organ_slash_Create_0_gml_76_0"), snd: 625, spr: 7314, unlocked: scr_enemyrecruitcheck("swa") }; plug = { inst: stringsetloc("FM Bass", "obj_dw_church_organ_slash_Create_0_gml_77_0"), snd: 195, spr: 5540, unlocked: true }; dolphin = { inst: stringsetloc("Steel Drum", "obj_dw_church_organ_slash_Create_0_gml_78_0"), snd: 264, spr: 1685, unlocked: scr_enemyrecruitcheck("pop") }; var allinsts = [kris, susie, ralsei, noelle, diamond, heart, clover, rabbit, spade, pawn, boxingglove, puzzle, sweet, capn, k_k, whip, cat, cheese, virus, ihealth, platter, plug, dolphin]; selectors = []; index = 0; trueindex = 0; for (var i = 0; i < array_length(allinsts); i++) { allinsts[i].cut = false; if (allinsts[i].unlocked) array_push(selectors, allinsts[i]); } instcount = array_length(selectors); mysnd = selectors[index].snd; show_debug_message_concat(instcount); getInd = function(arg0) { return scr_wrap(arg0, 0, instcount - 1); }; selint = []; for (var i = 0; i < 5; i++) { with (instance_create(notesloc.x + 34 + (50 * i), notesloc.y + 81, obj_trigger_interact)) { scr_sizeexact(38, 8); array_push(other.selint, id); } } prev = -4; prev = instance_create(notesloc.x + 5, notesloc.y + 74, obj_trigger_interact); next = -4; next = instance_create(notesloc.x + 285, notesloc.y + 74, obj_trigger_interact); susie.cut = true; ralsei.cut = true; spade.cut = true; sweet.cut = true; plug.cut = true;