just_initiated = false; usable = 1; con = 0; contimer = 0; dashdir = 1; vertical_offset_mult = 1; flash_object = function(arg0) { if (arg0 == -4) exit; var flash = scr_marker_centered_frominstance(arg0.id); with (flash) { fog = 16777215; depth = arg0.depth - 2; if (i_ex(obj_sunshadows)) depth = obj_sunshadows.depth - 100; scr_lerpvar("image_alpha", 1, 0, 8); scr_lerpvar("image_xscale", image_xscale, image_xscale * 1.5, 8); scr_lerpvar("image_yscale", image_yscale, image_yscale * 1.5, 8); scr_doom(id, 15); } var flash2 = scr_marker_centered_frominstance(arg0.id); with (flash2) { fog = 16777215; depth = arg0.depth - 2; if (i_ex(obj_sunshadows)) depth = obj_sunshadows.depth - 100; scr_lerpvar("image_alpha", 1, 0, 12); scr_doom(id, 12); } }; start_running = function(arg0, arg1, arg2, arg3) { if (arg0 == -4) exit; var xx = arg0.x; var yy = arg0.y; with (scr_marker_ext(xx, yy, spr_vfx_directional_hit, 2 * arg1, 2)) { if (i_ex(obj_sunshadows)) depth = obj_sunshadows.depth - 100; var count = sprite_get_number(spr_vfx_directional_hit); scr_lerpvar("image_index", 0, count, 6); image_blend = merge_color(arg2, c_white, 0.8); } if (arg3) { for (var i = 0; i < 20; i++) { with (instance_create(xx, yy, obj_marker_fancy)) { if (i_ex(obj_sunshadows)) depth = obj_sunshadows.depth - 100; sprite_index = spr_spin_petal; draw_func = function() { with (obj_parallax_cliffs) other.image_blend = merge_color(c_gray, c_white, suny); draw_self(); }; scr_darksize(); image_speed = 0.5 - random(0.25); image_index = random(5); hspeed = arg1 * (-8 - random(16)); vspeed = random_range(-8, 8); friction = 0.5; scr_doom(id, 50); } } } }; krmarker = -4; ramarker = -4; sumarker = -4; doflash = function() { var flash = scr_marker_centered_frominstance(id); with (flash) { fog = 16777215; image_blend = c_orange; depth = other.depth - 2; if (i_ex(obj_sunshadows)) depth = obj_sunshadows.depth - 100; show_debug_message_concat(depth); scr_lerpvar("image_alpha", 1, 0, 16); scr_doom(id, 16); } };