1 |
if live_call() |
2 |
return global.live_result; |
3 |
switch scene |
4 |
{ |
5 |
case 0: |
6 |
if (obj_pl.x > 340) |
7 |
{ |
8 |
scr_cutscene_startscr_cutscene_startfunction scr_cutscene_start() //gml_Script_scr_cutscene_start
{
global.cutscene = true
obj_pl.state = gml_Script_scr_frozen_state
obj_pl.image_index = 0
obj_pl.image_speed = 0
} () |
9 |
cutscene_advance() |
10 |
} |
11 |
break |
12 |
case 1: |
13 |
cutscene_instance_create(obj_pl.x, obj_pl.y, obj_player_npc) |
14 |
break |
15 |
case 2: |
16 |
cutscene_npc_direction(obj_player_npc, "right") |
17 |
break |
18 |
case 3: |
19 |
cutscene_follower_into_actor() |
20 |
break |
21 |
case 4: |
22 |
cutscene_npc_walk(actor_follower, 370, 150, 3, "y", "up") |
23 |
break |
24 |
case 5: |
25 |
cutscene_wait(0.25) |
26 |
break |
27 |
case 6: |
28 |
cutscene_dialogue() |
29 |
with (msg) |
30 |
{ |
31 |
talker[0] = 1161 |
32 |
message[0] = "* \"Metalworks Emergency Escape# Plan (or MEEP):" |
33 |
message[1] = "* In case someone sets the room# on fire, do not use the# elevator." |
34 |
message[2] = "* Evacuate down to floor 01 or# use a passcode to access floor# 03.\"" |
35 |
position = 0 |
36 |
} |
37 |
break |
38 |
case 7: |
39 |
cutscene_wait(0.75) |
40 |
break |
41 |
case 8: |
42 |
cutscene_dialogue() |
43 |
with (msg) |
44 |
{ |
45 |
talker[0] = 1161 |
46 |
message[0] = "* Uh huh..." |
47 |
message[1] = "* They REALLY locked this# place up tight." |
48 |
message[2] = "* Well, if the code was# found nearby on the# first floor..." |
49 |
message[3] = "* Let's take a look# around." |
50 |
prt[0] = 377 |
51 |
prt[1] = 394 |
52 |
prt[2] = 370 |
53 |
prt[3] = 371 |
54 |
position = 0 |
55 |
if (message_current == 3) |
56 |
obj_ceroba_npc.npc_direction = "left" |
57 |
} |
58 |
break |
59 |
case 9: |
60 |
cutscene_npc_walk(actor_follower, (obj_pl.x - 20), obj_pl.y, 3, "y", "right") |
61 |
break |
62 |
case 10: |
63 |
instance_destroy(obj_player_npc) |
64 |
cutscene_actor_into_follower() |
65 |
scr_cutscene_end() |
66 |
global.sworks_flag[37] = 0.5 |
67 |
break |
68 |
case 11: |
69 |
if (obj_pl.y >= 430) |
70 |
{ |
71 |
scr_cutscene_startscr_cutscene_startfunction scr_cutscene_start() //gml_Script_scr_cutscene_start
{
global.cutscene = true
obj_pl.state = gml_Script_scr_frozen_state
obj_pl.image_index = 0
obj_pl.image_speed = 0
} () |
72 |
cutscene_advance() |
73 |
} |
74 |
break |
75 |
case 12: |
76 |
cutscene_instance_create(obj_pl.x, obj_pl.y, obj_player_npc) |
77 |
break |
78 |
case 13: |
79 |
cutscene_follower_into_actor() |
80 |
break |
81 |
case 14: |
82 |
cutscene_npc_walk(1168, 370, 480, 2, "y", "down") |
83 |
cutscene_npc_walk(1161, 390, 480, 2, "x", "down") |
84 |
scene++ |
85 |
break |
86 |
case 15: |
87 |
if (obj_player_npc.npc_arrived && obj_ceroba_npc.npc_arrived) |
88 |
scene++ |
89 |
break |
90 |
case 16: |
91 |
cutscene_instance_create(370, 640, obj_axis_npc) |
92 |
break |
93 |
case 17: |
94 |
cutscene_music_start(219, 500) |
95 |
break |
96 |
case 18: |
97 |
cutscene_npc_walk(1166, 370, 580, 3, "x", "up") |
98 |
break |
99 |
case 19: |
100 |
cutscene_dialogue() |
101 |
with (msg) |
102 |
{ |
103 |
talker[0] = 1166 |
104 |
talker[1] = 1161 |
105 |
talker[3] = 1166 |
106 |
talker[4] = 1161 |
107 |
talker[5] = 1166 |
108 |
talker[7] = 1161 |
109 |
talker[8] = 1166 |
110 |
message[0] = "* THERE YOU ARE." |
111 |
message[1] = "* No way..." |
112 |
message[2] = "* You seriously want to do# this again?" |
113 |
message[3] = "* YES." |
114 |
message[4] = "* Remember the explosion# that incapacited you?" |
115 |
message[5] = "* YES." |
116 |
message[6] = "* I RETRIEVED BRAND NEW# HANDS. I AM UNSTOPPABLE# NOW." |
117 |
message[7] = "* Look, at some point you# need to gi " |
118 |
message[8] = "* SHUSH." |
119 |
message[9] = "* DO NOT RESIST ARREST ANY# LONGER." |
120 |
message[10] = "* STAND STILL AND LET MY# HANDSOME HANDS SHINE." |
121 |
prt[0] = 473 |
122 |
prt[1] = 377 |
123 |
prt[2] = 371 |
124 |
prt[3] = 473 |
125 |
prt[4] = 371 |
126 |
prt[5] = 473 |
127 |
prt[6] = 473 |
128 |
prt[7] = 377 |
129 |
prt[8] = 473 |
130 |
prt[9] = 473 |
131 |
prt[10] = 473 |
132 |
position_array[0] = 1 |
133 |
position_array[1] = 0 |
134 |
position_array[2] = 0 |
135 |
position_array[3] = 1 |
136 |
position_array[4] = 0 |
137 |
position_array[5] = 1 |
138 |
position_array[6] = 1 |
139 |
position_array[7] = 0 |
140 |
position_array[8] = 1 |
141 |
position_array[9] = 1 |
142 |
position_array[10] = 1 |
143 |
if (message_current == 7) |
144 |
{ |
145 |
skippable = false |
146 |
if (cutoff >= string_length(message[message_current])) |
147 |
force_skip = true |
148 |
} |
149 |
else |
150 |
skippable = true |
151 |
} |
152 |
break |
153 |
case 20: |
154 |
cutscene_npc_walk(1166, 370, 530, 5, "x", "up") |
155 |
break |
156 |
case 21: |
157 |
audio_stop_sound(cutscene_music) |
158 |
cutscene_npc_action_sprite(1166, 2118, 1, true, 0, 272, 1) |
159 |
with (obj_factory_wire) |
160 |
{ |
161 |
if (sprite_index != spr_factory_03_axis_wire_disconnect) |
162 |
{ |
163 |
image_index = 0 |
164 |
image_speed = 1 |
165 |
sprite_index = spr_factory_03_axis_wire_disconnect |
166 |
} |
167 |
} |
168 |
break |
169 |
case 22: |
170 |
cutscene_wait(1) |
171 |
break |
172 |
case 23: |
173 |
cutscene_dialogue() |
174 |
with (msg) |
175 |
{ |
176 |
talker[0] = 1166 |
177 |
talker[1] = 1161 |
178 |
message[0] = "* [shoot]" |
179 |
message[1] = "* (Pst, Clover!# This way!)" |
180 |
prt[0] = 473 |
181 |
prt[1] = 370 |
182 |
} |
183 |
break |
184 |
case 24: |
185 |
var scene_start = scene |
186 |
cutscene_camera_freeze() |
187 |
cutscene_npc_walk(1168, 540, 480, 5, "y", "left") |
188 |
cutscene_npc_walk(1161, 540, 480, 5, "x", "left") |
189 |
scene = scene_start + 1 |
190 |
break |
191 |
case 25: |
192 |
if (obj_player_npc.npc_arrived && obj_ceroba_npc.npc_arrived) |
193 |
{ |
194 |
obj_ceroba_npc.y = 458 |
195 |
obj_player_npc.y = 458 |
196 |
scene++ |
197 |
} |
198 |
break |
199 |
case 26: |
200 |
cutscene_npc_reset_sprite(1166, "down") |
201 |
break |
202 |
case 27: |
203 |
cutscene_dialogue() |
204 |
with (msg) |
205 |
{ |
206 |
color = true |
207 |
message_col[0][0] = "" |
208 |
col_modif[0] = 16711935 |
209 |
talker[0] = 1166 |
210 |
message[0] = "* MY VISION..." |
211 |
message[1] = "* INITIATING 16-VOLT SUPER# FLASHLIGHT_" |
212 |
message_col[1][0] = message[1] |
213 |
prt[0] = 473 |
214 |
position = 1 |
215 |
} |
216 |
break |
217 |
case 28: |
218 |
case 30: |
219 |
case 32: |
220 |
obj_factory_03_axis_flashlight.active = 1 |
221 |
audio_play_sound(snd_electric_flash, 1, 0) |
222 |
cutscene_wait(0.1) |
223 |
break |
224 |
case 29: |
225 |
obj_factory_03_axis_flashlight.active = 0 |
226 |
cutscene_wait(0.1) |
227 |
break |
228 |
case 31: |
229 |
obj_factory_03_axis_flashlight.active = 0 |
230 |
cutscene_wait(0.3) |
231 |
break |
232 |
case 33: |
233 |
if cutscene_dialogue() |
234 |
scene = 33.5 |
235 |
with (msg) |
236 |
{ |
237 |
color = true |
238 |
message_col[0][0] = "" |
239 |
col_modif[0] = 16711935 |
240 |
talker[0] = 1166 |
241 |
message[0] = "* 95% OF POWER UTILIZED_" |
242 |
message_col[0][0] = message[0] |
243 |
message[1] = "* TYPOGRAPHY BOX HINDERED_" |
244 |
message_col[1][0] = message[1] |
245 |
position = 1 |
246 |
} |
247 |
break |
248 |
case 33.5: |
249 |
if cutscene_dialogue_axis_hindered() |
250 |
scene = 34 |
251 |
with (msg) |
252 |
{ |
253 |
sndfnt = 111 |
254 |
message[0] = "* WHAT DO YOU MEA-" |
255 |
message[1] = "* OH." |
256 |
message[2] = "* THIS IS MOST UN-" |
257 |
message[3] = "* THIS IS BAD." |
258 |
message[4] = "* ..." |
259 |
message[5] = "* OH WELL." |
260 |
message[6] = "* UNLIKE THEM..." |
261 |
message[7] = "* I HAVE EYES." |
262 |
prt[0] = 473 |
263 |
prt[1] = 473 |
264 |
prt[2] = 473 |
265 |
prt[3] = 473 |
266 |
prt[4] = 473 |
267 |
prt[5] = 473 |
268 |
prt[6] = 473 |
269 |
prt[7] = 473 |
270 |
position = 1 |
271 |
} |
272 |
break |
273 |
case 34: |
274 |
cutscene_npc_walk(1166, 370, 760, 3, "y", "down") |
275 |
break |
276 |
case 35: |
277 |
cutscene_wait(0.5) |
278 |
break |
279 |
case 36: |
280 |
scene_start = scene |
281 |
cutscene_npc_walk(1168, 470, 458, 4, "y", "right") |
282 |
cutscene_npc_walk(1161, 500, 458, 3, "x", "left") |
283 |
scene = scene_start + 1 |
284 |
break |
285 |
case 37: |
286 |
if (obj_player_npc.npc_arrived && obj_ceroba_npc.npc_arrived) |
287 |
scene++ |
288 |
break |
289 |
case 38: |
290 |
cutscene_camera_move(510, 480, 3) |
291 |
break |
292 |
case 39: |
293 |
cutscene_wait(1) |
294 |
break |
295 |
case 40: |
296 |
cutscene_dialogue() |
297 |
with (msg) |
298 |
{ |
299 |
talker[0] = 1161 |
300 |
message[0] = "* (Okay..)" |
301 |
message[1] = "* (We need to stay out of# his view and keep# quiet.)" |
302 |
message[2] = "* (There's gotta " |
303 |
prt[0] = 394 |
304 |
prt[1] = 377 |
305 |
prt[2] = 370 |
306 |
if (message_current == 2) |
307 |
{ |
308 |
with (obj_steamworks_factory_02_face) |
309 |
{ |
310 |
sprite_index = spr_steamworks_38_face_hello |
311 |
image_speed = 1 |
312 |
} |
313 |
skippable = false |
314 |
if (cutoff >= string_length(message[message_current])) |
315 |
{ |
316 |
global.dialogue_open = false |
317 |
instance_destroy() |
318 |
with (other) |
319 |
{ |
320 |
cutscene_music = -4 |
321 |
cutscene_music_start(65, 1) |
322 |
} |
323 |
} |
324 |
} |
325 |
} |
326 |
break |
327 |
case 41: |
328 |
cutscene_dialogue_special("shake", 65280) |
329 |
if (obj_steamworks_factory_02_face.sprite_index != spr_steamworks_38_face_talking) |
330 |
{ |
331 |
obj_steamworks_factory_02_face.sprite_index = spr_steamworks_38_face_talking |
332 |
obj_steamworks_factory_02_face.image_index = 0 |
333 |
} |
334 |
with (msg) |
335 |
{ |
336 |
message[0] = "* Heeello again!!!" |
337 |
message[1] = "* What ever are you two doing he " |
338 |
if (message_current == 1) |
339 |
mode = "swirl" |
340 |
if (message_current == 1) |
341 |
{ |
342 |
skippable = false |
343 |
if can_skip |
344 |
{ |
345 |
global.dialogue_open = false |
346 |
instance_destroy() |
347 |
other.scene++ |
348 |
} |
349 |
} |
350 |
position = 0 |
351 |
} |
352 |
break |
353 |
case 42: |
354 |
cutscene_npc_action_sprite(1161, 2611, 1, true, 0) |
355 |
break |
356 |
case 43: |
357 |
if cutscene_wait(2) |
358 |
cutscene_advance(43.5) |
359 |
break |
360 |
case 43.5: |
361 |
if cutscene_dialogue() |
362 |
cutscene_advance(44) |
363 |
with (msg) |
364 |
{ |
365 |
talker[0] = 1161 |
366 |
message[0] = "* ..." |
367 |
prt[0] = 3232 |
368 |
} |
369 |
break |
370 |
case 44: |
371 |
cutscene_npc_action_sprite(1161, 2892, 1, true, 0) |
372 |
break |
373 |
case 45: |
374 |
cutscene_dialogue() |
375 |
with (msg) |
376 |
{ |
377 |
talker[0] = 1161 |
378 |
message[0] = "* (As I was saying...)" |
379 |
message[1] = "* (There's gotta be a code# around here.)" |
380 |
message[2] = "* (Once you find it, head# for the exit.)" |
381 |
prt[0] = 368 |
382 |
prt[1] = 377 |
383 |
prt[2] = 370 |
384 |
} |
385 |
break |
386 |
case 46: |
387 |
cutscene_camera_move(obj_pl.x, obj_pl.y, 2) |
388 |
break |
389 |
case 47: |
390 |
cutscene_camera_reset(true) |
391 |
cutscene_advance(48) |
392 |
break |
393 |
case 48: |
394 |
instance_create_depth(0, 0, -100, obj_factory_03_minigame) |
395 |
cutscene_advance() |
396 |
instance_destroy(obj_player_npc) |
397 |
obj_pl.direction = 180 |
398 |
cutscene_actor_into_follower() |
399 |
scr_cutscene_end() |
400 |
scr_radio_restart() |
401 |
global.sworks_flag[37] = 1 |
402 |
break |
403 |
} |