1 |
if (type == 0) |
2 |
{ |
3 |
xx = (choose(1, -1) * (50 + random(240))) + obj_heart.x; |
4 |
yy = global.idealborder[2] + 20 + random(global.idealborder[3] - global.idealborder[2] - 40); |
5 |
instance_create(xx, yy, obj_clawbullet_failure); |
6 |
} |
7 |
if (type == 1) |
8 |
{ |
9 |
repeat (1 + random(7)) |
10 |
{ |
11 |
xx = (choose(1, -1) * (50 + random(50))) + obj_heart.x; |
12 |
yy = global.idealborder[2] - random(30); |
13 |
instance_create(xx, yy, obj_clawbullet_gravityfailure); |
14 |
} |
15 |
} |
16 |
if (type == 2) |
17 |
{ |
18 |
repeat (1 + random(7)) |
19 |
{ |
20 |
xx = (choose(1, -1) * (200 + random(50))) + obj_heart.x; |
21 |
yy = global.idealborder[2] - random(30); |
22 |
gr = instance_create(xx, yy, obj_clawbullet_gravityfailure); |
23 |
gr.gravity_direction = 1; |
24 |
} |
25 |
} |