1 |
bul = instance_create_ch1(x, y, obj_regularbullet_ch1); |
2 |
if (instance_exists(bul)) |
3 |
{ |
4 |
bul.sprite_index = spr_clubsball_b_ch1; |
5 |
bul.direction = direction; |
6 |
bul.speed = speed - 6; |
7 |
bul.image_angle = image_angle; |
8 |
bul.damage = damage; |
9 |
bul.target = target; |
10 |
bul.grazepoints = 3; |
11 |
bul.timepoints = 2; |
12 |
} |
13 |
bul = instance_create_ch1(x, y, obj_regularbullet_ch1); |
14 |
if (instance_exists(bul)) |
15 |
{ |
16 |
bul.sprite_index = spr_clubsball_c_ch1; |
17 |
bul.direction = direction - 25; |
18 |
bul.speed = speed - 8; |
19 |
bul.image_angle = image_angle; |
20 |
bul.damage = damage; |
21 |
bul.target = target; |
22 |
bul.grazepoints = 3; |
23 |
bul.timepoints = 2; |
24 |
} |
25 |
bul = instance_create_ch1(x, y, obj_regularbullet_ch1); |
26 |
if (instance_exists(bul)) |
27 |
{ |
28 |
bul.sprite_index = spr_clubsball_a_ch1; |
29 |
bul.direction = direction + 25; |
30 |
bul.speed = speed - 8; |
31 |
bul.image_angle = image_angle; |
32 |
bul.damage = damage; |
33 |
bul.target = target; |
34 |
bul.grazepoints = 3; |
35 |
bul.timepoints = 2; |
36 |
} |
37 |
instance_destroy(); |