1 |
if (desperate == 0 && acon == 0) |
2 |
{ |
3 |
if (frozen == 0) |
4 |
siner += 0.8; |
5 |
growth = 1 + (cos(siner / 6) * 0.03); |
6 |
ssx = sin(siner / 3) * 4 * image_xscale; |
7 |
ssy = cos(siner / 3) * 4; |
8 |
draw_sprite_ext(sprite_index, image_index, x - ssx, y + ssy, image_xscale, growth, 0, image_blend, 1); |
9 |
} |
10 |
if (desperate == 1 && acon == 0) |
11 |
{ |
12 |
if (frozen == 0) |
13 |
siner += 1.2; |
14 |
growth = 1 + (cos(siner / 6) * 0.03); |
15 |
ssx = sin(siner / 3) * 5 * image_xscale; |
16 |
ssy = cos(siner / 3) * 8; |
17 |
draw_sprite_ext(sprite_index, image_index, x - ssx, y + ssy + 2, image_xscale, growth, 0, image_blend, 1); |
18 |
} |
19 |
xr = -image_xscale; |
20 |
if (acon == 2) |
21 |
{ |
22 |
draw_sprite_ext(spr_fa_seq_b, reach, x, y, image_xscale, image_yscale, image_angle, image_blend, image_alpha); |
23 |
if (reach > 0) |
24 |
reach -= 1; |
25 |
if (reach <= 0) |
26 |
{ |
27 |
acon = 0; |
28 |
reach2 = 0; |
29 |
reach3 = 0; |
30 |
reach = 0; |
31 |
acon2 = 0; |
32 |
made = 0; |
33 |
} |
34 |
} |
35 |
if (acon == 1) |
36 |
{ |
37 |
if (acon2 == 1 || acon2 == 3) |
38 |
{ |
39 |
if (reach2 < 13) |
40 |
reach2 += 2; |
41 |
draw_sprite_ext(spr_fa_stemunder, reach2, x + (xr * 36), y + 195, image_xscale, image_yscale, image_angle, image_blend, image_alpha); |
42 |
} |
43 |
draw_sprite_ext(spr_fa_seq_b, reach, x, y, image_xscale, image_yscale, image_angle, image_blend, image_alpha); |
44 |
if (reach < 11) |
45 |
reach += 2; |
46 |
if (reach == 12) |
47 |
reach = 11; |
48 |
else if (acon2 == 0) |
49 |
acon2 = 1; |
50 |
if (acon2 == 1) |
51 |
{ |
52 |
if (reach2 == 14) |
53 |
reach2 = 13; |
54 |
if (reach2 == 13 && made == 0) |
55 |
{ |
56 |
made = 1; |
57 |
venu = instance_create(x - (135 * xr), y + 138, obj_venus_pl); |
58 |
venu.boss = id; |
59 |
if (image_xscale > 0) |
60 |
{ |
61 |
with (venu) |
62 |
{ |
63 |
sider = 1; |
64 |
image_xscale = -1; |
65 |
} |
66 |
} |
67 |
if (image_xscale < 0) |
68 |
{ |
69 |
with (venu) |
70 |
sider = 0; |
71 |
} |
72 |
} |
73 |
} |
74 |
if (acon2 == 3) |
75 |
reach2 += 1; |
76 |
if (reach2 >= 39) |
77 |
acon = 2; |
78 |
} |