1 | if (growstate == 0 && image_xscale < 1.4) |
2 | { |
3 | image_xscale += 0.08; |
4 | image_yscale += 0.08; |
5 | } |
6 | if (growstate == 1) |
7 | { |
8 | image_xscale -= 0.08; |
9 | image_yscale -= 0.08; |
10 | if (image_xscale < 0) |
11 | instance_destroy(); |
12 | } |
13 | if (stopmoving == 0) |
14 | siner += (0.07 + n); |
15 | path_speed = 4; |
16 | path_position = 0.14 + (sin(siner) / 8); |
17 | if (con == 5) |
18 | { |
19 | if (x < (xstart + 40)) |
20 | x += 10; |
21 | con = 6; |
22 | } |
23 | if (con == 6) |
24 | { |
25 | if (x > xstart) |
26 | x -= 2; |
27 | } |
28 | if (con == 7) |
29 | { |
30 | if (x < (xstart + 40)) |
31 | x += 8; |
32 | con = 6; |
33 | } |