var _scalepush, _xx, _col; switch (phase) { case 0: _col = 1118685; _xx = (((pattern_time % 2) * 2) - 1) * max(0, ((pattern_time + 31) - launch_time) / 15); _scalepush = (1 - image_yscale) * sprite_get_height(sprite_index) * 0.75; if (pattern_time >= (launch_time - 9) && pattern_time < (launch_time - 7)) _col = 8978431; break; default: _col = 16777215; _xx = 0; _scalepush = 0; } draw_sprite_ext(sprite_index, 1, x + lengthdir_x(_scalepush, image_angle + 270) + _xx, y + lengthdir_y(_scalepush, image_angle + 270), image_xscale, image_yscale, image_angle, _col, image_alpha); if (phase == 0) { var _dir = image_angle + 35; draw_set_color(#FF6688); d_line_width(x + lengthdir_x(7, 315 + image_angle) + lengthdir_x(_scalepush, image_angle + 270), y + lengthdir_y(7, 315 + image_angle) + lengthdir_y(_scalepush, image_angle + 270), x + lengthdir_x(7, 315 + image_angle) + lengthdir_x(_scalepush, image_angle + 270) + lengthdir_x(10, _dir), y + lengthdir_y(7, 315 + image_angle) + lengthdir_y(_scalepush, image_angle + 270) + lengthdir_y(10, _dir), 3); } if (phase == 1) { if (boom_frame >= 0) { if (boom_frame < 8) draw_sprite(spr_explosion_round, floor(boom_frame), boom_x - 25, boom_y - 35); } draw_set_color(#FF6688); d_line_width(bar_x - lengthdir_x(3, bar_angle), bar_y - lengthdir_y(3, bar_angle), bar_x + lengthdir_x(7, bar_angle), bar_y + lengthdir_y(7, bar_angle), 3); }