image_blend = c_white; image_alpha = 1; draw_self(); var lx = notesloc.x; var ly = notesloc.y; var darkcol = 6970203; var midcol = 14583173; draw_sprite_ext(spr_dw_castle_church_pianoui_arrow, 0, lx, ly, 2, 2, 0, c_white, 1); var dist = scr_progress(distance_to_object_bbox(prev, 1198), 40, 80, 0, 1); var col = merge_color(c_white, darkcol, clamp(dist, 0, 1)); draw_sprite_ext(spr_arrow_5x7, 0, lx + 8 + 4, (ly + 24) - 2, 2, 2, 0, col, 1); draw_sprite_ext(spr_dw_castle_church_pianoui_arrow, 0, lx + 306, ly, -2, 2, 0, c_white, 1); dist = scr_progress(distance_to_object_bbox(next, 1198), 40, 80, 0, 1); col = merge_color(c_white, darkcol, clamp(dist, 0, 1)); draw_sprite_ext(spr_arrow_5x7, 0, (lx + 306) - 8 - 4, (ly + 24) - 2, -2, 2, 0, col, 1); var xsp = 30; for (var i = 0; i < 5; i++) { draw_sprite_ext(spr_dw_castle_church_pianoui_box, 0, lx + xsp + (50 * i) + 2, ly + 2, 2, 2, 0, c_black, 0.25); draw_sprite_ext(spr_dw_castle_church_pianoui_box, 0, lx + xsp + (50 * i), ly, 2, 2, 0, c_white, 1); var thisloc = getInd(index + i); col = merge_color(darkcol, midcol, scr_progress(distance_to_object_bbox(selint[i], 1198), 40, 20, 0, 1)); if (mysnd == selectors[getInd(index + i)].snd) col = 16777215; draw_sprite_ext(selectors[thisloc].spr, 0, lx + xsp + (50 * i) + 8, ly + 8, 2, 2, 0, col, 1); }