1 |
if (num < 7) |
2 |
{ |
3 |
if (side == 0 && on == 0) |
4 |
image_angle += 8; |
5 |
if (side == 1 && on == 0) |
6 |
image_angle -= 8; |
7 |
if (side == 0 && on == 1) |
8 |
image_angle -= 8; |
9 |
if (side == 1 && on == 1) |
10 |
image_angle += 8; |
11 |
xx = lengthdir_x(165, image_angle); |
12 |
yy = lengthdir_y(165, image_angle); |
13 |
fl = instance_create(x + xx, y + yy, obj_floweyx_flame); |
14 |
fl.direction = image_angle; |
15 |
fl.speed = 7; |
16 |
alarm[0] = 2;gml_Object_obj_floweyx_flamethrower_Alarm_0.gmlif (num < 7)
{
if (side == 0 && on == 0)
image_angle += 8;
if (side == 1 && on == 0)
image_angle -= 8;
if (side == 0 && on == 1)
image_angle -= 8;
if (side == 1 && on == 1)
image_angle += 8;
xx = lengthdir_x(165, image_angle);
yy = lengthdir_y(165, image_angle);
fl = instance_create(x + xx, y + yy, obj_floweyx_flame);
fl.direction = image_angle;
fl.speed = 7;
alarm[0] = 2;
num += 1;
}
else
{
if (on == 0)
on = 1;
else
on = 0;
alarm[0] = 30;
num = 0;
} |
17 |
num += 1; |
18 |
} |
19 |
else |
20 |
{ |
21 |
if (on == 0) |
22 |
on = 1; |
23 |
else |
24 |
on = 0; |
25 |
alarm[0] = 30;gml_Object_obj_floweyx_flamethrower_Alarm_0.gmlif (num < 7)
{
if (side == 0 && on == 0)
image_angle += 8;
if (side == 1 && on == 0)
image_angle -= 8;
if (side == 0 && on == 1)
image_angle -= 8;
if (side == 1 && on == 1)
image_angle += 8;
xx = lengthdir_x(165, image_angle);
yy = lengthdir_y(165, image_angle);
fl = instance_create(x + xx, y + yy, obj_floweyx_flame);
fl.direction = image_angle;
fl.speed = 7;
alarm[0] = 2;
num += 1;
}
else
{
if (on == 0)
on = 1;
else
on = 0;
alarm[0] = 30;
num = 0;
} |
26 |
num = 0; |
27 |
} |