1 |
switch scene |
2 |
{ |
3 |
case 0: |
4 |
if (transition_alpha < 1) |
5 |
transition_alpha += 0.15 |
6 |
else |
7 |
scene++ |
8 |
break |
9 |
case 1: |
10 |
room = rm_steamworks_04 |
11 |
obj_pl.image_alpha = 0 |
12 |
obj_pl.x = 220 |
13 |
obj_pl.y = 80 |
14 |
scene++ |
15 |
break |
16 |
case 2: |
17 |
if (transition_alpha > 0) |
18 |
transition_alpha -= 0.1 |
19 |
else |
20 |
scene++ |
21 |
break |
22 |
case 3: |
23 |
cutscene_wait(0.5) |
24 |
break |
25 |
case 4: |
26 |
with (obj_steamworks_04_door) |
27 |
{ |
28 |
image_speed = 0.5 |
29 |
image_index = 0 |
30 |
} |
31 |
audio_play_sound(snd_rumble, 1, 1) |
32 |
cutscene_advance() |
33 |
break |
34 |
case 5: |
35 |
if (obj_steamworks_04_door.image_index >= (obj_steamworks_04_door.image_number - 1)) |
36 |
{ |
37 |
obj_steamworks_04_door.image_index = obj_steamworks_04_door.image_number - 1 |
38 |
obj_steamworks_04_door.image_speed = 0 |
39 |
audio_stop_sound(snd_rumble) |
40 |
audio_play_sound(snd_mart_impact_3, 1, 0) |
41 |
cutscene_advance() |
42 |
} |
43 |
break |
44 |
case 6: |
45 |
cutscene_screenshake(0.5, 2) |
46 |
break |
47 |
case 7: |
48 |
cutscene_wait(1) |
49 |
break |
50 |
case 8: |
51 |
if (transition_alpha < 1) |
52 |
transition_alpha += 0.15 |
53 |
else |
54 |
scene++ |
55 |
break |
56 |
case 9: |
57 |
global.sworks_flag[1] = 2 |
58 |
room = rm_steamworks_04c |
59 |
obj_pl.image_alpha = 1 |
60 |
obj_pl.x = 170 |
61 |
obj_pl.y = 190 |
62 |
cutscene_advance() |
63 |
break |
64 |
case 10: |
65 |
if (transition_alpha > 0) |
66 |
transition_alpha -= 0.1 |
67 |
else |
68 |
scene++ |
69 |
break |
70 |
case 11: |
71 |
scr_cutscene_end() |
72 |
instance_destroy() |
73 |
break |
74 |
} |