1 |
if (con > 0 && type == 1) |
2 |
{ |
3 |
if (con == 2) |
4 |
{ |
5 |
with (obj_mainchara) |
6 |
vspeed = 0; |
7 |
with (t) |
8 |
{ |
9 |
vspeed = 0; |
10 |
image_index = 0; |
11 |
image_speed = 0; |
12 |
} |
13 |
con = 3; |
14 |
alarm[4] = 40; |
15 |
} |
16 |
if (con == 4) |
17 |
{ |
18 |
with (t) |
19 |
sprite_index = spr_toriel_hug; |
20 |
con = 5; |
21 |
alarm[4] = 20; |
22 |
} |
23 |
if (con == 6) |
24 |
{ |
25 |
with (obj_writer) |
26 |
instance_destroy(); |
27 |
with (t) |
28 |
image_index = 1; |
29 |
con = 7; |
30 |
alarm[4] = 5; |
31 |
} |
32 |
if (con == 8) |
33 |
{ |
34 |
with (t) |
35 |
{ |
36 |
image_speed = 0; |
37 |
image_index = 2; |
38 |
} |
39 |
con = 11; |
40 |
alarm[4] = 55; |
41 |
} |
42 |
if (con == 12) |
43 |
{ |
44 |
with (obj_writer) |
45 |
instance_destroy(); |
46 |
with (t) |
47 |
image_speed = -0.2; |
48 |
con = 13; |
49 |
alarm[4] = 10; |
50 |
} |
51 |
if (con == 14) |
52 |
{ |
53 |
with (t) |
54 |
{ |
55 |
image_index = 0; |
56 |
image_speed = 0; |
57 |
sprite_index = spr_toriel_d; |
58 |
} |
59 |
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;
} (t.x + 4, t.y + 21, spr_krisu); |
60 |
con = 15; |
61 |
alarm[4] = 20; |
62 |
} |
63 |
if (con == 16) |
64 |
{ |
65 |
with (t) |
66 |
sprite_index = spr_toriel_l; |
67 |
scr_panscr_panfunction scr_pan(arg0, arg1, arg2)
{
panner = instance_create(0, 0, obj_panner);
panner.panmax = arg2;
panner.panx = arg0;
panner.pany = arg1;
} (-3, 0, 118); |
68 |
with (k) |
69 |
{ |
70 |
sprite_index = spr_krisl; |
71 |
hspeed = -3; |
72 |
image_speed = 0.25; |
73 |
} |
74 |
con = 17; |
75 |
alarm[4] = 30; |
76 |
} |
77 |
if (con == 18) |
78 |
{ |
79 |
with (t) |
80 |
{ |
81 |
sprite_index = spr_toriel_r; |
82 |
hspeed = 2; |
83 |
image_speed = 0.2; |
84 |
} |
85 |
con = 18.1; |
86 |
alarm[4] = 78; |
87 |
} |
88 |
if (con == 19.1) |
89 |
{ |
90 |
fade = instance_create(0, 0, obj_fadeout); |
91 |
fade.fadespeed = 0.02; |
92 |
con = 19; |
93 |
alarm[4] = 10; |
94 |
} |
95 |
if (con == 20) |
96 |
{ |
97 |
with (k) |
98 |
{ |
99 |
hspeed = 0; |
100 |
sprite_index = spr_krisu; |
101 |
vspeed = -0.5; |
102 |
} |
103 |
con = 21; |
104 |
alarm[4] = 40; |
105 |
} |
106 |
if (con == 23) |
107 |
{ |
108 |
instance_create(0, 0, obj_persistentfadein); |
109 |
room_goto(room_alphysclass ); |
110 |
} |
111 |
if (con == 22) |
112 |
{ |
113 |
snd_free_all(); |
114 |
con = 23; |
115 |
} |
116 |
} |
117 |
if (con > 0 && type == 2) |
118 |
{ |
119 |
if (con == 0.1) |
120 |
global.interact = 1; |
121 |
if (con == 1.1) |
122 |
{ |
123 |
with (k) |
124 |
sprite_index = spr_krisr; |
125 |
with (s) |
126 |
{ |
127 |
sprite_index = spr_susie_eatchalk; |
128 |
image_speed = 0.2; |
129 |
} |
130 |
con = 1.2; |
131 |
chalksound = 0; |
132 |
} |
133 |
if (con == 1.2) |
134 |
{ |
135 |
if (s.image_index >= 16 && chalksound == 0) |
136 |
{ |
137 |
chalksound = 1; |
138 |
snd_play(snd_noise); |
139 |
} |
140 |
if (s.image_index >= 21) |
141 |
{ |
142 |
with (s) |
143 |
{ |
144 |
sprite_index = spr_susier; |
145 |
image_speed = 0; |
146 |
image_index = 0; |
147 |
} |
148 |
con = 0.3; |
149 |
alarm[4] = 40; |
150 |
} |
151 |
} |
152 |
if (con == 1.3) |
153 |
{ |
154 |
s.sprite_index = spr_susied; |
155 |
con = 0.4; |
156 |
alarm[4] = 30; |
157 |
} |
158 |
if (con == 1.4) |
159 |
{ |
160 |
s.sprite_index = spr_susiel; |
161 |
s.hspeed = -0.5; |
162 |
s.image_speed = 0.1; |
163 |
con = 0.5; |
164 |
alarm[4] = 40; |
165 |
} |
166 |
if (con == 1.5) |
167 |
{ |
168 |
with (s) |
169 |
{ |
170 |
x = 220; |
171 |
hspeed = 0; |
172 |
image_index = 0; |
173 |
image_speed = 0; |
174 |
} |
175 |
con = 1; |
176 |
instance_create(s.x + 10, s.y - 10, obj_excblcon); |
177 |
with (obj_excblcon) |
178 |
alarm[0] |
179 |
snd_play(snd_b); |
180 |
alarm[4] = 70; |
181 |
} |
182 |
if (con == 2) |
183 |
{ |
184 |
global.fc = 1; |
185 |
global.fe = 0; |
186 |
with (k) |
187 |
sprite_index = spr_krisr; |
188 |
global.facing = 1; |
189 |
global.typer = 10; |
190 |
global.msg[0] = \E1* ... Kris.Wait for input ; |
191 |
global.msg[1] = * ... Didn't see you there.Wait for inputClose Message ; |
192 |
instance_create(0, 0, obj_dialoguer); |
193 |
con = 2.1; |
194 |
} |
195 |
if (con == 2.1 && d_ex() == 0) |
196 |
{ |
197 |
s.sprite_index = spr_susieu; |
198 |
con = 1.6; |
199 |
alarm[4] = 60; |
200 |
} |
201 |
if (con == 2.6) |
202 |
{ |
203 |
s.sprite_index = spr_susier; |
204 |
global.msg[0] = \E1* ... hey.Wait for input ; |
205 |
global.msg[1] = * You didn't see anything just now,Delay 11 did you?Wait for inputClose Message ; |
206 |
con = 3; |
207 |
instance_create(0, 0, obj_dialoguer); |
208 |
} |
209 |
if (con == 3 && instance_exists(obj_dialoguer) == false) |
210 |
{ |
211 |
con = 4; |
212 |
alarm[4] = 90; |
213 |
} |
214 |
if (con == 5) |
215 |
{ |
216 |
with (s) |
217 |
sprite_index = spr_susier_lookup; |
218 |
global.msg[0] = \E0* Hmmm...Wait for input ; |
219 |
global.msg[1] = * ... you can't even say?Wait for inputClose Message ; |
220 |
con = 6; |
221 |
instance_create(0, 0, obj_dialoguer); |
222 |
} |
223 |
if (con == 6 && instance_exists(obj_dialoguer) == false) |
224 |
{ |
225 |
con = 7; |
226 |
alarm[4] = 60; |
227 |
} |
228 |
if (con == 8) |
229 |
{ |
230 |
with (s) |
231 |
sprite_index = spr_susied_plain; |
232 |
con = 9; |
233 |
alarm[4] = 30; |
234 |
} |
235 |
if (con == 10) |
236 |
{ |
237 |
with (s) |
238 |
sprite_index = spr_susiel; |
239 |
con = 11; |
240 |
alarm[4] = 60; |
241 |
} |
242 |
if (con == 12) |
243 |
{ |
244 |
global.fe = 1; |
245 |
global.msg[0] = * Kris...Wait for inputClose Message ; |
246 |
con = 13; |
247 |
instance_create(0, 0, obj_dialoguer); |
248 |
} |
249 |
if (con == 13 && instance_exists(obj_dialoguer) == false) |
250 |
{ |
251 |
with (s) |
252 |
{ |
253 |
hspeed = -1; |
254 |
image_speed = 0.1; |
255 |
} |
256 |
alarm[4] = 56; |
257 |
con = 14; |
258 |
} |
259 |
if (con == 15) |
260 |
{ |
261 |
with (k) |
262 |
{ |
263 |
image_speed = 0.1; |
264 |
hspeed = -0.5; |
265 |
} |
266 |
con = 16; |
267 |
alarm[4] = 80; |
268 |
} |
269 |
if (con == 17) |
270 |
{ |
271 |
with (k) |
272 |
{ |
273 |
hspeed = 0; |
274 |
image_index = 0; |
275 |
image_speed = 0; |
276 |
} |
277 |
with (s) |
278 |
{ |
279 |
hspeed = 0; |
280 |
image_index = 0; |
281 |
image_speed = 0; |
282 |
} |
283 |
con = 18; |
284 |
alarm[4] = 50; |
285 |
} |
286 |
if (con == 19) |
287 |
{ |
288 |
global.msg[0] = * Hey.Wait for inputClose Message ; |
289 |
instance_create(0, 0, obj_dialoguer); |
290 |
con = 20; |
291 |
} |
292 |
if (con == 20 && instance_exists(obj_dialoguer) == false) |
293 |
{ |
294 |
con = 21; |
295 |
with (k) |
296 |
visible = 0; |
297 |
with (s) |
298 |
{ |
299 |
sprite_index = spr_susie_krisshoulder; |
300 |
image_index = 0; |
301 |
image_speed = 0.2; |
302 |
} |
303 |
alarm[4] = 25; |
304 |
} |
305 |
if (con == 22) |
306 |
{ |
307 |
with (s) |
308 |
image_speed = 0; |
309 |
con = 23; |
310 |
alarm[4] = 30; |
311 |
} |
312 |
if (con == 24) |
313 |
{ |
314 |
global.msg[0] = * Let me tell you a secret.Wait for inputClose Message ; |
315 |
instance_create(0, 0, obj_dialoguer); |
316 |
con = 25; |
317 |
} |
318 |
if (con == 25 && instance_exists(obj_dialoguer) == false) |
319 |
{ |
320 |
con = 27; |
321 |
alarm[4] = 50; |
322 |
} |
323 |
if (con == 28) |
324 |
{ |
325 |
with (s) |
326 |
{ |
327 |
sprite_index = spr_susie_krisgrab; |
328 |
image_index = 0; |
329 |
image_speed = 0.334; |
330 |
} |
331 |
con = 29; |
332 |
alarm[4] = 9; |
333 |
} |
334 |
if (con == 30) |
335 |
{ |
336 |
snd_play(snd_locker); |
337 |
con = 31; |
338 |
alarm[4] = 6; |
339 |
} |
340 |
if (con == 32) |
341 |
{ |
342 |
with (s) |
343 |
image_speed = 0; |
344 |
con = 33; |
345 |
alarm[4] = 60; |
346 |
} |
347 |
if (con == 34) |
348 |
{ |
349 |
global.fe = 2; |
350 |
global.msg[0] = * Quiet people piss me off.Wait for inputClose Message ; |
351 |
instance_create(0, 0, obj_dialoguer); |
352 |
con = 35; |
353 |
} |
354 |
if (con == 35 && instance_exists(obj_dialoguer) == false) |
355 |
{ |
356 |
global.currentsong[0] = snd_init("s_neo.ogg"); |
357 |
global.currentsong[1] = mus_loop(global.currentsong[0]); |
358 |
con = 36; |
359 |
alarm[4] = 60; |
360 |
} |
361 |
if (con == 37) |
362 |
{ |
363 |
global.msg[0] = \E0* You think just 'cause you don't say anything...Wait for input ; |
364 |
global.msg[1] = \E1* I can't tell EXACTLY what you're thinking?Wait for input ; |
365 |
global.msg[2] = \E2* "It's OVER! I caught Susie eating ALL the chalk!"Wait for input ; |
366 |
global.msg[3] = * "This was her LAST chance!Delay 11 Now she'll FINALLY be expelled!"Wait for input ; |
367 |
global.msg[4] = \E1* Haha...Delay 11 Come on,Delay 11 Kris.Delay 11 * Don't act shocked.Delay 11 * You know it's true.Wait for input ; |
368 |
global.msg[5] = \E2* Everyone's waiting for it.Delay 11 * Everyone wants it.Wait for input ; |
369 |
global.msg[6] = \E1* So,Delay 11 congrats,Delay 11 Kris.Delay 11 * You got me.Delay 11 * I'm done for.Wait for input ; |
370 |
global.msg[7] = ; |
371 |
global.msg[8] = \E1* Just,Delay 11 lemme say one little thing.Wait for input ; |
372 |
global.msg[9] = \E1* Seems like a waste to get expelled just for having a snack.Wait for input ; |
373 |
global.msg[10] = \E2* So,Delay 11 Kris,Delay 11 if I KNOW you're gonna pull the trigger...Wait for input ; |
374 |
global.msg[11] = \E1* Heh heh heh...Wait for input ; |
375 |
global.msg[12] = \E2* Why don't I just get expelled for some REAL carnage?Wait for input ; |
376 |
global.msg[13] = \E1* Kris...Delay 11 * How do you feel...Wait for inputClose Message ; |
377 |
instance_create(0, 0, obj_dialoguer); |
378 |
con = 38; |
379 |
} |
380 |
if (instance_exists(obj_dialoguer) == false && con == 38) |
381 |
{ |
382 |
snd_free(global.currentsong[0]); |
383 |
with (s) |
384 |
{ |
385 |
sprite_index = spr_susie_grabsmile; |
386 |
image_index = 0; |
387 |
image_speed = 0.2; |
388 |
} |
389 |
con = 39; |
390 |
alarm[4] = 20; |
391 |
} |
392 |
if (con == 40) |
393 |
{ |
394 |
with (s) |
395 |
image_speed = 0; |
396 |
con = 41; |
397 |
alarm[4] = 30; |
398 |
} |
399 |
if (con == 42) |
400 |
{ |
401 |
global.fe = 3; |
402 |
global.typer = 2; |
403 |
global.msg[0] = * ... about losing your face?Wait for inputClose Message ; |
404 |
d = instance_create(0, 0, obj_dialoguer); |
405 |
with (d) |
406 |
skippable = 0; |
407 |
con = 43; |
408 |
} |
409 |
if (con == 43 && instance_exists(obj_dialoguer) == false) |
410 |
{ |
411 |
global.currentsong[0] = snd_init("s_neo_clip.ogg"); |
412 |
audio_sound_pitch(global.currentsong[0], 0.667); |
413 |
global.currentsong[1] = mus_play(global.currentsong[0]); |
414 |
with (s) |
415 |
{ |
416 |
image_index = 0; |
417 |
image_speed = 1/15; |
418 |
sprite_index = spr_susie_krisgrab_eat; |
419 |
} |
420 |
con = 43.5; |
421 |
alarm[4] = 89; |
422 |
} |
423 |
if (con == 44.5) |
424 |
{ |
425 |
snd_free(global.currentsong[0]); |
426 |
with (s) |
427 |
image_speed = 0; |
428 |
con = 44; |
429 |
alarm[4] = 60; |
430 |
} |
431 |
if (con == 45) |
432 |
{ |
433 |
with (s) |
434 |
{ |
435 |
sprite_index = spr_susie_krisdrop; |
436 |
image_speed = 0.334; |
437 |
image_index = 0; |
438 |
} |
439 |
snd_play(snd_noise); |
440 |
con = 46; |
441 |
alarm[4] = 12; |
442 |
} |
443 |
if (con == 47) |
444 |
{ |
445 |
with (s) |
446 |
image_speed = 0; |
447 |
con = 48; |
448 |
alarm[4] = 30; |
449 |
} |
450 |
if (con == 49) |
451 |
{ |
452 |
global.typer = 10; |
453 |
global.fe = 0; |
454 |
with (k) |
455 |
{ |
456 |
visible = 1; |
457 |
sprite_index = spr_krisr_sit; |
458 |
} |
459 |
k.x = s.x - 19; |
460 |
with (s) |
461 |
{ |
462 |
image_index = 0; |
463 |
sprite_index = spr_susier; |
464 |
} |
465 |
con = 50; |
466 |
global.msg[0] = * Nah.Wait for inputClose Message ; |
467 |
instance_create(0, 0, obj_dialoguer); |
468 |
} |
469 |
if (con == 50 && instance_exists(obj_dialoguer) == false) |
470 |
{ |
471 |
with (s) |
472 |
{ |
473 |
hspeed = 2; |
474 |
image_speed = 0.2; |
475 |
} |
476 |
con = 51; |
477 |
alarm[4] = 30; |
478 |
} |
479 |
if (con == 52) |
480 |
{ |
481 |
with (s) |
482 |
{ |
483 |
image_index = 0; |
484 |
image_speed = 0; |
485 |
hspeed = 0; |
486 |
} |
487 |
con = 53; |
488 |
alarm[4] = 30; |
489 |
} |
490 |
if (con == 54) |
491 |
{ |
492 |
with (s) |
493 |
sprite_index = spr_susier_lookup; |
494 |
global.msg[0] = * Kris.Delay 11 * You've got a good mother.Wait for input ; |
495 |
global.msg[1] = \E2* ... it'd be a shame to make her bury her child.Wait for inputClose Message ; |
496 |
instance_create(0, 0, obj_dialoguer); |
497 |
con = 55; |
498 |
} |
499 |
if (con == 55 && instance_exists(obj_dialoguer) == false) |
500 |
{ |
501 |
with (s) |
502 |
sprite_index = spr_susiel; |
503 |
con = 56; |
504 |
alarm[4] = 30; |
505 |
} |
506 |
if (con == 57) |
507 |
{ |
508 |
global.msc = 104; |
509 |
scr_textscr_textfunction scr_text(arg0)
{
switch (arg0)
{
case 0:
break;
case 10:
global.choicemsg[1] = ;
global.choicemsg[0] = ;
global.choicemsg[2] = " ";
global.choicemsg[3] = " ";
global.msg[0] = * You really didn't want to throw it away.Wait for input ;
global.msg[1] = * Throw it away anyway?Wait for input ;
global.msg[2] = ;
break;
case 11:
if (global.choice == 0)
{
global.msg[0] = * You felt a feeling of relief.Wait for inputClose Message ;
}
else
{
global.msg[0] = * Hand shaking,Delay 11 you dropped the ball of junk on the ground.Wait for input ;
global.msg[1] = * It broke into pieces.Wait for input ;
global.msg[2] = * You felt bitter.Wait for inputClose Message ;
script_execute(scr_litemshift, global.menucoord[1], 0);
for (i = 0; i < 12; i += 1)
{
global.item[i] = 0;
global.weapon[i] = 0;
global.armor[i] = 0;
}
}
break;
case 100:
global.msg[0] = * Hey, Kris!Delay 11 What's up?Delay 11 * Didja lose your pencil again?Wait for input ;
global.msg[1] = \E4* Here,Delay 11 you want the candy-cane one or the one with lights on it?Wait for input ;
global.msg[2] = \E1* Huh?Delay 11 * You want to be partners?Wait for input ;
global.msg[3] = \E4* Ummm...Delay 11 Sorry...Delay 11 * Berdly already asked me...Wait for input ;
global.msg[4] = \E0* But I could ask Ms. Alphys if we could make a group of 3!Wait for input ;
global.msg[5] = \E4* I'll ask if you're sure!
Not yet Yes. Ask.\C1 ;
global.msg[6] = " ";
break;
case 101:
if (global.choice == 1)
{
global.msg[0] = \E0* OK,Delay 11 I'll ask!Wait for input ;
global.msg[1] = * Miss Alphys!Delay 11 * Umm,Delay 11 is it OK if we have a group of 3?Wait for inputClose Message ;
with (obj_classscene)
con = 20;
}
if (global.choice == 0)
global.msg[0] = \E4* Yeah,Delay 11 I'm sure there's someone else you can ask!Wait for inputClose Message ;
break;
case 102:
global.msg[0] = \E0* Do you wanna be partners? Not yet Yes\C1 ;
global.msg[1] = " ";
break;
case 103:
if (global.choice == 1)
{
global.msg[0] = \E0* OK,Delay 11 I'll ask!Wait for input ;
global.msg[1] = * Miss Alphys!Delay 11 * Umm,Delay 11 is it OK if we have a group of 3?Wait for inputClose Message ;
with (obj_classscene)
con = 20;
}
if (global.choice == 0)
global.msg[0] = \E4* Umm,Delay 11 OK.Delay 11 * You just keep doing your thing,Delay 11 Kris.Wait for inputClose Message ;
break;
case 104:
global.msg[0] = \E0* Alright.Delay 11 * Let's get this over with.Wait for input ;
global.msg[1] = * We'll get more chalk.Delay 11 * Mosey back to class.Delay 11 * And then,Delay 11 Kris...Wait for input ;
global.msg[2] = \E2* YOU'LL do our project.Wait for input ;
global.msg[3] = * How's that sound?
Good Bad\C1 ;
global.msg[4] = " ";
break;
case 105:
global.msg[0] = " %%";
break;
case 110:
global.choicemsg[0] = ;
global.choicemsg[1] = ;
global.choicemsg[2] = " ";
global.choicemsg[3] = " ";
if ( global.flag[100 got_glowshard] == 0)
{
global.msg[0] = * (There's something glowing inside.)Wait for input ;
global.msg[1] = * (Take it?)Wait for input ;
global.msg[2] = ;
}
else
{
global.msg[0] = * (It's dark inside.)Wait for inputClose Message ;
}
break;
case 111:
if (global.choice == 0)
{
global.msg[0] = * (You got the Glowshard.)Wait for inputClose Message ;
global.flag[100 got_glowshard] = 1;
scr_itemget(3);
... (global.msc); |
510 |
instance_create(0, 0, obj_dialoguer); |
511 |
con = 57.1; |
512 |
choosetimer = 0; |
513 |
} |
514 |
if (con == 57.1) |
515 |
{ |
516 |
if (instance_exists(obj_choicer_old)) |
517 |
{ |
518 |
choosetimer += 1; |
519 |
if (choosetimer >= 30) |
520 |
{ |
521 |
if (obj_choicer_old.choiced == 0) |
522 |
{ |
523 |
with (obj_choicer_old) |
524 |
{ |
525 |
canchoose = 1; |
526 |
mychoice = 1; |
527 |
event_user(0); |
528 |
} |
529 |
} |
530 |
con = 58; |
531 |
} |
532 |
} |
533 |
if (!d_ex()) |
534 |
con = 58; |
535 |
} |
536 |
if (con == 58 && instance_exists(obj_dialoguer) == false) |
537 |
{ |
538 |
with (s) |
539 |
sprite_index = spr_susier; |
540 |
global.msg[0] = \E0* Don't bother answering.Wait for input ; |
541 |
global.msg[1] = \E0* If you haven't gotten it by now...Wait for input ; |
542 |
global.msg[2] = \E2* Your choices don't matter.Wait for inputClose Message ; |
543 |
instance_create(0, 0, obj_dialoguer); |
544 |
con = 59; |
545 |
} |
546 |
if (con == 59 && instance_exists(obj_dialoguer) == false) |
547 |
{ |
548 |
with (s) |
549 |
{ |
550 |
image_speed = 0.2; |
551 |
hspeed = 2; |
552 |
} |
553 |
con = 60; |
554 |
alarm[4] = 20; |
555 |
} |
556 |
if (con == 61) |
557 |
{ |
558 |
with (s) |
559 |
{ |
560 |
hspeed = 0; |
561 |
image_speed = 0; |
562 |
image_index = 0; |
563 |
} |
564 |
con = 62; |
565 |
alarm[4] = 30; |
566 |
} |
567 |
if (con == 63) |
568 |
{ |
569 |
global.msg[0] = \E2* Let's go,Delay 11 freak.Wait for inputClose Message ; |
570 |
instance_create(0, 0, obj_dialoguer); |
571 |
con = 64; |
572 |
} |
573 |
if (con == 64 && instance_exists(obj_dialoguer) == false) |
574 |
{ |
575 |
interact = instance_create(110, 200, obj_readable_room1); |
576 |
obj_mainchara.x = k.x + 6; |
577 |
obj_mainchara.y = k.y + 2; |
578 |
with (k) |
579 |
instance_destroy(); |
580 |
global.facing = 1; |
581 |
global.interact = 0; |
582 |
with (obj_mainchara) |
583 |
visible = 1; |
584 |
con = 1; |
585 |
type = 3; |
586 |
scon = 1; |
587 |
} |
588 |
} |
589 |
if (type == 3) |
590 |
{ |
591 |
with (s) |
592 |
scr_depth(); |
593 |
if (scon == 1) |
594 |
{ |
595 |
if (s.x < 448) |
596 |
{ |
597 |
with (s) |
598 |
{ |
599 |
hspeed = 3; |
600 |
image_speed = 0.2; |
601 |
if (obj_mainchara.px > 3) |
602 |
{ |
603 |
obj_schoollobbycutscene.ran += 1; |
604 |
hspeed = obj_mainchara.px + 1; |
605 |
image_speed = 0.4; |
606 |
} |
607 |
} |
608 |
} |
609 |
else |
610 |
{ |
611 |
with (s) |
612 |
{ |
613 |
x = 450; |
614 |
sprite_index = spr_susiel; |
615 |
hspeed = 0; |
616 |
image_index = 0; |
617 |
image_speed = 0; |
618 |
} |
619 |
scon = 2; |
620 |
} |
621 |
} |
622 |
if (scon == 2) |
623 |
{ |
624 |
if (obj_mainchara.x >= 404) |
625 |
scon = 3; |
626 |
} |
627 |
if (scon == 3) |
628 |
{ |
629 |
with (s) |
630 |
{ |
631 |
sprite_index = spr_susieu; |
632 |
image_speed = 0.2; |
633 |
vspeed = -3; |
634 |
if (obj_mainchara.py < -3) |
635 |
{ |
636 |
obj_schoollobbycutscene.ran += 1; |
637 |
vspeed = obj_mainchara.py - 1; |
638 |
image_speed = 0.4; |
639 |
} |
640 |
} |
641 |
if (s.y <= 42) |
642 |
{ |
643 |
with (s) |
644 |
{ |
645 |
sprite_index = spr_susied; |
646 |
speed = 0; |
647 |
image_index = 0; |
648 |
image_speed = 0; |
649 |
} |
650 |
scon = 4; |
651 |
} |
652 |
} |
653 |
if (scon == 4) |
654 |
{ |
655 |
if (obj_mainchara.y <= 80 && global.interact == 0) |
656 |
{ |
657 |
global.interact = 1; |
658 |
scon = 5; |
659 |
global.fc = 1; |
660 |
global.typer = 10; |
661 |
global.fe = 1; |
662 |
if (ran < 15) |
663 |
{ |
664 |
global.msg[0] = * God,Delay 11 can you walk any slower, or what?Wait for input ; |
665 |
global.msg[1] = \E0* Nah, I get it.Wait for input ; |
666 |
global.msg[2] = \E1* Not used to walking around without someone holding your hand?Wait for input ; |
667 |
global.msg[3] = \E2* C'mon,Delay 11 freak.Wait for inputClose Message ; |
668 |
} |
669 |
if (ran >= 15) |
670 |
{ |
671 |
global.flag[200 ran_in_school] = 1; |
672 |
global.msg[0] = * Hey,Delay 11 you walk pretty fast.Wait for input ; |
673 |
global.msg[1] = \E0* Then again...Wait for input ; |
674 |
global.msg[2] = \E1* Guess you've got a lot of experience running away,Delay 11 huh?Wait for input ; |
675 |
global.msg[3] = \E2* C'mon,Delay 11 freak.Wait for inputClose Message ; |
676 |
} |
677 |
instance_create(0, 0, obj_dialoguer); |
678 |
} |
679 |
} |
680 |
if (scon == 5 && instance_exists(obj_dialoguer) == false) |
681 |
{ |
682 |
with (obj_doorC) |
683 |
instance_destroy(); |
684 |
with (s) |
685 |
{ |
686 |
vspeed = -1; |
687 |
sprite_index = spr_susieu; |
688 |
image_speed = 0.2; |
689 |
} |
690 |
with (obj_mainchara) |
691 |
{ |
692 |
fun = 1; |
693 |
sprite_index = spr_krisu; |
694 |
image_speed = 0.2; |
695 |
move_towards_point(450, 20, 1); |
696 |
} |
697 |
f = instance_create(0, 0, obj_fadeout); |
698 |
with (f) |
699 |
fadespeed = 0.03; |
700 |
scon = 6; |
701 |
con = 5; |
702 |
alarm[4] = 34; |
703 |
} |
704 |
if (con == 6) |
705 |
{ |
706 |
global.plot = 4; |
707 |
instance_create(0, 0, obj_persistentfadein); |
708 |
room_goto(room_schooldoor ); |
709 |
con = 7; |
710 |
} |
711 |
if (obj_mainchara.x >= 560 && global.interact == 0) |
712 |
{ |
713 |
obj_mainchara.x = 558; |
714 |
global.interact = 1; |
715 |
global.facing = 3; |
716 |
global.fc = 1; |
717 |
global.typer = 10; |
718 |
global.fe = 0; |
719 |
dex = 1; |
720 |
global.msg[0] = ; |
721 |
global.msg[1] = \E2* What,Delay 11 realized the baby classroom was a better fit for you?Wait for input ; |
722 |
global.msg[2] = \E0* Hey,Delay 11 actually,Delay 11 I should come with you.Wait for input ; |
723 |
global.msg[3] = \E1* Maybe I'll find a better partner in there.Wait for input ; |
724 |
global.msg[4] = \E0* ... nah,Delay 11 actually,Delay 11 let's not.Wait for inputClose Message ; |
725 |
if (teast > 0) |
726 |
global.msg[0] = * Wrong way,Delay 11 Kris.Wait for inputClose Message ; |
727 |
teast += 1; |
728 |
instance_create(0, 0, obj_dialoguer); |
729 |
} |
730 |
if (obj_mainchara.y >= 300 && global.interact == 0) |
731 |
{ |
732 |
obj_mainchara.y = 298; |
733 |
global.interact = 1; |
734 |
global.facing = 2; |
735 |
global.fc = 1; |
736 |
global.typer = 10; |
737 |
global.fe = 0; |
738 |
dex = 1; |
739 |
global.msg[0] = * Kris...? You just gonna skip school...?Wait for input ; |
740 |
global.msg[1] = \E2* What, am I supposed to snitch on YOU?Delay 11 * That'd be rich, huh?Wait for input ; |
741 |
global.msg[2] = \E0* ... nah,Delay 11 I wouldn't.Delay 11 * Get back here.Wait for inputClose Message ; |
742 |
if (tsouth > 0) |
743 |
global.msg[0] = * Kris,Delay 11 if you skip school,Delay 11 your mom'll have a heart attack.Wait for inputClose Message ; |
744 |
tsouth += 1; |
745 |
instance_create(0, 0, obj_dialoguer); |
746 |
} |
747 |
if (dex == 1 && instance_exists(obj_dialoguer) == false && global.interact == 1) |
748 |
{ |
749 |
dex = 0; |
750 |
global.interact = 0; |
751 |
} |
752 |
} |
753 |
if (type == 4) |
754 |
{ |
755 |
if (global.flag[272 times_called_mom] == 0 && global.interact == 0 && con == 0) |
756 |
{ |
757 |
if (obj_mainchara.y >= 320) |
758 |
{ |
759 |
global.fc = 0; |
760 |
global.typer = 5; |
761 |
global.interact = 1; |
762 |
global.msc = 365; |
763 |
scr_textscr_textfunction scr_text(arg0)
{
switch (arg0)
{
case 0:
break;
case 10:
global.choicemsg[1] = ;
global.choicemsg[0] = ;
global.choicemsg[2] = " ";
global.choicemsg[3] = " ";
global.msg[0] = * You really didn't want to throw it away.Wait for input ;
global.msg[1] = * Throw it away anyway?Wait for input ;
global.msg[2] = ;
break;
case 11:
if (global.choice == 0)
{
global.msg[0] = * You felt a feeling of relief.Wait for inputClose Message ;
}
else
{
global.msg[0] = * Hand shaking,Delay 11 you dropped the ball of junk on the ground.Wait for input ;
global.msg[1] = * It broke into pieces.Wait for input ;
global.msg[2] = * You felt bitter.Wait for inputClose Message ;
script_execute(scr_litemshift, global.menucoord[1], 0);
for (i = 0; i < 12; i += 1)
{
global.item[i] = 0;
global.weapon[i] = 0;
global.armor[i] = 0;
}
}
break;
case 100:
global.msg[0] = * Hey, Kris!Delay 11 What's up?Delay 11 * Didja lose your pencil again?Wait for input ;
global.msg[1] = \E4* Here,Delay 11 you want the candy-cane one or the one with lights on it?Wait for input ;
global.msg[2] = \E1* Huh?Delay 11 * You want to be partners?Wait for input ;
global.msg[3] = \E4* Ummm...Delay 11 Sorry...Delay 11 * Berdly already asked me...Wait for input ;
global.msg[4] = \E0* But I could ask Ms. Alphys if we could make a group of 3!Wait for input ;
global.msg[5] = \E4* I'll ask if you're sure!
Not yet Yes. Ask.\C1 ;
global.msg[6] = " ";
break;
case 101:
if (global.choice == 1)
{
global.msg[0] = \E0* OK,Delay 11 I'll ask!Wait for input ;
global.msg[1] = * Miss Alphys!Delay 11 * Umm,Delay 11 is it OK if we have a group of 3?Wait for inputClose Message ;
with (obj_classscene)
con = 20;
}
if (global.choice == 0)
global.msg[0] = \E4* Yeah,Delay 11 I'm sure there's someone else you can ask!Wait for inputClose Message ;
break;
case 102:
global.msg[0] = \E0* Do you wanna be partners? Not yet Yes\C1 ;
global.msg[1] = " ";
break;
case 103:
if (global.choice == 1)
{
global.msg[0] = \E0* OK,Delay 11 I'll ask!Wait for input ;
global.msg[1] = * Miss Alphys!Delay 11 * Umm,Delay 11 is it OK if we have a group of 3?Wait for inputClose Message ;
with (obj_classscene)
con = 20;
}
if (global.choice == 0)
global.msg[0] = \E4* Umm,Delay 11 OK.Delay 11 * You just keep doing your thing,Delay 11 Kris.Wait for inputClose Message ;
break;
case 104:
global.msg[0] = \E0* Alright.Delay 11 * Let's get this over with.Wait for input ;
global.msg[1] = * We'll get more chalk.Delay 11 * Mosey back to class.Delay 11 * And then,Delay 11 Kris...Wait for input ;
global.msg[2] = \E2* YOU'LL do our project.Wait for input ;
global.msg[3] = * How's that sound?
Good Bad\C1 ;
global.msg[4] = " ";
break;
case 105:
global.msg[0] = " %%";
break;
case 110:
global.choicemsg[0] = ;
global.choicemsg[1] = ;
global.choicemsg[2] = " ";
global.choicemsg[3] = " ";
if ( global.flag[100 got_glowshard] == 0)
{
global.msg[0] = * (There's something glowing inside.)Wait for input ;
global.msg[1] = * (Take it?)Wait for input ;
global.msg[2] = ;
}
else
{
global.msg[0] = * (It's dark inside.)Wait for inputClose Message ;
}
break;
case 111:
if (global.choice == 0)
{
global.msg[0] = * (You got the Glowshard.)Wait for inputClose Message ;
global.flag[100 got_glowshard] = 1;
scr_itemget(3);
... (global.msc); |
764 |
snd_play(snd_phone); |
765 |
if (global.flag[272 times_called_mom] == 0) |
766 |
global.flag[272 times_called_mom] = 1; |
767 |
con = 2; |
768 |
instance_create(0, 0, obj_dialoguer); |
769 |
} |
770 |
} |
771 |
if (con == 2 && !d_ex()) |
772 |
{ |
773 |
global.interact = 0; |
774 |
con = 3; |
775 |
} |
776 |
} |