1 |
if (con > 0) |
2 |
{ |
3 |
if (con == 2) |
4 |
{ |
5 |
persistent = 1; |
6 |
__view_set(e__VW.Object, 0, -4); |
7 |
with (k) |
8 |
{ |
9 |
fun = 1; |
10 |
cutscene = 1; |
11 |
} |
12 |
with (t) |
13 |
sprite_index = spr_toriel_u; |
14 |
global.fc = 4; |
15 |
global.fe = 2; |
16 |
global.typer = 7; |
17 |
global.msg[0] = * Kris!Delay 11 There you are!Delay 11 We might still be able to make it!Wait for inputClose Message ; |
18 |
dd = instance_create(0, 0, obj_dialoguer); |
19 |
dd.side = 0; |
20 |
con = 3; |
21 |
} |
22 |
if (con == 3 && instance_exists(obj_dialoguer) == false) |
23 |
{ |
24 |
mus_play(global.currentsong[0]); |
25 |
alarm[5] = 20;gml_Object_obj_carcutscene_Alarm_5.gmlglobal.typer = 8;
global.msg[0] = * Kris...Delay 11 It is a beautiful day today,Delay 11 is it not?Delay 55Close Message ;
global.msg[1] = * I hope it stays this way when ASRIEL visits next week.Delay 55Close Message ;
global.msg[2] = * But I wonder...Delay 11 * After the excitement of university...Delay 55Close Message ;
global.msg[3] = * Will he still enjoy coming home to this little town...? Delay 99 Delay 99Close MessageClose Message ;
myd = instance_create(__view_get(e__VW.XView, 0) + 40, __view_get(e__VW.YView, 0) + 40, obj_writer);
with (myd)
skippable = 0;
with (myd)
persistent = 1;
dhaver = 1;
enum e__VW
{
XView,
YView,
WView,
HView,
Angle,
HBorder,
VBorder,
HSpeed,
VSpeed,
Object,
Visible,
XPort,
YPort,
WPort,
HPort,
Camera,
SurfaceID
} |
26 |
with (t) |
27 |
{ |
28 |
image_speed = 0; |
29 |
image_index = 0; |
30 |
} |
31 |
scr_panscr_panfunction scr_pan(arg0, arg1, arg2)
{
panner = instance_create(0, 0, obj_panner);
panner.panmax = arg2;
panner.panx = arg0;
panner.pany = arg1;
} (0, 1, 60); |
32 |
con = 2.1; |
33 |
alarm[4] = 40; |
34 |
with (k) |
35 |
{ |
36 |
sprite_index = spr_krisl; |
37 |
image_speed = 0.25; |
38 |
hspeed = -1; |
39 |
} |
40 |
} |
41 |
if (con == 3.1) |
42 |
{ |
43 |
with (t) |
44 |
sprite_index = spr_toriel_l; |
45 |
with (k) |
46 |
scr_halt(); |
47 |
with (k) |
48 |
{ |
49 |
sprite_index = spr_krisd; |
50 |
vspeed = 1; |
51 |
image_speed = 0.2; |
52 |
} |
53 |
con = 4; |
54 |
alarm[4] = 60; |
55 |
} |
56 |
if (con == 5) |
57 |
{ |
58 |
with (t) |
59 |
sprite_index = spr_toriel_l; |
60 |
with (k) |
61 |
{ |
62 |
scr_halt(); |
63 |
sprite_index = spr_krisr; |
64 |
} |
65 |
con = 8; |
66 |
alarm[4] = 40; |
67 |
} |
68 |
if (con == 9) |
69 |
{ |
70 |
with (c) |
71 |
depth = 6000; |
72 |
with (t) |
73 |
{ |
74 |
hspeed = -1; |
75 |
image_speed = 0.2; |
76 |
} |
77 |
with (k) |
78 |
{ |
79 |
sprite_index = spr_krisr; |
80 |
hspeed = 1; |
81 |
vspeed = 0; |
82 |
image_speed = 0.2; |
83 |
} |
84 |
con = 10; |
85 |
alarm[4] = 32; |
86 |
} |
87 |
if (con == 11) |
88 |
{ |
89 |
con = 12; |
90 |
alarm[4] = 30; |
91 |
ckx = c.x - k.x; |
92 |
cky = c.y - k.y; |
93 |
ctx = c.x - t.x; |
94 |
cty = c.y - t.y; |
95 |
with (t) |
96 |
visible = 0; |
97 |
with (k) |
98 |
visible = 0; |
99 |
} |
100 |
if (con == 13) |
101 |
{ |
102 |
with (c) |
103 |
{ |
104 |
sprite_index = spr_torcar_l; |
105 |
hspeed = 1; |
106 |
image_speed = 0.25; |
107 |
} |
108 |
con = 14; |
109 |
alarm[4] = 80; |
110 |
} |
111 |
if (con == 15) |
112 |
{ |
113 |
with (c) |
114 |
scr_halt(); |
115 |
con = 16; |
116 |
alarm[4] = 30; |
117 |
} |
118 |
if (con == 17) |
119 |
{ |
120 |
with (c) |
121 |
{ |
122 |
hspeed = -1; |
123 |
image_speed = 0.25; |
124 |
} |
125 |
con = 18; |
126 |
alarm[4] = 80; |
127 |
} |
128 |
if (con == 19) |
129 |
{ |
130 |
scr_panscr_panfunction scr_pan(arg0, arg1, arg2)
{
panner = instance_create(0, 0, obj_panner);
panner.panmax = arg2;
panner.panx = arg0;
panner.pany = arg1;
} (0, 0.5, 100); |
131 |
with (c) |
132 |
{ |
133 |
sprite_index = spr_torcar_d; |
134 |
hspeed = 0; |
135 |
vspeed = 2; |
136 |
} |
137 |
fade = instance_create(0, 0, obj_fadeout); |
138 |
fade.depth = 4000; |
139 |
fade.height = 400; |
140 |
fade.fadespeed = 0.01; |
141 |
con = 20; |
142 |
alarm[4] = 190; |
143 |
} |
144 |
if (con == 21) |
145 |
{ |
146 |
fade = instance_create(0, 0, obj_fadeout); |
147 |
fade.depth = -200; |
148 |
fade.height = 400; |
149 |
fade.fadespeed = 0.025; |
150 |
fade.image_blend = c_white; |
151 |
con = 22; |
152 |
alarm[4] = 45; |
153 |
} |
154 |
if (con == 23.1) |
155 |
{ |
156 |
car = scr_markerscr_markerfunction scr_marker(arg0, arg1, arg2)
{
thismarker = instance_create(arg0, arg1, obj_marker);
with (thismarker)
{
sprite_index = arg2;
image_speed = 0;
}
return thismarker;
} (390, 0, spr_torcar_d); |
157 |
with (car) |
158 |
{ |
159 |
scr_depth(); |
160 |
image_speed = 0.25; |
161 |
vspeed = 3; |
162 |
} |
163 |
__view_set(e__VW.Object, 0, -4); |
164 |
with (obj_mainchara) |
165 |
{ |
166 |
visible = 0; |
167 |
cutscene = 1; |
168 |
} |
169 |
__view_set(e__VW.XView, 0, 180); |
170 |
scr_panscr_panfunction scr_pan(arg0, arg1, arg2)
{
panner = instance_create(0, 0, obj_panner);
panner.panmax = arg2;
panner.panx = arg0;
panner.pany = arg1;
} (2.5, 0, 900); |
171 |
global.interact = 1; |
172 |
con = 24; |
173 |
alarm[4] = 140 / car.vspeed; |
174 |
carcon = 1; |
175 |
with (obj_npc_room) |
176 |
instance_destroy(); |
177 |
catty = scr_markerscr_markerfunction scr_marker(arg0, arg1, arg2)
{
thismarker = instance_create(arg0, arg1, obj_marker);
with (thismarker)
{
sprite_index = arg2;
image_speed = 0;
}
return thismarker;
} (486, 68, spr_npc_catty); |
178 |
cattydad = scr_markerscr_markerfunction scr_marker(arg0, arg1, arg2)
{
thismarker = instance_create(arg0, arg1, obj_marker);
with (thismarker)
{
sprite_index = arg2;
image_speed = 0;
}
return thismarker;
} (574, 64, spr_npc_cattydad); |
179 |
bratty = scr_markerscr_markerfunction scr_marker(arg0, arg1, arg2)
{
thismarker = instance_create(arg0, arg1, obj_marker);
with (thismarker)
{
sprite_index = arg2;
image_speed = 0;
}
return thismarker;
} (744, 174, spr_npc_bratty); |
180 |
froggit = scr_markerscr_markerfunction scr_marker(arg0, arg1, arg2)
{
thismarker = instance_create(arg0, arg1, obj_marker);
with (thismarker)
{
sprite_index = arg2;
image_speed = 0;
}
return thismarker;
} (800, 114, spr_npc_froggit); |
181 |
with (froggit) |
182 |
{ |
183 |
scr_depth(); |
184 |
image_speed = 0.2; |
185 |
} |
186 |
with (catty) |
187 |
scr_depth(); |
188 |
with (cattydad) |
189 |
scr_depth(); |
190 |
with (bratty) |
191 |
scr_depth(); |
192 |
} |
193 |
if (con == 23) |
194 |
{ |
195 |
with (obj_writer) |
196 |
instance_destroy(); |
197 |
fade2 = instance_create(0, 0, obj_persistentfadein); |
198 |
fade2.image_blend = c_white; |
199 |
con = 23.1; |
200 |
room_goto(room_town_north ); |
201 |
} |
202 |
if (carcon == 1) |
203 |
{ |
204 |
if (car.y >= 100) |
205 |
{ |
206 |
with (catty) |
207 |
{ |
208 |
sprite_index = spr_npc_catty_wave; |
209 |
image_speed = 0.2; |
210 |
} |
211 |
} |
212 |
if (car.x >= 550) |
213 |
{ |
214 |
with (cattydad) |
215 |
{ |
216 |
sprite_index = spr_npc_cattydad_wave; |
217 |
image_speed = 0.2; |
218 |
} |
219 |
} |
220 |
} |
221 |
if (con == 24) |
222 |
global.interact = 1; |
223 |
if (con == 25) |
224 |
{ |
225 |
with (car) |
226 |
{ |
227 |
sprite_index = spr_torcar_r; |
228 |
vspeed = 0; |
229 |
hspeed = 3; |
230 |
} |
231 |
con = 26; |
232 |
alarm[4] = 240 / car.hspeed; |
233 |
} |
234 |
if (con == 27) |
235 |
{ |
236 |
with (car) |
237 |
{ |
238 |
sprite_index = spr_torcar_d; |
239 |
hspeed = 0; |
240 |
vspeed = 3; |
241 |
} |
242 |
carcon = 0; |
243 |
con = 133; |
244 |
instance_create(0, 0, obj_fadeout); |
245 |
alarm[4] = 30; |
246 |
} |
247 |
if (con == 130) |
248 |
{ |
249 |
car = scr_markerscr_markerfunction scr_marker(arg0, arg1, arg2)
{
thismarker = instance_create(arg0, arg1, obj_marker);
with (thismarker)
{
sprite_index = arg2;
image_speed = 0;
}
return thismarker;
} (790, -60, spr_torcar_d); |
250 |
with (car) |
251 |
{ |
252 |
scr_depth(); |
253 |
image_speed = 0.25; |
254 |
vspeed = 3; |
255 |
} |
256 |
__view_set(e__VW.Object, 0, -4); |
257 |
with (obj_mainchara) |
258 |
{ |
259 |
visible = 0; |
260 |
cutscene = 1; |
261 |
} |
262 |
__view_set(e__VW.XView, 0, 670); |
263 |
global.interact = 1; |
264 |
con = 131; |
265 |
alarm[4] = 200 / car.vspeed; |
266 |
} |
267 |
if (con == 29) |
268 |
{ |
269 |
instance_create(0, 0, obj_persistentfadein); |
270 |
room_goto(room_town_mid ); |
271 |
con = 130; |
272 |
} |
273 |
if (con == 131) |
274 |
global.interact = 1; |
275 |
if (con == 132) |
276 |
{ |
277 |
instance_create(0, 0, obj_fadeout); |
278 |
alarm[4] = 30; |
279 |
con = 133; |
280 |
} |
281 |
if (con == 140) |
282 |
{ |
283 |
car = scr_markerscr_markerfunction scr_marker(arg0, arg1, arg2)
{
thismarker = instance_create(arg0, arg1, obj_marker);
with (thismarker)
{
sprite_index = arg2;
image_speed = 0;
}
return thismarker;
} (810, 0, spr_torcar_d); |
284 |
with (car) |
285 |
{ |
286 |
scr_depth(); |
287 |
image_speed = 0.25; |
288 |
vspeed = 3; |
289 |
} |
290 |
with (obj_npc_room) |
291 |
instance_destroy(); |
292 |
with (obj_npc_facing) |
293 |
instance_destroy(); |
294 |
__view_set(e__VW.Object, 0, -4); |
295 |
with (obj_mainchara) |
296 |
{ |
297 |
visible = 0; |
298 |
cutscene = 1; |
299 |
} |
300 |
__view_set(e__VW.XView, 0, 660); |
301 |
scr_panscr_panfunction scr_pan(arg0, arg1, arg2)
{
panner = instance_create(0, 0, obj_panner);
panner.panmax = arg2;
panner.panx = arg0;
panner.pany = arg1;
} (2, 0, 300); |
302 |
global.interact = 1; |
303 |
con = 141; |
304 |
alarm[4] = 140 / car.vspeed; |
305 |
carcon = 2; |
306 |
qc = scr_markerscr_markerfunction scr_marker(arg0, arg1, arg2)
{
thismarker = instance_create(arg0, arg1, obj_marker);
with (thismarker)
{
sprite_index = arg2;
image_speed = 0;
}
return thismarker;
} (764, 85, spr_npc_qc_stand); |
307 |
undyne = scr_markerscr_markerfunction scr_marker(arg0, arg1, arg2)
{
thismarker = instance_create(arg0, arg1, obj_marker);
with (thismarker)
{
sprite_index = arg2;
image_speed = 0;
}
return thismarker;
} (905, 80, spr_undyne_dt); |
308 |
bear = scr_markerscr_markerfunction scr_marker(arg0, arg1, arg2)
{
thismarker = instance_create(arg0, arg1, obj_marker);
with (thismarker)
{
sprite_index = arg2;
image_speed = 0;
}
return thismarker;
} (710, 82, spr_npc_politicsbear); |
309 |
with (bear) |
310 |
scr_depth(); |
311 |
with (qc) |
312 |
scr_depth(); |
313 |
with (undyne) |
314 |
scr_depth(); |
315 |
} |
316 |
if (con == 134) |
317 |
{ |
318 |
instance_create(0, 0, obj_persistentfadein); |
319 |
room_goto(room_town_south ); |
320 |
con = 140; |
321 |
} |
322 |
if (carcon == 2) |
323 |
{ |
324 |
if (car.y >= 100) |
325 |
{ |
326 |
with (qc) |
327 |
{ |
328 |
sprite_index = spr_npc_qc_wave; |
329 |
image_speed = 0.2; |
330 |
} |
331 |
with (undyne) |
332 |
{ |
333 |
sprite_index = spr_undyne_d_wave; |
334 |
image_speed = 0.2; |
335 |
} |
336 |
} |
337 |
if (car.x >= 1000) |
338 |
{ |
339 |
} |
340 |
} |
341 |
if (con == 141) |
342 |
global.interact = 1; |
343 |
if (con == 142) |
344 |
{ |
345 |
with (car) |
346 |
{ |
347 |
vspeed = 0; |
348 |
hspeed = 3; |
349 |
sprite_index = spr_torcar_r; |
350 |
} |
351 |
con = 143; |
352 |
alarm[4] = 260 / car.hspeed; |
353 |
} |
354 |
if (con == 144) |
355 |
{ |
356 |
carcon = 0; |
357 |
instance_create(0, 0, obj_fadeout); |
358 |
alarm[4] = 30; |
359 |
con = 145; |
360 |
} |
361 |
if (con == 161) |
362 |
{ |
363 |
car = scr_markerscr_markerfunction scr_marker(arg0, arg1, arg2)
{
thismarker = instance_create(arg0, arg1, obj_marker);
with (thismarker)
{
sprite_index = arg2;
image_speed = 0;
}
return thismarker;
} (0, 220, spr_torcar_r); |
364 |
with (car) |
365 |
{ |
366 |
scr_depth(); |
367 |
image_speed = 0.25; |
368 |
hspeed = 2; |
369 |
} |
370 |
__view_set(e__VW.Object, 0, -4); |
371 |
with (obj_mainchara) |
372 |
{ |
373 |
visible = 0; |
374 |
cutscene = 1; |
375 |
} |
376 |
__view_set(e__VW.XView, 0, 0); |
377 |
__view_set(e__VW.YView, 0, room_height - __view_get(e__VW.HView, 0)); |
378 |
global.interact = 1; |
379 |
con = 162; |
380 |
scr_panscr_panfunction scr_pan(arg0, arg1, arg2)
{
panner = instance_create(0, 0, obj_panner);
panner.panmax = arg2;
panner.panx = arg0;
panner.pany = arg1;
} (1, 0, 100); |
381 |
alarm[4] = 240 / car.hspeed; |
382 |
} |
383 |
if (con == 146) |
384 |
{ |
385 |
instance_create(0, 0, obj_persistentfadein); |
386 |
room_goto(room_town_school ); |
387 |
con = 161; |
388 |
} |
389 |
if (con == 162) |
390 |
global.interact = 1; |
391 |
if (con == 163) |
392 |
{ |
393 |
with (car) |
394 |
{ |
395 |
vspeed = -2; |
396 |
hspeed = 0; |
397 |
sprite_index = spr_torcar_u; |
398 |
} |
399 |
con = 164; |
400 |
alarm[4] = 30; |
401 |
} |
402 |
if (con == 165) |
403 |
{ |
404 |
with (car) |
405 |
scr_halt(); |
406 |
con = 36; |
407 |
alarm[4] = 30; |
408 |
} |
409 |
if (con == 37) |
410 |
{ |
411 |
v = 0; |
412 |
with (car) |
413 |
{ |
414 |
speed = 0; |
415 |
image_speed = 0; |
416 |
} |
417 |
con = 38; |
418 |
alarm[4] = 15; |
419 |
} |
420 |
if (con == 39) |
421 |
{ |
422 |
scr_panscr_panfunction scr_pan(arg0, arg1, arg2)
{
panner = instance_create(0, 0, obj_panner);
panner.panmax = arg2;
panner.panx = arg0;
panner.pany = arg1;
} (1, -0.334, 100); |
423 |
with (car) |
424 |
depth = 500; |
425 |
k = scr_markerscr_markerfunction scr_marker(arg0, arg1, arg2)
{
thismarker = instance_create(arg0, arg1, obj_marker);
with (thismarker)
{
sprite_index = arg2;
image_speed = 0;
}
return thismarker;
} ((car.x - ctx) + 10, car.y - cty, spr_krisr); |
426 |
t = scr_markerscr_markerfunction scr_marker(arg0, arg1, arg2)
{
thismarker = instance_create(arg0, arg1, obj_marker);
with (thismarker)
{
sprite_index = arg2;
image_speed = 0;
}
return thismarker;
} (car.x - ckx, car.y - cky, spr_toriel_l); |
427 |
with (k) |
428 |
{ |
429 |
depth = 50000; |
430 |
visible = 1; |
431 |
image_speed = 0.2; |
432 |
sprite_index = spr_krisr; |
433 |
hspeed = 1; |
434 |
} |
435 |
with (t) |
436 |
{ |
437 |
image_speed = 0.2; |
438 |
depth = 50000; |
439 |
visible = 1; |
440 |
sprite_index = spr_toriel_l; |
441 |
hspeed = -1; |
442 |
} |
443 |
con = 40; |
444 |
alarm[4] = 30; |
445 |
} |
446 |
if (con == 41) |
447 |
{ |
448 |
with (car) |
449 |
depth = 600000; |
450 |
with (k) |
451 |
{ |
452 |
speed = 0; |
453 |
sprite_index = spr_krisd; |
454 |
image_index = 0; |
455 |
image_speed = 0; |
456 |
} |
457 |
with (t) |
458 |
{ |
459 |
vspeed = 2; |
460 |
hspeed = 0; |
461 |
depth = 10000; |
462 |
sprite_index = spr_toriel_d; |
463 |
image_speed = 0.25; |
464 |
} |
465 |
con = 42; |
466 |
alarm[4] = 15; |
467 |
} |
468 |
if (con == 43) |
469 |
{ |
470 |
with (t) |
471 |
{ |
472 |
sprite_index = spr_toriel_r; |
473 |
vspeed = 0; |
474 |
hspeed = 2; |
475 |
} |
476 |
con = 44; |
477 |
alarm[4] = 51; |
478 |
} |
479 |
if (con == 45) |
480 |
{ |
481 |
with (k) |
482 |
sprite_index = spr_krisr; |
483 |
with (t) |
484 |
{ |
485 |
hspeed = 0; |
486 |
vspeed = -2; |
487 |
sprite_index = spr_toriel_u; |
488 |
} |
489 |
con = 46; |
490 |
alarm[4] = 22; |
491 |
} |
492 |
if (con == 47) |
493 |
{ |
494 |
with (t) |
495 |
{ |
496 |
speed = 0; |
497 |
sprite_index = spr_toriel_l; |
498 |
image_speed = 0; |
499 |
image_index = 0; |
500 |
} |
501 |
con = 48; |
502 |
alarm[4] = 30; |
503 |
} |
504 |
if (con == 49) |
505 |
{ |
506 |
with (k) |
507 |
visible = 0; |
508 |
with (t) |
509 |
sprite_index = spr_toriel_handhold_r; |
510 |
con = 50; |
511 |
alarm[4] = 30; |
512 |
} |
513 |
if (con == 51) |
514 |
{ |
515 |
with (t) |
516 |
{ |
517 |
hspeed = 1; |
518 |
image_speed = 0.1; |
519 |
} |
520 |
con = 52; |
521 |
alarm[4] = 44; |
522 |
} |
523 |
if (con == 53) |
524 |
{ |
525 |
scr_panscr_panfunction scr_pan(arg0, arg1, arg2)
{
panner = instance_create(0, 0, obj_panner);
panner.panmax = arg2;
panner.panx = arg0;
panner.pany = arg1;
} (0, -0.5, 999); |
526 |
with (t) |
527 |
{ |
528 |
vspeed = -0.25; |
529 |
hspeed = 0; |
530 |
sprite_index = spr_toriel_handhold_u; |
531 |
} |
532 |
fade = instance_create(0, 0, obj_fadeout); |
533 |
with (fade) |
534 |
fadespeed = 0.03; |
535 |
con = 56; |
536 |
persistent = 0; |
537 |
alarm[4] = 40; |
538 |
} |
539 |
if (con == 55) |
540 |
alarm[4] = 40; |
541 |
if (con == 56) |
542 |
fade.y = 0; |
543 |
if (con == 57) |
544 |
{ |
545 |
pf = instance_create(0, 0, obj_persistentfadein); |
546 |
with (pf) |
547 |
image_alpha = 1.2; |
548 |
room_goto(room_schoollobby ); |
549 |
} |
550 |
} |
551 |
|
552 |
enum e__VW |
553 |
{ |
554 |
XView, |
555 |
YView, |
556 |
WView, |
557 |
HView, |
558 |
Angle, |
559 |
HBorder, |
560 |
VBorder, |
561 |
HSpeed, |
562 |
VSpeed, |
563 |
Object, |
564 |
Visible, |
565 |
XPort, |
566 |
YPort, |
567 |
WPort, |
568 |
HPort, |
569 |
Camera, |
570 |
SurfaceID |
571 |
} |