1 |
if (con > 0 && con < 40) |
2 |
{ |
3 |
if (con == 1) |
4 |
global.interact = 1; |
5 |
if (con == 2) |
6 |
{ |
7 |
with (k) |
8 |
scr_halt(); |
9 |
with (s) |
10 |
scr_halt(); |
11 |
con = 3; |
12 |
alarm[4] = 30; |
13 |
} |
14 |
if (con == 4) |
15 |
{ |
16 |
global.typer = 10; |
17 |
global.fc = 1; |
18 |
global.fe = 0; |
19 |
global.msg[0] = stringsetloc(* Well,Delay 11 here's the closet.Delay 11 * Too bad...Wait for input"* Well^1, here's the closet^1.&* Too bad.../", "obj_darkdoor_slash_Step_0_gml_21_0" ); |
20 |
global.msg[1] = stringsetloc(Face 2* We were just starting to have fun.Wait for inputClose Message"\\E2* We were just starting to have fun./%", "obj_darkdoor_slash_Step_0_gml_22_0" ); |
21 |
instance_create(0, 0, obj_dialoguer); |
22 |
con = 4.5; |
23 |
} |
24 |
if (con == 4.5 && instance_exists(obj_dialoguer) == false) |
25 |
{ |
26 |
snd_play(snd_locker); |
27 |
image_index = 1; |
28 |
con = 5.5; |
29 |
alarm[4] = 60; |
30 |
} |
31 |
if (con == 6.5) |
32 |
{ |
33 |
global.currentsong[0] = snd_init("creepydoor.ogg"); |
34 |
mus_loop(global.currentsong[0]); |
35 |
open = 1; |
36 |
con = 6; |
37 |
alarm[4] = 60; |
38 |
} |
39 |
if (con == 7) |
40 |
{ |
41 |
with (s) |
42 |
{ |
43 |
vspeed = 0.5; |
44 |
image_speed = 0.1; |
45 |
} |
46 |
with (k) |
47 |
{ |
48 |
vspeed = 0.5; |
49 |
image_speed = 0.1; |
50 |
} |
51 |
con = 8; |
52 |
alarm[4] = 30; |
53 |
} |
54 |
if (con == 9) |
55 |
{ |
56 |
with (s) |
57 |
scr_halt(); |
58 |
with (k) |
59 |
scr_halt(); |
60 |
con = 10; |
61 |
alarm[4] = 30; |
62 |
} |
63 |
if (con == 11) |
64 |
{ |
65 |
global.fe = 5; |
66 |
global.msg[0] = stringsetloc(Face 5* ...Wait for input"\\E5* .../", "obj_darkdoor_slash_Step_0_gml_72_0" ); |
67 |
global.msg[1] = stringsetloc(* Hey,Delay 11 Kris,Delay 11 is it me,Delay 11 or...Wait for input"* Hey^1, Kris^1, is it me^1, or.../", "obj_darkdoor_slash_Step_0_gml_73_0" ); |
68 |
global.msg[2] = stringsetloc(Face 6* Is it REALLY dark in there?Wait for inputClose Message"\\E6* Is it REALLY dark in there?/%", "obj_darkdoor_slash_Step_0_gml_74_0" ); |
69 |
instance_create(0, 0, obj_dialoguer); |
70 |
with (s) |
71 |
sprite_index = spr_susiel; |
72 |
con = 12; |
73 |
} |
74 |
if (con == 12 && instance_exists(obj_dialoguer) == false) |
75 |
{ |
76 |
with (s) |
77 |
sprite_index = spr_susieu; |
78 |
con = 13; |
79 |
alarm[4] = 90; |
80 |
} |
81 |
if (con == 14) |
82 |
{ |
83 |
with (s) |
84 |
sprite_index = spr_susiel; |
85 |
global.msg[0] = stringsetloc(Face 6* What's the holdup,Delay 11 Kris?Delay 11 * Are you gonna go in or what?Wait for inputClose Message"\\E6* What's the holdup^1, Kris^1?&* Are you gonna go in or what?/%", "obj_darkdoor_slash_Step_0_gml_90_0" ); |
86 |
instance_create(0, 0, obj_dialoguer); |
87 |
con = 15; |
88 |
} |
89 |
if (con == 15 && instance_exists(obj_dialoguer) == false) |
90 |
{ |
91 |
with (k) |
92 |
{ |
93 |
vspeed = 0.5; |
94 |
image_speed = 0.1; |
95 |
} |
96 |
con = 14.5; |
97 |
alarm[4] = 30; |
98 |
} |
99 |
if (con == 15.5) |
100 |
{ |
101 |
with (k) |
102 |
scr_halt(); |
103 |
con = 16; |
104 |
alarm[4] = 60; |
105 |
} |
106 |
if (con == 17) |
107 |
{ |
108 |
with (s) |
109 |
sprite_index = spr_susiel; |
110 |
global.msg[0] = stringsetloc(Face 7* Fine!Delay 11 * If you're gonna be a WIMP,Delay 11 then I'll...Wait for inputClose Message"\\E7* Fine^1!&* If you're gonna be a WIMP^1, then I'll.../%", "obj_darkdoor_slash_Step_0_gml_117_0" ); |
111 |
instance_create(0, 0, obj_dialoguer); |
112 |
con = 18; |
113 |
} |
114 |
if (con == 18 && instance_exists(obj_dialoguer) == false) |
115 |
{ |
116 |
with (s) |
117 |
sprite_index = spr_susieu; |
118 |
con = 19; |
119 |
alarm[4] = 90; |
120 |
} |
121 |
if (con == 20) |
122 |
{ |
123 |
with (s) |
124 |
sprite_index = spr_susiel; |
125 |
global.msg[0] = stringsetloc(Face 7* We'll both go in at the same time!!Wait for inputClose Message"\\E7* We'll both go in at the same time!!/%", "obj_darkdoor_slash_Step_0_gml_132_0" ); |
126 |
instance_create(0, 0, obj_dialoguer); |
127 |
con = 21; |
128 |
} |
129 |
if (con == 21 && instance_exists(obj_dialoguer) == false) |
130 |
{ |
131 |
with (s) |
132 |
{ |
133 |
sprite_index = spr_susieu; |
134 |
vspeed = -0.5; |
135 |
image_speed = 0.1; |
136 |
} |
137 |
with (k) |
138 |
{ |
139 |
vspeed = -0.5; |
140 |
image_speed = 0.1; |
141 |
} |
142 |
con = 22; |
143 |
alarm[4] = 30; |
144 |
} |
145 |
if (con == 23) |
146 |
{ |
147 |
fade = instance_create(0, 0, obj_fadeout); |
148 |
with (fade) |
149 |
fadespeed = 0.03; |
150 |
con = 24; |
151 |
alarm[4] = 34; |
152 |
} |
153 |
if (con == 25) |
154 |
{ |
155 |
con = 26; |
156 |
global.plot = 5; |
157 |
instance_create(0, 0, obj_persistentfadein); |
158 |
room_goto(room_insidecloset ); |
159 |
} |
160 |
} |
161 |
if (con >= 40) |
162 |
{ |
163 |
if (con == 40) |
164 |
{ |
165 |
snd_free_all(); |
166 |
global.currentsong[0] = snd_init("mus_birdnoise.ogg"); |
167 |
global.currentsong[1] = mus_loop_ext(global.currentsong[0], 0.6, 0.7); |
168 |
global.interact = 1; |
169 |
s = 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;
} (479, 92, spr_susiel_plain); |
170 |
with (s) |
171 |
scr_depth(); |
172 |
with (obj_mainchara) |
173 |
{ |
174 |
x = obj_markerD.x; |
175 |
y = obj_markerD.y; |
176 |
} |
177 |
con = 41; |
178 |
alarm[4] = 45; |
179 |
} |
180 |
if (con == 42) |
181 |
{ |
182 |
global.typer = 10; |
183 |
global.fc = 1; |
184 |
global.fe = 0; |
185 |
global.flag[29 susie_show_eyes] = 1; |
186 |
global.msg[0] = stringsetloc(* Man,Delay 11 the sun's already setting...Wait for input"* Man^1, the sun's already setting.../", "obj_darkdoor_slash_Step_0_gml_194_0" ); |
187 |
global.msg[1] = stringsetloc(Face 3* Everyone else must have gone home by now.Wait for inputClose Message"\\E3* Everyone else must have gone home by now./%", "obj_darkdoor_slash_Step_0_gml_195_0" ); |
188 |
instance_create(0, 0, obj_dialoguer); |
189 |
con = 43; |
190 |
} |
191 |
if (con == 43 && !d_ex()) |
192 |
{ |
193 |
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;
} (obj_mainchara.x, obj_mainchara.y, spr_krisl); |
194 |
with (k) |
195 |
scr_depth(); |
196 |
with (obj_mainchara) |
197 |
visible = 0; |
198 |
with (s) |
199 |
sprite_index = spr_susier; |
200 |
con = 44; |
201 |
alarm[4] = 30; |
202 |
} |
203 |
if (con == 45) |
204 |
{ |
205 |
global.fe = 2; |
206 |
global.msg[0] = stringsetloc(Face 2* Guess Alphys'll know better than to ask US next time,Delay 11 huh?Wait for inputClose Message"\\E2* Guess Alphys'll know better than to ask US next time^1, huh?/%", "obj_darkdoor_slash_Step_0_gml_215_0" ); |
207 |
con = 50; |
208 |
instance_create(0, 0, obj_dialoguer); |
209 |
} |
210 |
if (con == 50 && !d_ex()) |
211 |
{ |
212 |
with (s) |
213 |
{ |
214 |
hspeed = -2; |
215 |
image_speed = 0.2; |
216 |
sprite_index = spr_susiel; |
217 |
} |
218 |
with (k) |
219 |
{ |
220 |
hspeed = -2; |
221 |
image_speed = 0.2; |
222 |
} |
223 |
with (obj_mainchara) |
224 |
hspeed = -2; |
225 |
con = 51; |
226 |
alarm[4] = 100; |
227 |
} |
228 |
if (con == 52) |
229 |
{ |
230 |
with (s) |
231 |
scr_halt(); |
232 |
with (k) |
233 |
scr_halt(); |
234 |
with (obj_mainchara) |
235 |
scr_halt(); |
236 |
with (s) |
237 |
sprite_index = spr_susieu; |
238 |
with (k) |
239 |
sprite_index = spr_krisu; |
240 |
con = 51.1; |
241 |
alarm[4] = 60; |
242 |
} |
243 |
if (con == 52.1) |
244 |
{ |
245 |
global.fe = 0; |
246 |
global.msg[0] = stringsetloc(* ...Wait for inputClose Message"* .../%", "obj_darkdoor_slash_Step_0_gml_252_0" ); |
247 |
instance_create(0, 0, obj_dialoguer); |
248 |
con = 52.2; |
249 |
} |
250 |
if (con == 52.2 && !d_ex()) |
251 |
{ |
252 |
con = 53; |
253 |
alarm[4] = 30; |
254 |
} |
255 |
if (con == 54) |
256 |
{ |
257 |
with (s) |
258 |
sprite_index = spr_susier_plain; |
259 |
with (k) |
260 |
sprite_index = spr_krisl; |
261 |
global.fe = 1; |
262 |
global.msg[0] = stringsetloc(Face 1* Well,Delay 11 guess we should go.Wait for input"\\E1* Well^1, guess we should go./", "obj_darkdoor_slash_Step_0_gml_268_0" ); |
263 |
global.msg[1] = stringsetloc(Face 0* ...Wait for input"\\E0* .../", "obj_darkdoor_slash_Step_0_gml_269_0" ); |
264 |
global.msg[2] = stringsetloc(Face 1* See ya later,Delay 11 I guess.Wait for inputClose Message"\\E1* See ya later^1, I guess./%", "obj_darkdoor_slash_Step_0_gml_270_0" ); |
265 |
instance_create(0, 0, obj_dialoguer); |
266 |
con = 55; |
267 |
} |
268 |
if (con == 55 && !d_ex()) |
269 |
{ |
270 |
with (k) |
271 |
sprite_index = spr_krisd; |
272 |
with (s) |
273 |
{ |
274 |
sprite_index = spr_susied_plain; |
275 |
image_speed = 0.1; |
276 |
vspeed = 0.5; |
277 |
} |
278 |
con = 56; |
279 |
alarm[4] = 60; |
280 |
} |
281 |
if (con == 57) |
282 |
{ |
283 |
with (s) |
284 |
scr_halt(); |
285 |
con = 58; |
286 |
alarm[4] = 30; |
287 |
} |
288 |
if (con == 59) |
289 |
{ |
290 |
global.fe = 0; |
291 |
global.msg[0] = stringsetloc(Face 0* ...Wait for input"\\E0* .../", "obj_darkdoor_slash_Step_0_gml_298_0" ); |
292 |
global.msg[1] = stringsetloc(Face 1* ...Wait for input"\\E1* .../", "obj_darkdoor_slash_Step_0_gml_299_0" ); |
293 |
global.msg[2] = stringsetloc(Face 0* ... Kris?Wait for inputClose Message"\\E0* ... Kris?/%", "obj_darkdoor_slash_Step_0_gml_300_0" ); |
294 |
con = 60; |
295 |
d = instance_create(0, 0, obj_dialoguer); |
296 |
with (d) |
297 |
side = 0; |
298 |
} |
299 |
if (con == 60 && !d_ex()) |
300 |
{ |
301 |
with (s) |
302 |
sprite_index = spr_susier_plain; |
303 |
con = 61; |
304 |
alarm[4] = 30; |
305 |
} |
306 |
if (con == 62) |
307 |
{ |
308 |
with (s) |
309 |
{ |
310 |
vspeed = -2; |
311 |
hspeed = 0.75; |
312 |
image_speed = 0.25; |
313 |
sprite_index = spr_susieu; |
314 |
} |
315 |
with (k) |
316 |
sprite_index = spr_krisl; |
317 |
con = 63; |
318 |
alarm[4] = 15; |
319 |
} |
320 |
if (con == 64) |
321 |
{ |
322 |
with (s) |
323 |
{ |
324 |
scr_halt(); |
325 |
sprite_index = spr_susier_plain; |
326 |
} |
327 |
con = 65; |
328 |
alarm[4] = 20; |
329 |
} |
330 |
if (con == 66) |
331 |
{ |
332 |
with (k) |
333 |
visible = 0; |
334 |
with (s) |
335 |
{ |
336 |
sprite_index = spr_susie_krisshoulder_r; |
337 |
image_speed = 0.2; |
338 |
} |
339 |
con = 67; |
340 |
alarm[4] = 20; |
341 |
} |
342 |
if (con == 68) |
343 |
{ |
344 |
with (s) |
345 |
image_speed = 0; |
346 |
con = 69; |
347 |
alarm[4] = 60; |
348 |
} |
349 |
if (con == 70) |
350 |
{ |
351 |
global.fe = 8; |
352 |
global.flag[6 disable_text_skip] = 1; |
353 |
global.msg[0] = stringsetloc(Face 8* Let's go back there tomorrow, alright?Wait for inputClose Message"\\E8* Let's go back there tomorrow, alright?/%", "obj_darkdoor_slash_Step_0_gml_363_0" ); |
354 |
d = instance_create(0, 0, obj_dialoguer); |
355 |
with (obj_writer) |
356 |
skippable = 0; |
357 |
with (d) |
358 |
skippable = 0; |
359 |
with (d) |
360 |
side = 0; |
361 |
con = 70.1; |
362 |
} |
363 |
if (con == 70.1 && !d_ex()) |
364 |
{ |
365 |
con = 69.2; |
366 |
alarm[4] = 30; |
367 |
} |
368 |
if (con == 70.2 && !d_ex()) |
369 |
{ |
370 |
with (s) |
371 |
image_speed = -0.24; |
372 |
con = 69.3; |
373 |
alarm[4] = 16; |
374 |
} |
375 |
if (con == 70.3) |
376 |
{ |
377 |
with (s) |
378 |
scr_halt(); |
379 |
con = 72; |
380 |
alarm[4] = 30; |
381 |
} |
382 |
if (con == 73 && !d_ex()) |
383 |
{ |
384 |
with (k) |
385 |
{ |
386 |
visible = 1; |
387 |
sprite_index = spr_krisd; |
388 |
} |
389 |
with (s) |
390 |
{ |
391 |
sprite_index = spr_susied; |
392 |
image_speed = 0.2; |
393 |
vspeed = 3; |
394 |
} |
395 |
con = 74; |
396 |
alarm[4] = 30; |
397 |
} |
398 |
if (con == 75) |
399 |
{ |
400 |
global.flag[6 disable_text_skip] = 0; |
401 |
if (global.plot < 251) |
402 |
global.plot = 251; |
403 |
con = 76; |
404 |
global.interact = 0; |
405 |
with (obj_mainchara) |
406 |
visible = 1; |
407 |
with (k) |
408 |
instance_destroy(); |
409 |
} |
410 |
} |