y = cameray() + 80 + ypos; if (image_alpha < 1) { ypos -= 1; image_alpha += 0.1; } timer += 1; if (timer == 1) { snd_stop(snd_knight_jump_quick); snd_play_x(snd_knight_jump_quick, 0.5, 1.3); } if (timer >= 10 && timer < 16) { image_blend = merge_color(c_white, c_red, (timer - 10) / 6); ypos = lerp(ypos, 38, (timer - 10) / 6); } if (timer == 16) { con = y; ypos += 600; snd_stop(snd_knight_cut2); snd_play_x(snd_knight_cut2, 0.5, 1.3); } if (timer == 18) instance_destroy();