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-The-Horde-Multitroid/Export_Code/gml_Object_oShielderShield_...

35 lines
589 B

if (!frozen)
{
image_angle = point_direction(x, y, oCharacter.x, (oCharacter.y - 16))
if (shaking > 0)
{
shaking -= 1
offx = random_range(-2, 2)
offy = random_range(-2, 2)
}
else
{
offx = 0
offy = 0
}
if (flashing > 0)
flashing -= 1
center_x = (x + lengthdir_x(20, image_angle))
center_y = (y + lengthdir_y(20, image_angle))
}
if (frozen > 0)
{
myspr = 416
if AFDCheck()
myspr = 1817
}
else
{
myspr = 415
if AFDCheck()
{
myspr = 304
image_index = 4
}
}