if (active) { if (!reinit) { xstart = x; ystart = y; reinit = true; } for (var i = 0; i < count; i++) { actor[i].x = x + lengthdir_x(length[i], angle_offset[i] + direction); actor[i].y = y + (lengthdir_y(length[i], angle_offset[i] + direction) * yscale) + height_offset[i]; if (auto_depth) { with (actor[i]) scr_depth(); } } } else if (reinit) { reinit = false; } direction += rotation;