with (creator) { var _specialmode = false; if (other.rainbow_mode) { _specialmode = true; var _img = scr_afterimage_fog(undefined, other.rainbowarray[other.rainbow_pos], 14); _img.depth = depth + 1; } if (other.fog != -1) { _specialmode = true; var _img = scr_afterimage_fog(undefined, other.fog, 14); _img.depth = depth + 1; } if (!_specialmode) var _img = scr_afterimage(); } if (rainbow_mode) rainbow_pos++; if (rainbow_pos >= array_length(rainbowarray)) rainbow_pos = 0; alarm[0] = period; remaining--; if (remaining <= 0) instance_destroy();