1 | if (waiter == 0) |
2 | { |
3 | if (overlay_alpha < 1) |
4 | { |
5 | overlay_alpha += 0.1; |
6 | } |
7 | else |
8 | { |
9 | image_alpha = 1; |
10 | image_speed = 1/3; |
11 | audio_play_sound(snd_feisty_title_card, 1, 0); |
12 | waiter = 1; |
13 | } |
14 | } |
15 | if (waiter == 1) |
16 | { |
17 | if (image_index >= (image_number - 1)) |
18 | { |
19 | image_speed = 0; |
20 | if (!alarm[0]) |
21 | alarm[0] = 75; |
22 | } |
23 | } |
24 | if (waiter == 2) |
25 | { |
26 | if (image_alpha > 0) |
27 | image_alpha -= 0.1; |
28 | else |
29 | instance_destroy(); |
30 | overlay_alpha = image_alpha; |
31 | } |