1 | if (stop == 0) |
2 | image_angle += aa; |
3 | if (y > 580) |
4 | instance_destroy(); |
5 | if (x > 640) |
6 | instance_destroy(); |
7 | if (x < 0) |
8 | instance_destroy(); |
9 | if (y < (ystart - 70)) |
10 | depth = -1112; |
11 | if (depth < 0 && image_xscale < 2) |
12 | { |
13 | image_xscale += 0.05; |
14 | image_yscale += 0.05; |
15 | } |
16 | if (y > (global.idealborder[3] - 10) && stop == 0) |
17 | { |
18 | stop = 1; |
19 | speed = 0; |
20 | gravity = 0; |
21 | } |
22 | if (global.mnfight != 2 && deactivate == 0) |
23 | deactivate = 1; |
24 | if (deactivate == 1) |
25 | { |
26 | stop = 2; |
27 | gravity = 0.8 + random(0.3); |
28 | deactivate = 2; |
29 | } |