if (loop_sound != -1) snd_stop(loop_sound); with (obj_afterimage) instance_destroy(); with (obj_marker) instance_destroy();