1 | if (exitCutscene == 1) |
2 | { |
3 | global.cutscene = true |
4 | with (obj_pl) |
5 | { |
6 | image_speed = 0.2 |
7 | vspeed = -0.5 |
8 | } |
9 | if (waiter == 0) |
10 | { |
11 | alarm[0] = 30 |
12 | alarm[1] = 275 |
13 | waiter = 1 |
14 | } |
15 | if (fade == true) |
16 | fadeAlpha += 0.006 |
17 | } |
18 | if (exitCutscene == 2) |
19 | { |
20 | if (fadeAlpha > 0) |
21 | fadeAlpha -= 0.03 |
22 | else |
23 | { |
24 | scr_cutscene_end |
25 | instance_destroy() |
26 | } |
27 | } |