1 | if live_call() |
2 | return global.live_result; |
3 | if (!fade_out) |
4 | { |
5 | if (image_alpha < 1) |
6 | image_alpha += 0.1 |
7 | else if (!alarm[0]) |
8 | alarm[0] = 5 |
9 | } |
10 | else if (image_alpha > 0) |
11 | image_alpha -= 0.1 |
12 | else |
13 | instance_destroy() |
14 | if ((vspeed > 0 && y > y_target) || (vspeed < 0 && y < y_target)) |
15 | fade_out = true |
16 | image_xscale = lerp(image_xscale, 1, 0.15) |
17 | image_yscale = image_xscale |