1 |
var actor_ceroba = obj_ceroba_npc |
2 |
var actor_starlo = obj_starlo_npc |
3 |
var actor_clover = obj_player_npc |
4 |
switch scene |
5 |
{ |
6 |
case 0: |
7 |
if (obj_pl.y < 280) |
8 |
{ |
9 |
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
} () |
10 |
cutscene_advance() |
11 |
} |
12 |
break |
13 |
case 1: |
14 |
cutscene_wait(0.5) |
15 |
break |
16 |
case 2: |
17 |
cutscene_npc_direction(actor_starlo, "down") |
18 |
break |
19 |
case 3: |
20 |
cutscene_dialogue() |
21 |
with (msg) |
22 |
{ |
23 |
color = true |
24 |
col_modif[0] = 16711935 |
25 |
talker[0] = actor_starlo |
26 |
message[0] = "* There you are!" |
27 |
message[1] = "* I was about to come# looking for you." |
28 |
message[2] = "* So... The Steamworks." |
29 |
message_col[2][0] = " The Steamworks " |
30 |
prt[0] = 417 |
31 |
prt[1] = 417 |
32 |
prt[2] = 421 |
33 |
} |
34 |
break |
35 |
case 4: |
36 |
cutscene_npc_direction(actor_starlo, "up") |
37 |
break |
38 |
case 5: |
39 |
cutscene_instance_create(obj_pl.x, obj_pl.y, obj_player_npc) |
40 |
break |
41 |
case 6: |
42 |
cutscene_npc_walk(actor_clover, 220, 205, 3, "y", "up") |
43 |
break |
44 |
case 7: |
45 |
cutscene_camera_move(220, 160, 1, false) |
46 |
break |
47 |
case 8: |
48 |
cutscene_wait(1) |
49 |
break |
50 |
case 9: |
51 |
cutscene_dialogue() |
52 |
with (msg) |
53 |
{ |
54 |
talker[0] = actor_starlo |
55 |
message[0] = "* May I ask why we are# here?" |
56 |
prt[0] = 421 |
57 |
} |
58 |
break |
59 |
case 10: |
60 |
cutscene_npc_direction(actor_ceroba, "down") |
61 |
break |
62 |
case 11: |
63 |
cutscene_wait(0.5) |
64 |
break |
65 |
case 12: |
66 |
cutscene_npc_action_sprite(actor_ceroba, 73, (1/3), true, 0) |
67 |
break |
68 |
case 13: |
69 |
cutscene_music_start(191, 600) |
70 |
break |
71 |
case 14: |
72 |
cutscene_dialogue() |
73 |
with (msg) |
74 |
{ |
75 |
color = true |
76 |
col_modif[0] = make_color_rgb(203, 67, 112) |
77 |
talker[0] = actor_ceroba |
78 |
talker[1] = actor_starlo |
79 |
talker[2] = actor_ceroba |
80 |
message[0] = "* Because of this." |
81 |
message[1] = "* The mask Kanako made# for you..." |
82 |
message_col[1][0] = " Kanako " |
83 |
message[2] = "* Yes." |
84 |
prt[0] = 370 |
85 |
prt[1] = 420 |
86 |
prt[2] = 377 |
87 |
} |
88 |
break |
89 |
case 15: |
90 |
cutscene_npc_action_sprite_reverse(actor_ceroba, 73, (1/3), false, 0) |
91 |
break |
92 |
case 16: |
93 |
cutscene_dialogue() |
94 |
with (msg) |
95 |
{ |
96 |
talker[0] = actor_ceroba |
97 |
message[0] = "* You see, Clover, Kanako# is me and Chujin's only# child." |
98 |
message[1] = "* You haven't seen her# around because she..." |
99 |
prt[0] = 370 |
100 |
prt[1] = 394 |
101 |
} |
102 |
break |
103 |
case 17: |
104 |
cutscene_wait(0.35) |
105 |
break |
106 |
case 18: |
107 |
cutscene_npc_walk_relative(actor_starlo, 0, -30, 1, "y", "right") |
108 |
break |
109 |
case 19: |
110 |
cutscene_wait(0.5) |
111 |
break |
112 |
case 20: |
113 |
cutscene_dialogue() |
114 |
with (msg) |
115 |
{ |
116 |
talker[0] = actor_starlo |
117 |
talker[2] = actor_ceroba |
118 |
talker[4] = actor_starlo |
119 |
talker[5] = actor_ceroba |
120 |
message[0] = "* Hey, everything will# be okay." |
121 |
message[1] = "* I know how tough you# are. You can move past# this, I'm positive." |
122 |
message[2] = "* There's no need,# because she's alive." |
123 |
message[3] = "* I feel her presence as# we speak." |
124 |
message[4] = "* The Lab..." |
125 |
message[5] = "* Precisely." |
126 |
message[6] = "* Clover, you may not# know this, but there is# a Lab in Hotland." |
127 |
message[7] = "* An inquiry for the# \"fallen down\" was sent# out some time ago." |
128 |
message[8] = "* I didn't know what# else to do..." |
129 |
message[9] = "* In my time of despair,# I sent Kanako with them." |
130 |
message[10] = "* It's been far too# long and I haven't# heard anything." |
131 |
message[11] = "* I must travel to the# Lab to find out where# my daughter is." |
132 |
prt[0] = 406 |
133 |
prt[1] = 406 |
134 |
prt[2] = 370 |
135 |
prt[3] = 371 |
136 |
prt[4] = 418 |
137 |
prt[5] = 377 |
138 |
prt[6] = 370 |
139 |
prt[7] = 377 |
140 |
prt[8] = 394 |
141 |
prt[9] = 370 |
142 |
prt[10] = 394 |
143 |
prt[11] = 370 |
144 |
if (message_current == 2) |
145 |
actor_ceroba.npc_direction = "left" |
146 |
if (message_current == 6) |
147 |
actor_ceroba.npc_direction = "down" |
148 |
} |
149 |
break |
150 |
case 21: |
151 |
cutscene_wait(0.5) |
152 |
break |
153 |
case 22: |
154 |
cutscene_audio_fade(cutscene_music, 0, 500, 0.25, false, true) |
155 |
break |
156 |
case 23: |
157 |
cutscene_dialogue() |
158 |
with (msg) |
159 |
{ |
160 |
talker[0] = actor_starlo |
161 |
message[0] = "* I'm proud of you,# Ceroba. Stepping out and# taking charge." |
162 |
message[1] = "* You've been in a rut# lately. It was tough# to watch." |
163 |
prt[0] = 417 |
164 |
prt[1] = 420 |
165 |
} |
166 |
break |
167 |
case 24: |
168 |
cutscene_wait(0.2) |
169 |
break |
170 |
case 25: |
171 |
cutscene_npc_direction(actor_ceroba, "up") |
172 |
break |
173 |
case 26: |
174 |
cutscene_wait(0.35) |
175 |
break |
176 |
case 27: |
177 |
cutscene_dialogue() |
178 |
with (msg) |
179 |
{ |
180 |
talker[0] = actor_ceroba |
181 |
message[0] = "* ..." |
182 |
prt[0] = 394 |
183 |
} |
184 |
break |
185 |
case 28: |
186 |
cutscene_wait(0.45) |
187 |
break |
188 |
case 29: |
189 |
cutscene_dialogue() |
190 |
with (msg) |
191 |
{ |
192 |
talker[0] = actor_starlo |
193 |
message[0] = "* S-so, why travel# through the Steamworks# particularly?" |
194 |
prt[0] = 428 |
195 |
} |
196 |
break |
197 |
case 30: |
198 |
cutscene_npc_direction(actor_ceroba, "down") |
199 |
break |
200 |
case 31: |
201 |
cutscene_music_start(190) |
202 |
break |
203 |
case 32: |
204 |
cutscene_dialogue() |
205 |
with (msg) |
206 |
{ |
207 |
talker[0] = actor_ceroba |
208 |
talker[3] = actor_starlo |
209 |
talker[5] = actor_ceroba |
210 |
talker[8] = actor_starlo |
211 |
talker[9] = actor_ceroba |
212 |
talker[11] = actor_starlo |
213 |
talker[12] = actor_ceroba |
214 |
message[0] = "* It's the quickest route# to Hotland from here." |
215 |
message[1] = "* Nothing but abandoned# rooms as far as I know." |
216 |
message[2] = "* I have Chujin's old# passcodes for any# locked doors as well." |
217 |
message[3] = "* Solid plan." |
218 |
message[4] = "* If you need me, I would# be happy to accompany# you!" |
219 |
message[5] = "* I don't know how ugly# things at the Lab may# get." |
220 |
message[6] = "* You need to stay here# and take care of the# town." |
221 |
message[7] = "* ...I believe you owe# your posse an# apology." |
222 |
message[8] = "* You're right..." |
223 |
message[9] = "* I'll take Clover with# me." |
224 |
message[10] = "* They've proven to be# skilled on several# fronts." |
225 |
message[11] = "* An excellent choice. I# trust Clover to deliver# justice out there!" |
226 |
message[12] = "* Alright, we've# discussed enough. Let's# get moving." |
227 |
prt[0] = 370 |
228 |
prt[1] = 377 |
229 |
prt[2] = 370 |
230 |
prt[3] = 417 |
231 |
prt[4] = 422 |
232 |
prt[5] = 377 |
233 |
prt[6] = 370 |
234 |
prt[7] = 371 |
235 |
prt[8] = 406 |
236 |
prt[9] = 377 |
237 |
prt[10] = 372 |
238 |
prt[11] = 422 |
239 |
prt[12] = 377 |
240 |
} |
241 |
break |
242 |
case 33: |
243 |
cutscene_npc_walk_relative(actor_starlo, 0, 30, 2, "y", "up") |
244 |
break |
245 |
case 34: |
246 |
cutscene_npc_walk(actor_ceroba, 146, 148, 2, "x", "up") |
247 |
break |
248 |
case 35: |
249 |
cutscene_wait(0.5) |
250 |
break |
251 |
case 36: |
252 |
cutscene_sfx_play(snd_dunes_43_code, 1) |
253 |
break |
254 |
case 37: |
255 |
cutscene_wait(1.5) |
256 |
break |
257 |
case 38: |
258 |
cutscene_sfx_play(snd_elevator_start, 2) |
259 |
cutscene_npc_direction(actor_ceroba, "right") |
260 |
cutscene_advance(39) |
261 |
break |
262 |
case 39: |
263 |
cutscene_screenshake(1, 2) |
264 |
break |
265 |
case 40: |
266 |
cutscene_action_sprite(1958, 1105, (1/3), true, 0, 631, 0) |
267 |
break |
268 |
case 41: |
269 |
cutscene_wait(1) |
270 |
break |
271 |
case 42: |
272 |
cutscene_npc_direction(actor_ceroba, "down") |
273 |
break |
274 |
case 43: |
275 |
cutscene_dialogue() |
276 |
with (msg) |
277 |
{ |
278 |
talker[0] = actor_ceroba |
279 |
message[0] = "* I'll see you later,# Starlo." |
280 |
message[1] = "* Whatever happens,# remember that this is# for Chujin's legacy." |
281 |
prt[0] = 377 |
282 |
prt[1] = 370 |
283 |
} |
284 |
break |
285 |
case 44: |
286 |
cutscene_audio_fade(cutscene_music, 0, 1000, 0.2, false, true) |
287 |
break |
288 |
case 45: |
289 |
cutscene_npc_walk(actor_ceroba, 220, 140, 2, "x", "up") |
290 |
break |
291 |
case 46: |
292 |
cutscene_fade_out(actor_ceroba, 1) |
293 |
break |
294 |
case 47: |
295 |
cutscene_wait(1.5) |
296 |
break |
297 |
case 48: |
298 |
cutscene_npc_walk(actor_clover, actor_clover.x, 185, 1, "y", "up") |
299 |
break |
300 |
case 49: |
301 |
cutscene_npc_set_sprites(actor_starlo, 207, 205, 196, 201, 206, 204, 194, 200) |
302 |
case 50: |
303 |
cutscene_dialogue() |
304 |
with (msg) |
305 |
{ |
306 |
talker[0] = actor_starlo |
307 |
message[0] = "* Oh! Clover! Before you# go, I forgot to give you# this." |
308 |
prt[0] = 404 |
309 |
} |
310 |
break |
311 |
case 51: |
312 |
cutscene_npc_walk(actor_starlo, actor_clover.x, (actor_clover.y - 30), 3, "y", "down") |
313 |
break |
314 |
case 52: |
315 |
cutscene_sfx_play(snd_success, 1) |
316 |
break |
317 |
case 53: |
318 |
cutscene_dialogue() |
319 |
with (msg) |
320 |
{ |
321 |
talker[0] = -4 |
322 |
talker[1] = 1169 |
323 |
sndfnt_array[0] = 391 |
324 |
sndfnt_array[1] = 107 |
325 |
message[0] = "* (You got the Deputy# Badge!)" |
326 |
message[1] = "* Despite a few hiccups,# our little adventure was# a blast." |
327 |
message[2] = "* I'll be seein' ya# around, partner!" |
328 |
prt[1] = 417 |
329 |
prt[2] = 422 |
330 |
} |
331 |
break |
332 |
case 54: |
333 |
cutscene_npc_action_sprite(actor_starlo, 202, (1/3), true, 0, 232, 5) |
334 |
break |
335 |
case 55: |
336 |
cutscene_wait(1) |
337 |
break |
338 |
case 56: |
339 |
cutscene_npc_action_sprite(actor_clover, 1106, (1/3), true, 0, 275, 6) |
340 |
break |
341 |
case 57: |
342 |
cutscene_wait(1) |
343 |
break |
344 |
case 58: |
345 |
cutscene_dialogue() |
346 |
with (msg) |
347 |
{ |
348 |
talker[0] = 1169 |
349 |
message[0] = "* I'm so proud!" |
350 |
prt[0] = 413 |
351 |
} |
352 |
break |
353 |
case 59: |
354 |
cutscene_wait(1) |
355 |
break |
356 |
case 60: |
357 |
cutscene_npc_reset_sprite(actor_starlo, "down") |
358 |
break |
359 |
case 61: |
360 |
cutscene_npc_reset_sprite(actor_clover, "up") |
361 |
break |
362 |
case 62: |
363 |
cutscene_npc_walk_relative(actor_starlo, -30, 30, 2, "x", "up") |
364 |
break |
365 |
case 63: |
366 |
cutscene_npc_walk(actor_clover, 220, 140, 2, "x", "up") |
367 |
break |
368 |
case 64: |
369 |
cutscene_fade_out(actor_clover, 1) |
370 |
break |
371 |
case 65: |
372 |
cutscene_change_room(141, 160, 520, 0.015, 45) |
373 |
break |
374 |
case 66: |
375 |
obj_pl.image_alpha = 1 |
376 |
obj_pl.direction = 90 |
377 |
cutscene_instance_create(160, 440, obj_ceroba_npc) |
378 |
actor_ceroba.npc_direction = "up" |
379 |
break |
380 |
case 67: |
381 |
cutscene_wait(1) |
382 |
break |
383 |
case 68: |
384 |
cutscene_sfx_play(snd_elevator_start, 1) |
385 |
break |
386 |
case 69: |
387 |
cutscene_screenshake(0.5, 2) |
388 |
break |
389 |
case 70: |
390 |
cutscene_wait(1) |
391 |
break |
392 |
case 71: |
393 |
cutscene_npc_direction(actor_ceroba, "down") |
394 |
break |
395 |
case 72: |
396 |
cutscene_dialogue() |
397 |
with (msg) |
398 |
{ |
399 |
talker[0] = actor_ceroba |
400 |
message[0] = "* Remember, I'm in# charge." |
401 |
message[1] = "* Stay close by and we'll# reach our destination# soon." |
402 |
prt[0] = 370 |
403 |
prt[1] = 370 |
404 |
} |
405 |
break |
406 |
case 73: |
407 |
cutscene_npc_walk_relative(actor_ceroba, 0, -40, 2, "y", "up") |
408 |
break |
409 |
case 74: |
410 |
scr_cutscene_end() |
411 |
cutscene_advance() |
412 |
global.dunes_flag[35] = 1 |
413 |
break |
414 |
case 75: |
415 |
cutscene_npc_walk_wait(actor_ceroba, actor_ceroba.x, -40, 4, "y", "left") |
416 |
break |
417 |
case 76: |
418 |
cutscene_end() |
419 |
break |
420 |
} |