1 | if (state == 0) |
2 | { |
3 | if (draw_alpha < 1) |
4 | draw_alpha += 0.15 |
5 | else if (!alarm[0]) |
6 | alarm[0] = 30 |
7 | } |
8 | if (state == 1) |
9 | { |
10 | if (draw_alpha > 0) |
11 | draw_alpha -= 0.2 |
12 | else |
13 | { |
14 | if (obj_steamworks_manta.manta_has_passengers == false) |
15 | scr_cutscene_end |
16 | instance_destroy() |
17 | } |
18 | } |