You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
AM2R-Multitroid-Fair-Team-PVP/Export_Code/gml_Object_oEris_Other_14.gml

28 lines
949 B

var proj, proj2;
if (!boosting)
{
if (boostphase < 3)
{
proj = instance_create(x, y, oErisProjectile)
proj.direction = point_direction(x, y, oCharacter.x, (oCharacter.y - (oCharacter.sprite_height / 2)))
}
else if (boostphase < 5)
{
proj = instance_create(x, y, oErisProjectile)
proj.direction = point_direction(x, y, oCharacter.x, (oCharacter.y - (oCharacter.sprite_height / 2)))
proj.direction += 3
proj2 = instance_create(x, y, oErisProjectile)
proj2.direction = point_direction(x, y, oCharacter.x, (oCharacter.y - (oCharacter.sprite_height / 2)))
proj2.direction -= 3
}
else
{
for (i = -1; i < 2; i++)
{
proj = instance_create(x, y, oErisProjectile)
proj.direction = point_direction(x, y, oCharacter.x, (oCharacter.y - (oCharacter.sprite_height / 2)))
proj.direction += (i * 15)
}
}
}