1 | if live_call() |
2 | return global.live_result; |
3 | if (fade_in == true && image_alpha < 1) |
4 | image_alpha += 0.1 |
5 | else |
6 | fade_in = false |
7 | switch scene |
8 | { |
9 | case 1: |
10 | sin_deg += sin_deg_inc |
11 | if (sin_deg >= 360) |
12 | sin_deg -= 360 |
13 | y = ystart + sin(degtorad(sin_deg)) * 2 |
14 | break |
15 | } |
16 | |
17 | if (flash_alpha > 0.1) |
18 | flash_alpha = lerp(flash_alpha, 0, 0.05) |
19 | else |
20 | flash_alpha = 0 |