if delay > 0
{
	delay--;
	exit;
}

y_spd += global.g;

dir = point_direction(0, 0, x_spd, y_spd);
spd = point_distance(0, 0, x_spd, y_spd);

image_angle = dir;

var _stretch = spd * 0.02;

image_xscale = base_scale * (1 + _stretch);
image_yscale = base_scale / (1 + _stretch);

if place_meeting(x, y, oParentSolid)
{
	var _part = part_system_create_layer("Effect", false, pePlayerAttacked);
	part_system_position(_part, x, y);
	instance_destroy();
}

x += x_spd;
y += y_spd;