plot_check_on = true; plot_flag = 1455; plot_post = 10; con = -1; timer = 0; init = 0; wind_on = false; windtimer = 0; turnofflayers("CUTSCENE"); if (scr_debug()) scr_setparty(1, 1); wind_sound = snd_loop(snd_strongwind_loop); snd_volume(wind_sound, 0, 0); if (plot_check_on == false || scr_flag_get(plot_flag) < plot_post) { con = 0; wind_effect = instance_create_depth(0, 0, -500, obj_leafpetals); wind_effect.wind_direction = 180; wind_effect.image_alpha = 0; wind_effect.wind_speed = 90; } else { con = 999; } doc_pos = findspriteinfo(spr_document_partB, "CUTSCENE_ASSETS", c_white); doc_pos_end = findspriteinfo(spr_document_partB, "CUTSCENE_ASSETS", c_red); var _angle = 30; for (var i = 0; i < 4; i++) { var _pos = (con == 0) ? doc_pos : doc_pos_end; document_markers[i] = scr_makemarker_fromstruct(_pos, true); document_markers[i].image_blend = c_white; document_markers[i].depth = 1100000; if (i > 0) { var _boost = 0; if (i > 3) { _boost = 20; _angle -= 60; } with (document_markers[i]) { offx = floor(lengthdir_x(20 + _boost, _angle)); offx += (offx % 2); offy = floor(lengthdir_y(10 + _boost, _angle)); offy += (offy % 2); x += offx; y += offy; depth += (20000 + (i * 20)); } _angle += 120; } } make_shine = function() { if (!scr_check_documents_read()) { shine = scr_dark_marker(document_markers[0].x - 5, document_markers[0].y - 5, spr_shine_white); shine.image_speed = 0.08; shine.depth = document_markers[0].depth - 1; scr_lerpvar("image_alpha", 0, 1, 40); } }; if (con != 0) make_shine();