1 | if (live_call()) |
2 | return global.live_result; |
3 | if (spawner != -4 && instance_exists(spawner)) |
4 | { |
5 | x = spawner.x + lengthdir_x(120, orbit_direction); |
6 | y = spawner.y + lengthdir_y(120, orbit_direction); |
7 | orbit_direction += orbit_speed; |
8 | if (orbit_direction > 360) |
9 | orbit_direction -= 360; |
10 | } |
11 | else |
12 | { |
13 | image_alpha -= 0.3; |
14 | if (image_alpha <= 0) |
15 | instance_destroy(); |
16 | } |