event_inherited(); image_alpha = scr_approach(image_alpha, 1, 0.03125); r = scr_approach(r, 255, 8); g = scr_approach(g, 255, 8); b = scr_approach(b, 255, 8); if (r == 255) active = true; image_blend = make_color_rgb(r, g, b); if (x < (scr_get_box(2) - 16) && speed == 3) instance_destroy(); if (x > (scr_get_box(0) + 16) && speed == -3) instance_destroy(); if (alarm[1]) y_offset -= (cos(0.07853981633974483 * (40 - alarm[1])) * 8); y = (scr_get_box(3) - 6) + y_offset;