1 |
if live_call() |
2 |
return global.live_result; |
3 |
var box = 3154 |
4 |
if (fadeout == false) |
5 |
{ |
6 |
image_alpha = lerp(image_alpha, 1, 0.15) |
7 |
if (image_alpha > 0.99) |
8 |
image_alpha = 1 |
9 |
} |
10 |
else |
11 |
{ |
12 |
image_alpha = lerp(image_alpha, 0, 0.25) |
13 |
if (image_alpha < 0.01) |
14 |
image_alpha = 0 |
15 |
} |
16 |
throw_dir = irandom_range(135, 405) |
17 |
var spawnx = x + (lengthdir_x(spawn_dist, throw_dir)) |
18 |
var spawny = y + (lengthdir_y(spawn_dist, throw_dir)) |
19 |
if (active == true) |
20 |
{ |
21 |
throw_delay-- |
22 |
if (throw_delay == 0) |
23 |
{ |
24 |
throw_delay = throw_delay_max |
25 |
instance_create_depth(spawnx, spawny, (depth - 100), obj_flowey_1_attack_audience_hate_flower) |
26 |
} |
27 |
} |