| 1 | if (live_call()) |
| 2 | return global.live_result; |
| 3 | if (fade_out == false) |
| 4 | { |
| 5 | if (image_alpha < 1) |
| 6 | image_alpha += 0.2; |
| 7 | } |
| 8 | else if (image_alpha > 0) |
| 9 | { |
| 10 | image_alpha -= 0.1; |
| 11 | } |
| 12 | else |
| 13 | { |
| 14 | instance_destroy(); |
| 15 | } |
| 16 | image_angle = direction; |
| 17 | if (point_distance(x, y, 320, 240) > 900) |
| 18 | instance_destroy(); |