1 |
if (con == 2) |
2 |
{ |
3 |
image_speed = 0; |
4 |
hspeed = 0; |
5 |
snd_stop(mus_sfx_a_target); |
6 |
snd_play(mus_sfx_a_target); |
7 |
con = 2.1; |
8 |
alarm[4] = 8; |
9 |
} |
10 |
if (con == 3.1) |
11 |
{ |
12 |
snd_stop(mus_sfx_a_bullet); |
13 |
caster_play(mus_sfx_a_bullet, 0.75, 1 + random(0.15)); |
14 |
hf = instance_create(x, y, obj_f_handfork); |
15 |
hs = instance_create(x, y, obj_f_shotflame); |
16 |
if (side == 0) |
17 |
{ |
18 |
hf.image_xscale = 1; |
19 |
hf.hspeed = 16; |
20 |
hf.friction = -0.2; |
21 |
} |
22 |
if (side == 1) |
23 |
{ |
24 |
hf.image_xscale = -1; |
25 |
hf.hspeed = -16; |
26 |
hf.friction = -0.2; |
27 |
hs.image_xscale = -0.5; |
28 |
} |
29 |
image_index = 25; |
30 |
image_speed = 1; |
31 |
con = 3; |
32 |
alarm[4] = 2; |
33 |
} |
34 |
if (con == 4) |
35 |
{ |
36 |
con = 5; |
37 |
alarm[4] = 6; |
38 |
} |
39 |
if (con == 6) |
40 |
{ |
41 |
con = 7; |
42 |
alarm[4] = 20; |
43 |
} |
44 |
if (con == 8) |
45 |
instance_destroy(); |