1 |
side = choose(0, 1, 2); |
2 |
if (sider == 0) |
3 |
{ |
4 |
if (side == 0) |
5 |
{ |
6 |
ff = instance_create(100 + random(400), 200, obj_floweyfly); |
7 |
ff.parent = id; |
8 |
with (ff) |
9 |
move_towards_point(parent.x + 65, parent.y + 115, 11); |
10 |
} |
11 |
if (side == 1) |
12 |
{ |
13 |
ff = instance_create(680, 200 + random(300), obj_floweyfly); |
14 |
ff.parent = id; |
15 |
with (ff) |
16 |
move_towards_point(parent.x + 65, parent.y + 115, 11); |
17 |
} |
18 |
if (side == 2) |
19 |
{ |
20 |
ff = instance_create(100 + random(700), 500, obj_floweyfly); |
21 |
ff.parent = id; |
22 |
with (ff) |
23 |
move_towards_point(parent.x + 65, parent.y + 115, 11); |
24 |
} |
25 |
} |
26 |
if (sider == 1) |
27 |
{ |
28 |
if (side == 0) |
29 |
{ |
30 |
ff = instance_create(100 + random(400), 200, obj_floweyfly); |
31 |
ff.parent = id; |
32 |
with (ff) |
33 |
move_towards_point(parent.x - 65, parent.y + 115, 11); |
34 |
} |
35 |
if (side == 1) |
36 |
{ |
37 |
ff = instance_create(-30, 200 + random(300), obj_floweyfly); |
38 |
ff.parent = id; |
39 |
with (ff) |
40 |
move_towards_point(parent.x - 65, parent.y + 115, 11); |
41 |
} |
42 |
if (side == 2) |
43 |
{ |
44 |
ff = instance_create(-100 + random(660), 500, obj_floweyfly); |
45 |
ff.parent = id; |
46 |
with (ff) |
47 |
move_towards_point(parent.x - 65, parent.y + 115, 11); |
48 |
} |
49 |
} |
50 |
amt += 1; |
51 |
alarm[2] = 2;gml_Object_obj_venus_pl_Alarm_2.gmlside = choose(0, 1, 2);
if (sider == 0)
{
if (side == 0)
{
ff = instance_create(100 + random(400), 200, obj_floweyfly);
ff.parent = id;
with (ff)
move_towards_point(parent.x + 65, parent.y + 115, 11);
}
if (side == 1)
{
ff = instance_create(680, 200 + random(300), obj_floweyfly);
ff.parent = id;
with (ff)
move_towards_point(parent.x + 65, parent.y + 115, 11);
}
if (side == 2)
{
ff = instance_create(100 + random(700), 500, obj_floweyfly);
ff.parent = id;
with (ff)
move_towards_point(parent.x + 65, parent.y + 115, 11);
}
}
if (sider == 1)
{
if (side == 0)
{
ff = instance_create(100 + random(400), 200, obj_floweyfly);
ff.parent = id;
with (ff)
move_towards_point(parent.x - 65, parent.y + 115, 11);
}
if (side == 1)
{
ff = instance_create(-30, 200 + random(300), obj_floweyfly);
ff.parent = id;
with (ff)
move_towards_point(parent.x - 65, parent.y + 115, 11);
}
if (side == 2)
{
ff = instance_create(-100 + random(660), 500, obj_floweyfly);
ff.parent = id;
with (ff)
move_towards_point(parent.x - 65, parent.y + 115, 11);
}
}
amt += 1;
alarm[2] = 2;
if (amt > 35)
{
alarm[2] = -1;
wait = 0;
con = 5;
} |
52 |
if (amt > 35) |
53 |
{ |
54 |
alarm[2] = -1;gml_Object_obj_venus_pl_Alarm_2.gmlside = choose(0, 1, 2);
if (sider == 0)
{
if (side == 0)
{
ff = instance_create(100 + random(400), 200, obj_floweyfly);
ff.parent = id;
with (ff)
move_towards_point(parent.x + 65, parent.y + 115, 11);
}
if (side == 1)
{
ff = instance_create(680, 200 + random(300), obj_floweyfly);
ff.parent = id;
with (ff)
move_towards_point(parent.x + 65, parent.y + 115, 11);
}
if (side == 2)
{
ff = instance_create(100 + random(700), 500, obj_floweyfly);
ff.parent = id;
with (ff)
move_towards_point(parent.x + 65, parent.y + 115, 11);
}
}
if (sider == 1)
{
if (side == 0)
{
ff = instance_create(100 + random(400), 200, obj_floweyfly);
ff.parent = id;
with (ff)
move_towards_point(parent.x - 65, parent.y + 115, 11);
}
if (side == 1)
{
ff = instance_create(-30, 200 + random(300), obj_floweyfly);
ff.parent = id;
with (ff)
move_towards_point(parent.x - 65, parent.y + 115, 11);
}
if (side == 2)
{
ff = instance_create(-100 + random(660), 500, obj_floweyfly);
ff.parent = id;
with (ff)
move_towards_point(parent.x - 65, parent.y + 115, 11);
}
}
amt += 1;
alarm[2] = 2;
if (amt > 35)
{
alarm[2] = -1;
wait = 0;
con = 5;
} |
55 |
wait = 0; |
56 |
con = 5; |
57 |
} |