1 | if (live_call()) |
2 | return global.live_result; |
3 | distance_speed_current += 0.05; |
4 | distance_current += distance_speed_current; |
5 | x = xstart + lengthdir_x(distance_current, direction); |
6 | y = ystart + lengthdir_y(distance_current, direction); |
7 | if (distance_to_point(xstart, ystart) > 150) |
8 | { |
9 | image_alpha -= 0.2; |
10 | if (image_alpha <= 0) |
11 | instance_destroy(); |
12 | } |