1 |
if (con == -1) |
2 |
{ |
3 |
con = 1; |
4 |
global.interact = 1; |
5 |
cutscene_master = scr_cutscene_makescr_cutscene_makefunction scr_cutscene_make()
{
_cutscene_master = instance_create(0, 0, obj_cutscene_master);
_cutscene_master.master_object = id;
return _cutscene_master;
} (); |
6 |
scr_maincharacters_actorsscr_maincharacters_actorsfunction scr_maincharacters_actors()
{
actor_count = 0;
kr = 0;
kr_actor = instance_create(obj_mainchara.x, obj_mainchara.y, obj_actor);
scr_actor_setup(kr, kr_actor, "kris");
kr_actor.sprite_index = obj_mainchara.sprite_index;
kr_actor.depth = obj_mainchara.depth;
with (obj_mainchara)
visible = 0;
for (__jj = 0; __jj < array_length_1d(global.cinstance); __jj++)
{
if (i_ex(global.cinstance[__jj]))
{
if (global.cinstance[__jj].name == "susie")
{
actor_count++;
su = __jj + 1;
su_actor = instance_create(global.cinstance[__jj].x, global.cinstance[__jj].y, obj_actor);
scr_actor_setup(su, su_actor, "susie");
su_actor.sprite_index = global.cinstance[__jj].sprite_index;
su_actor.depth = global.cinstance[__jj].depth;
with (global.cinstance[__jj])
visible = 0;
}
if (global.cinstance[__jj].name == "ralsei")
{
actor_count++;
ra = __jj + 1;
ra_actor = instance_create(global.cinstance[__jj].x, global.cinstance[__jj].y, obj_actor);
scr_actor_setup(ra, ra_actor, "ralsei");
ra_actor.sprite_index = global.cinstance[__jj].sprite_index;
ra_actor.depth = global.cinstance[__jj].depth;
with (global.cinstance[__jj])
visible = 0;
}
if (global.cinstance[__jj].name == "noelle")
{
actor_count++;
no = __jj + 1;
no_actor = instance_create(global.cinstance[__jj].x, global.cinstance[__jj].y, obj_actor);
scr_actor_setup(no, no_actor, "noelle");
no_actor.sprite_index = global.cinstance[__jj].sprite_index;
no_actor.depth = global.cinstance[__jj].depth;
with (global.cinstance[__jj])
visible = 0;
}
}
}
} (); |
7 |
c_sel(kr); |
8 |
c_setxy(108, 147); |
9 |
su = 2; |
10 |
su_actor = instance_create(289, 95, obj_actor); |
11 |
scr_actor_setupscr_actor_setupfunction scr_actor_setup(arg0, arg1, arg2)
{
_actorid = arg0;
_actorinstance = arg1;
_actorname = arg2;
obj_cutscene_master.actor_id[_actorid] = _actorinstance;
obj_cutscene_master.actor_name[_actorid] = _actorname;
with (_actorinstance)
{
number = arg0;
scr_set_facing_sprites(arg2);
}
} (su, su_actor, "susie"); |
12 |
su_actor.sprite_index = spr_susie_walk_up_lw; |
13 |
to = 3; |
14 |
to_actor = instance_create(camerax() + 450, 120, obj_actor); |
15 |
scr_actor_setupscr_actor_setupfunction scr_actor_setup(arg0, arg1, arg2)
{
_actorid = arg0;
_actorinstance = arg1;
_actorname = arg2;
obj_cutscene_master.actor_id[_actorid] = _actorinstance;
obj_cutscene_master.actor_name[_actorid] = _actorname;
with (_actorinstance)
{
number = arg0;
scr_set_facing_sprites(arg2);
}
} (to, to_actor, "toriel"); |
16 |
to_actor.sprite_index = spr_toriel_l; |
17 |
torread = 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;
} (422, 106, spr_cutscene_32_toriel_pj_chair_read); |
18 |
torread.visible = 0; |
19 |
torsleep = 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;
} (422, 103, spr_cutscene_32_toriel_pj_chair_sleep); |
20 |
torsleep.image_alpha = 0; |
21 |
torsleep.image_speed = 0.15; |
22 |
torsleep.depth = 95000; |
23 |
torsleep_flash = 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;
} (422, 103, spr_cutscene_32_toriel_flash); |
24 |
torsleep_flash.image_alpha = 0; |
25 |
torsleep_flash.image_speed = 0; |
26 |
torsleep_flash.depth = 94000; |
27 |
krissleep = 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;
} (449, 175, spr_cutscene_32_kris_couch_sleep_dark); |
28 |
krissleep.image_alpha = 0; |
29 |
susleep = 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;
} (498, 165, spr_cutscene_32_susie_sleeping_dark); |
30 |
susleep.image_speed = 0.05; |
31 |
susleep.image_alpha = 0; |
32 |
susleep.depth = 4900; |
33 |
align_susie = false; |
34 |
tv = 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;
} (474, 86, spr_cutscene_32_tv_cooking); |
35 |
tv.visible = 0; |
36 |
tvstatic2 = 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;
} (474, 86, spr_cutscene_32_tv_static); |
37 |
tvstatic2.image_alpha = 0; |
38 |
tvstatic2.image_speed = 0.15; |
39 |
tvstatic2.depth = 4900000; |
40 |
tvstatic = 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;
} (474, 86, spr_cutscene_32_tv_static); |
41 |
tvstatic.image_alpha = 0; |
42 |
tvstatic.image_speed = 0.15; |
43 |
tvstatic.depth = 50; |
44 |
tvsmile = 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;
} (474, 86, spr_cutscene_32_tv_static_smile); |
45 |
tvsmile.image_alpha = 0; |
46 |
tvsmile.image_speed = 0.15; |
47 |
tvsmile.depth = 0; |
48 |
chairnormal = 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;
} (422, 106, spr_chairiel_empty); |
49 |
chairnormal.depth = 1000000; |
50 |
chairdim = 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;
} (422, 105, spr_cutscene_32_chariel_dim); |
51 |
chairdim.depth = 100000; |
52 |
chairdim.image_alpha = 0; |
53 |
darkcouch = 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;
} (185, 153, spr_cutscene_32_foreground_dark); |
54 |
darkcouch.image_alpha = 0; |
55 |
darkcouch.depth = 5000; |
56 |
beam = 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;
} (413, 1, spr_cutscene_32_beam_form); |
57 |
beam.visible = 0; |
58 |
beamunder = 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;
} (420, 156, spr_cutscene_32_beam_under_glow); |
59 |
beamunder.visible = 0; |
60 |
with (beamunder) |
61 |
scr_depth(); |
62 |
crater = 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;
} (430, 165, spr_cutscene_32_crater); |
63 |
crater.visible = 0; |
64 |
with (crater) |
65 |
scr_depth(); |
66 |
black_bar = 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;
} (400, 200, spr_pixel_white); |
67 |
black_bar.image_xscale = camerax() + view_wport[0]; |
68 |
black_bar.image_yscale = 80; |
69 |
black_bar.depth = 100; |
70 |
black_bar.image_blend = c_black; |
71 |
room_flash = 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, 0, spr_cutscene_32_room_black_white); |
72 |
room_flash.depth = 900000; |
73 |
room_flash.image_alpha = 0; |
74 |
fountainkris = instance_create(500, 240, obj_kris_fountain); |
75 |
fadebg = false; |
76 |
if (debug_skip == 1) |
77 |
{ |
78 |
con = 10; |
79 |
with (blackall) |
80 |
instance_destroy(); |
81 |
obj_mainchara.cutscene = 1; |
82 |
obj_mainchara.x = 500; |
83 |
with (to_actor) |
84 |
instance_destroy(); |
85 |
snd_free_all(); |
86 |
camerax_set(room_width - 320); |
87 |
} |
88 |
} |
89 |
if (con == 1) |
90 |
{ |
91 |
con = 2; |
92 |
c_var_lerp_instancec_var_lerp_instancefunction c_var_lerp_instance()
{
if (argument_count < 6)
c_cmd_x("var", argument[0], argument[1], argument[2], argument[3], argument[4], 0);
else if (argument_count == 6)
c_cmd_x("var", argument[0], argument[1], argument[2], argument[3], argument[4], argument[5]);
else if (argument_count == 7)
c_cmd_x("var", argument[0], argument[1], argument[2], argument[3], argument[4], string(argument[5]) + string(argument[6]));
} (blackall, "image_alpha", 1, 0, 60); |
93 |
c_pannable(1); |
94 |
c_panspeed(2, 0, 60); |
95 |
c_sel(kr); |
96 |
c_walkdirect_wait(240, 147, 50); |
97 |
c_walkdirect_wait(240, 102, 25); |
98 |
c_facing("r"); |
99 |
c_wait(15); |
100 |
c_sel(su); |
101 |
c_facing("l"); |
102 |
c_speaker("susie"); |
103 |
c_msgsetloc(0, Face A* Hey Kris,Delay 11 hurry up next time.Wait for input"\\EA* Hey Kris^1, hurry up next time./", "obj_ch2_scene32_slash_Step_0_gml_130_0" ); |
104 |
c_msgnextloc(Face 2* We're already almost done...Wait for inputClose Message"\\E2* We're already almost done.../%", "obj_ch2_scene32_slash_Step_0_gml_131_0" ); |
105 |
c_talk_wait(); |
106 |
c_soundplay(snd_doorclose); |
107 |
c_sel(su); |
108 |
c_facing("r"); |
109 |
c_sel(to); |
110 |
c_autowalk(0); |
111 |
c_sprite(spr_toriel_l_unhappy); |
112 |
c_imagespeed(0.25); |
113 |
c_walkdirect_wait(325, 128, 60); |
114 |
c_halt(); |
115 |
c_speaker("toriel"); |
116 |
c_msgsetloc(0, Face 1* ...Wait for inputClose Message"\\E1* .../%", "obj_ch2_scene32_slash_Step_0_gml_148_0" ); |
117 |
c_talk_wait(); |
118 |
c_wait(15); |
119 |
c_sel(su); |
120 |
c_facing("d"); |
121 |
c_speaker("susie"); |
122 |
c_msgsetloc(0, Face 7* So what's next?Wait for inputClose Message"\\E7* So what's next?/%", "obj_ch2_scene32_slash_Step_0_gml_157_0" ); |
123 |
c_talk_wait(); |
124 |
c_sel(to); |
125 |
c_autowalk(1); |
126 |
c_facing("u"); |
127 |
c_speaker("toriel"); |
128 |
c_msgsetloc(0, Face 1* Oh,Delay 11 err,Delay 11 the pie...Wait for inputClose Message"\\E1* Oh^1, err^1, the pie.../%", "obj_ch2_scene32_slash_Step_0_gml_165_0" ); |
129 |
c_talk_wait(); |
130 |
c_facing("l"); |
131 |
c_speaker("toriel"); |
132 |
c_msgsetloc(0, Face 0* We already worked quite hard,Delay 11 have we not?Wait for input"\\E0* We already worked quite hard^1, have we not?/", "obj_ch2_scene32_slash_Step_0_gml_172_0" ); |
133 |
c_msgnextloc(Face 1* How about we finish it later?Wait for input"\\E1* How about we finish it later?/", "obj_ch2_scene32_slash_Step_0_gml_173_0" ); |
134 |
c_facenext("susie", "A"); |
135 |
c_msgnextloc(Face A* ...Delay 11 Umm,Delay 11 OK!Wait for inputClose Message"\\EA* ..^1. Umm^1, OK!/%", "obj_ch2_scene32_slash_Step_0_gml_175_0" ); |
136 |
c_talk_wait(); |
137 |
c_sel(su); |
138 |
c_facing("l"); |
139 |
c_wait(30); |
140 |
c_facing("d"); |
141 |
c_speaker("susie"); |
142 |
c_msgsetloc(0, Face K* Then...Delay 11 uh...Delay 11 guess I'll walk home...?Wait for input"\\EK* Then..^1. uh..^1. guess I'll walk home...?/", "obj_ch2_scene32_slash_Step_0_gml_185_0" ); |
143 |
c_facenext("toriel", "8"); |
144 |
c_msgnextloc(Face 8* Oh,Delay 11 no,Delay 11 no,Delay 11 there's no need to do that!Wait for inputClose Message"\\E8* Oh^1, no^1, no^1, there's no need to do that!/%", "obj_ch2_scene32_slash_Step_0_gml_187_0" ); |
145 |
c_talk_wait(); |
146 |
c_sel(to); |
147 |
c_emotec_emotefunction c_emote()
{
if (argument_count == 0)
c_cmd("emote", "!", 30, 0, 0);
else if (argument_count == 1)
c_cmd("emote", argument[0], 30, 0, 0);
else if (argument_count == 2)
c_cmd("emote", argument[0], argument[1], 0, 0);
else if (argument_count == 3)
c_cmd("emote", argument[0], argument[1], argument[2], 0);
} ("!", 30); |
148 |
c_speaker("toriel"); |
149 |
c_msgsetloc(0, Face 1* Oh,Delay 11 actually!Wait for input"\\E1* Oh^1, actually!/", "obj_ch2_scene32_slash_Step_0_gml_195_0" ); |
150 |
c_msgnextloc(Face 0* Susie,Delay 11 would you like to stay over?Wait for inputClose Message"\\E0* Susie^1, would you like to stay over?/%", "obj_ch2_scene32_slash_Step_0_gml_196_0" ); |
151 |
c_talk_wait(); |
152 |
c_sel(su); |
153 |
c_autowalk(0); |
154 |
c_sprite(spr_susie_shocked_lw); |
155 |
c_speaker("susie"); |
156 |
c_msgsetloc(0, Face 6* Huh?!Wait for input"\\E6* Huh?!/", "obj_ch2_scene32_slash_Step_0_gml_204_0" ); |
157 |
c_facenext("susie", "6"); |
158 |
c_msgnextloc(Face 6* I mean,Delay 11 umm...Delay 11 if it's OK,Delay 11 then...Wait for input"\\E6* I mean^1, umm..^1. if it's OK^1, then.../", "obj_ch2_scene32_slash_Step_0_gml_206_0" ); |
159 |
c_facenext("toriel", "0"); |
160 |
c_msgnextloc(Face 0* Here,Delay 11 look at this!Wait for inputClose Message"\\E0* Here^1, look at this!/%", "obj_ch2_scene32_slash_Step_0_gml_208_0" ); |
161 |
c_talk_wait(); |
162 |
c_sel(to); |
163 |
c_walkdirect(500, 130, 40); |
164 |
c_delayfacing(41, "d"); |
165 |
c_sel(kr); |
166 |
c_walkdirect(240, 140, 25); |
167 |
c_delaywalkdirect(26, 425, 140, 60); |
168 |
c_delayfacing(86, "d"); |
169 |
c_sel(su); |
170 |
c_autowalk(1); |
171 |
c_walkdirect(280, 128, 25); |
172 |
c_delaywalkdirect(26, 450, 128, 60); |
173 |
c_delayfacing(86, "d"); |
174 |
c_panspeed_wait(2, 0, 110); |
175 |
c_speaker("toriel"); |
176 |
c_msgsetloc(0, * Our couch is used to being used as a bed!Wait for inputClose Message"* Our couch is used to being used as a bed!/%", "obj_ch2_scene32_slash_Step_0_gml_230_0" ); |
177 |
c_talk_wait(); |
178 |
c_sel(to); |
179 |
c_facing("l"); |
180 |
c_speaker("toriel"); |
181 |
c_msgsetloc(0, Face 4* It's not perfect, but we could all sleep out here!Wait for input"\\E4* It's not perfect, but we could all sleep out here!/", "obj_ch2_scene32_slash_Step_0_gml_238_0" ); |
182 |
c_facenext("susie", 7); |
183 |
c_msgnextloc(Face 7* That...Delay 11 sounds good to me!Delay 11 Yeah!Wait for input"\\E7* That..^1. sounds good to me^1! Yeah!/", "obj_ch2_scene32_slash_Step_0_gml_240_0" ); |
184 |
c_facenext("toriel", "0"); |
185 |
c_msgnextloc(Face 0* Splendid!Delay 11 I will make sure everything is in order.Wait for inputClose Message"\\E0* Splendid^1! I will make sure everything is in order./%", "obj_ch2_scene32_slash_Step_0_gml_242_0" ); |
186 |
c_talk_wait(); |
187 |
c_walkdirect_wait(377, 125, 60); |
188 |
c_wait(30); |
189 |
c_facing("u"); |
190 |
c_sel(kr); |
191 |
c_facing("l"); |
192 |
c_sel(su); |
193 |
c_facing("l"); |
194 |
c_speaker("toriel"); |
195 |
c_msgsetloc(0, Face 1* Just...Delay 11 call your parents,Delay 11 will you not?Wait for input"\\E1* Just..^1. call your parents^1, will you not?/", "obj_ch2_scene32_slash_Step_0_gml_260_0" ); |
196 |
c_facenext("susie", 7); |
197 |
c_msgnextloc(Face 7* Yeah,Delay 11 of course!Wait for inputClose Message"\\E7* Yeah^1, of course!/%", "obj_ch2_scene32_slash_Step_0_gml_262_0" ); |
198 |
c_talk_wait(); |
199 |
c_sel(to); |
200 |
c_walk("l", 2, 60); |
201 |
c_sel(su); |
202 |
c_walkdirect_wait(377, 128, 30); |
203 |
c_facing("u"); |
204 |
c_wait(80); |
205 |
c_soundplay(snd_escaped); |
206 |
c_wait(30); |
207 |
c_walkdirect_wait(481, 128, 15); |
208 |
c_facing("l"); |
209 |
c_sel(kr); |
210 |
c_facing("r"); |
211 |
c_speaker("susie"); |
212 |
c_msgsetloc(0, Face 2* So what the hell,Delay 11 a sleepover?Wait for input"\\E2* So what the hell^1, a sleepover?/", "obj_ch2_scene32_slash_Step_0_gml_289_0" ); |
213 |
c_msgnextloc(Face A* Damn,Delay 11 I haven't had one of those in forever,Delay 11 heh...Wait for inputClose Message"\\EA* Damn^1, I haven't had one of those in forever^1, heh.../%", "obj_ch2_scene32_slash_Step_0_gml_290_0" ); |
214 |
c_talk_wait(); |
215 |
c_sel(su); |
216 |
c_walkdirect_wait(505, 160, 30); |
217 |
c_autowalk(0); |
218 |
c_sprite(spr_cutscene_32_susie_jump_back); |
219 |
c_halt(); |
220 |
c_soundplay(snd_jump); |
221 |
c_var_instance(su_actor, "vspeed", -5); |
222 |
c_var_instance(su_actor, "gravity", 1); |
223 |
c_wait(10); |
224 |
c_var_instance(su_actor, "vspeed", 0); |
225 |
c_var_instance(su_actor, "gravity", 0); |
226 |
c_autodepth(0); |
227 |
c_depth(9500); |
228 |
c_sprite(spr_cutscene_32_susie_couch_sitting_back); |
229 |
c_setxy(505, 167); |
230 |
c_shakeobj(); |
231 |
c_shake(); |
232 |
c_soundplay(snd_bump); |
233 |
c_wait(60); |
234 |
c_speaker("susie"); |
235 |
c_msgsetloc(0, Face 5* (Hey,Delay 11 Kris,Delay 11 it's not like someone has to tell you to sit,Delay 11 right!?)Wait for inputClose Message"\\E5* (Hey^1, Kris^1, it's not like someone has to tell you to sit^1, right!?)/%", "obj_ch2_scene32_slash_Step_0_gml_320_0" ); |
236 |
c_talk_wait(); |
237 |
c_sel(kr); |
238 |
c_walkdirect_wait(462, 145, 20); |
239 |
c_wait(5); |
240 |
c_facing("u"); |
241 |
c_autowalk(0); |
242 |
c_imagespeed(0.25); |
243 |
c_walk_wait("d", 2, 10); |
244 |
c_halt(); |
245 |
c_soundplay(snd_wing); |
246 |
c_sprite(spr_cutscene_32_kris_couch_sit); |
247 |
c_setxy(460, 173); |
248 |
c_speaker("susie"); |
249 |
c_msgsetloc(0, Face 2* There,Delay 11 chill out for a sec!Wait for inputClose Message"\\E2* There^1, chill out for a sec!/%", "obj_ch2_scene32_slash_Step_0_gml_337_0" ); |
250 |
c_talk_wait(); |
251 |
c_wait(60); |
252 |
c_speaker("susie"); |
253 |
c_msgsetloc(0, Face L* So now what?Wait for inputClose Message"\\EL* So now what?/%", "obj_ch2_scene32_slash_Step_0_gml_344_0" ); |
254 |
c_talk_wait(); |
255 |
c_sel(su); |
256 |
c_emotec_emotefunction c_emote()
{
if (argument_count == 0)
c_cmd("emote", "!", 30, 0, 0);
else if (argument_count == 1)
c_cmd("emote", argument[0], 30, 0, 0);
else if (argument_count == 2)
c_cmd("emote", argument[0], argument[1], 0, 0);
else if (argument_count == 3)
c_cmd("emote", argument[0], argument[1], argument[2], 0);
} ("!", 60); |
257 |
c_wait(60); |
258 |
c_speaker("susie"); |
259 |
c_msgsetloc(0, Face A* I got it!Wait for inputClose Message"\\EA* I got it!/%", "obj_ch2_scene32_slash_Step_0_gml_354_0" ); |
260 |
c_talk_wait(); |
261 |
c_sel(su); |
262 |
c_sprite(spr_cutscene_32_susie_couch_remote_search); |
263 |
c_imageindex(0); |
264 |
c_imagespeed(0.15); |
265 |
c_speaker("susie"); |
266 |
c_msgsetloc(0, Face P* Maybe...Delay 11 between...Delay 11 the pillows...Delay 11 here?Wait for inputClose Message"\\EP* Maybe..^1. between..^1. the pillows..^1. here?/%", "obj_ch2_scene32_slash_Step_0_gml_364_0" ); |
267 |
c_talk_wait(); |
268 |
c_sprite(spr_cutscene_32_susie_couch_remote_find); |
269 |
c_imageindex(0); |
270 |
c_soundplay(snd_wing); |
271 |
c_soundplay(snd_item); |
272 |
c_speaker("susie"); |
273 |
c_msgsetloc(0, Face 2* There!Delay 11 Knew I'd find the remote in there!Wait for input"\\E2* There^1! Knew I'd find the remote in there!/", "obj_ch2_scene32_slash_Step_0_gml_372_0" ); |
274 |
c_msgnextloc(Face A* You can always find good stuff wedged in the couch.Wait for input"\\EA* You can always find good stuff wedged in the couch./", "obj_ch2_scene32_slash_Step_0_gml_390_0" ); |
275 |
c_msgnextloc(Face 0* Jeez,Delay 11 it's dusty.Delay 11 When'd you last use this thing?Wait for input"\\E0* Jeez^1, it's dusty^1. When'd you last use this thing?/", "obj_ch2_scene32_slash_Step_0_gml_373_0" ); |
276 |
c_msgnextloc(Face 9* ...Delay 11 Well,Delay 11 who cares!Delay 11 Let's just watch TV!Wait for inputClose Message"\\E9* ..^1. Well^1, who cares^1! Let's just watch TV!/%", "obj_ch2_scene32_slash_Step_0_gml_374_0" ); |
277 |
c_talk_wait(); |
278 |
c_sprite(spr_cutscene_32_susie_couch_remote_use); |
279 |
c_soundplay_x(snd_noise, 0.5, 2); |
280 |
c_imageindex(0); |
281 |
c_imagespeed(0); |
282 |
c_wait(15); |
283 |
c_imageindex(1); |
284 |
c_var_instance(tv, "visible", 1); |
285 |
c_var_instance(tv, "image_speed", 0.1); |
286 |
c_speaker("susie"); |
287 |
c_msgsetloc(0, Face 2* So what are we gonna marathon tonight?Wait for input"\\E2* So what are we gonna marathon tonight?/", "obj_ch2_scene32_slash_Step_0_gml_388_0" ); |
288 |
c_msgnextloc(Face 7* Blood Crushers 3? Hell Busters? Invasion of the Cat Petters?Wait for inputClose Message"\\E7* Blood Crushers 3? Hell Busters? Invasion of the Cat Petters?/%", "obj_ch2_scene32_slash_Step_0_gml_389_0" ); |
289 |
c_talk_wait(); |
290 |
c_wait(15); |
291 |
c_imageindex(0); |
292 |
c_wait(15); |
293 |
c_imageindex(1); |
294 |
c_soundplay_x(snd_noise, 0.5, 2); |
295 |
c_var_instance(tv, "sprite_index", spr_cutscene_32_tv_weather); |
296 |
c_wait(30); |
297 |
c_sprite(spr_cutscene_32_susie_couch_sitting_face_left); |
298 |
c_speaker("susie"); |
299 |
c_msgsetloc(0, Face A* Heh,Delay 11 maybe ICE-E The Movie's more your speed,Delay 11 huh,Delay 11 Kris?Wait for input"\\EA* Heh^1, maybe ICE-E The Movie's more your speed^1, huh^1, Kris?/", "obj_ch2_scene32_slash_Step_0_gml_407_0" ); |
300 |
c_msgnextloc(Face 9* HAHAHAHA!!!Delay 11 HAHAHAHA!!!Wait for input"\\E9* HAHAHAHA!!^1! HAHAHAHA!!!/", "obj_ch2_scene32_slash_Step_0_gml_408_0" ); |
301 |
c_msgnextloc(Face 7* Hahahaha...Delay 11 haha...Delay 11 ha...Wait for input"\\E7* Hahahaha..^1. haha..^1. ha.../", "obj_ch2_scene32_slash_Step_0_gml_409_0" ); |
302 |
c_msgnextloc(Face Q* Heh.Wait for inputClose Message"\\EQ* Heh./%", "obj_ch2_scene32_slash_Step_0_gml_410_0" ); |
303 |
c_talk_wait(); |
304 |
c_sel(su); |
305 |
c_sprite(spr_cutscene_32_susie_couch_sitting_back); |
306 |
c_speaker("susie"); |
307 |
c_msgsetloc(0, Face 2* It's been a good day,Delay 11 huh,Delay 11 Kris?Wait for input"\\E2* It's been a good day^1, huh^1, Kris?/", "obj_ch2_scene32_slash_Step_0_gml_417_0" ); |
308 |
c_msgnextloc(Face Q* You,Delay 11 Ralsei,Delay 11 Lancer,Delay 11 everyone...Wait for input"\\EQ* You^1, Ralsei^1, Lancer^1, everyone.../", "obj_ch2_scene32_slash_Step_0_gml_418_0" ); |
309 |
c_msgnextloc(Face A* It's...Delay 11 just cool hanging out together,Delay 11 right?Wait for input"\\EA* It's..^1. just cool hanging out together^1, right?/", "obj_ch2_scene32_slash_Step_0_gml_419_0" ); |
310 |
c_msgnextloc(Face Q* ...Delay 11 that's why,Delay 11 y'know...Delay 11 Don't you think we should...Wait for inputClose Message"\\EQ* ..^1. that's why^1, y'know..^1. Don't you think we should.../%", "obj_ch2_scene32_slash_Step_0_gml_420_0" ); |
311 |
c_talk_wait(); |
312 |
c_sprite(spr_cutscene_32_susie_couch_sitting_face_left); |
313 |
c_speaker("susie"); |
314 |
c_msgsetloc(0, Face 7* Try to have them come to OUR world?Wait for input"\\E7* Try to have them come to OUR world?/", "obj_ch2_scene32_slash_Step_0_gml_426_0" ); |
315 |
c_msgnextloc(Face 9* C'mon,Delay 11 think about how much better it would be!Wait for input"\\E9* C'mon^1, think about how much better it would be!/", "obj_ch2_scene32_slash_Step_0_gml_427_0" ); |
316 |
c_msgnextloc(Face 2* Ralsei could do our homework...Delay 11 Lancer could live under your bed...Wait for inputClose Message"\\E2* Ralsei could do our homework..^1. Lancer could live under your bed.../%", "obj_ch2_scene32_slash_Step_0_gml_428_0" ); |
317 |
c_talk_wait(); |
318 |
c_sel(su); |
319 |
c_sprite(spr_cutscene_32_susie_couch_sitting_back); |
320 |
c_speaker("susie"); |
321 |
c_msgsetloc(0, Face 2* We could all walk to school together...Wait for input"\\E2* We could all walk to school together.../", "obj_ch2_scene32_slash_Step_0_gml_435_0" ); |
322 |
c_msgnextloc(Face 9* It'd...Delay 11 be perfect,Delay 11 y'know?Wait for inputClose Message"\\E9* It'd..^1. be perfect^1, y'know?/%", "obj_ch2_scene32_slash_Step_0_gml_436_0" ); |
323 |
c_talk_wait(); |
324 |
c_msc(1165); |
325 |
c_talk_wait(); |
326 |
} |
327 |
if (con == 5 && !d_ex()) |
328 |
{ |
329 |
con = 99; |
330 |
c_speaker("susie"); |
331 |
c_msgsetloc(0, Face A* ...Delay 11 Well,Delay 11 whatever,Delay 11 let's just get back to watching.Wait for inputClose Message"\\EA* ..^1. Well^1, whatever^1, let's just get back to watching./%", "obj_ch2_scene32_slash_Step_0_gml_449_0" ); |
332 |
c_talk_wait(); |
333 |
c_sprite(spr_cutscene_32_susie_couch_remote_use); |
334 |
c_imageindex(0); |
335 |
c_imagespeed(0); |
336 |
c_wait(15); |
337 |
c_imageindex(1); |
338 |
c_soundplay_x(snd_noise, 0.5, 2); |
339 |
c_var_instance(tv, "sprite_index", spr_cutscene_32_tv_cooking); |
340 |
c_wait(10); |
341 |
c_sprite(spr_cutscene_32_susie_couch_sitting_back); |
342 |
c_wait(150); |
343 |
c_speaker("susie"); |
344 |
c_msgsetloc(0, Face A* So the festival is coming up,Delay 11 right?Wait for input"\\EA* So the festival is coming up^1, right?/", "obj_ch2_scene32_slash_Step_0_gml_467_0" ); |
345 |
c_msgnextloc(Face L* That thing where the town becomes...Delay 11 a carnival.Wait for input"\\EL* That thing where the town becomes..^1. a carnival./", "obj_ch2_scene32_slash_Step_0_gml_468_0" ); |
346 |
c_msgnextloc(Face 2* Stupid,Delay 11 right?Wait for inputClose Message"\\E2* Stupid^1, right?/%", "obj_ch2_scene32_slash_Step_0_gml_469_0" ); |
347 |
c_talk_wait(); |
348 |
c_wait(120); |
349 |
c_msc(1089); |
350 |
c_talk_wait(); |
351 |
} |
352 |
if ((con == 10 && !d_ex()) || scr_cutscene_loadedscr_cutscene_loadedfunction scr_cutscene_loaded()
{
var __loadedState = 0;
if (instance_exists(obj_cutscene_master))
{
if (obj_cutscene_master.loadedState == 1)
__loadedState = 1;
}
return __loadedState;
} ()) |
353 |
{ |
354 |
susie_snore = 0; |
355 |
con = 40; |
356 |
if (debug_skip == 0) |
357 |
{ |
358 |
c_msgside("top"); |
359 |
c_speaker("susie"); |
360 |
c_msgsetloc(0, Face 5* ... Look,Delay 11 let's just go back to watching TV!Wait for inputClose Message"\\E5* ... Look^1, let's just go back to watching TV!/%", "obj_ch2_scene32_slash_Step_0_gml_488_0" ); |
361 |
c_talk_wait(); |
362 |
c_sprite(spr_cutscene_32_susie_couch_remote_use); |
363 |
c_imageindex(0); |
364 |
c_imagespeed(0); |
365 |
c_wait(15); |
366 |
c_imageindex(1); |
367 |
c_var_instance(tv, "sprite_index", spr_cutscene_32_tv_zilla); |
368 |
c_soundplay_x(snd_noise, 0.5, 2); |
369 |
c_wait(10); |
370 |
c_sprite(spr_cutscene_32_susie_couch_sitting_back); |
371 |
c_speaker("susie"); |
372 |
c_msgsetloc(0, Face 2* Now this is what I'm talking about!Wait for input"\\E2* Now this is what I'm talking about!/", "obj_ch2_scene32_slash_Step_0_gml_505_0" ); |
373 |
c_msgnextloc(Face Y* A giant monster movie special!Wait for input"\\EY* A giant monster movie special!/", "obj_ch2_scene32_slash_Step_0_gml_506_0" ); |
374 |
c_msgnextloc(Face K* (Always liked them better than the giant human movies.)Wait for input"\\EK* (Always liked them better than the giant human movies.)/", "obj_ch2_scene32_slash_Step_0_gml_507_0" ); |
375 |
c_msgnextloc(Face 2* Now THIS is something we can MARATHON!Wait for input"\\E2* Now THIS is something we can MARATHON!/", "obj_ch2_scene32_slash_Step_0_gml_508_0" ); |
376 |
c_msgnextloc(Face Q* Are you READY Kris?Wait for input"\\EQ* Are you READY Kris?/", "obj_ch2_scene32_slash_Step_0_gml_509_0" ); |
377 |
c_msgnextloc(Face Y* For 12 hours of building-bashing,Delay 11 car-crunching action!?Wait for input"\\EY* For 12 hours of building-bashing^1, car-crunching action!?/", "obj_ch2_scene32_slash_Step_0_gml_510_0" ); |
378 |
c_msgnextloc(Face 5* 'cause we are LOCKED IN. Got it?Wait for input"\\E5* 'cause we are LOCKED IN. Got it?/", "obj_ch2_scene32_slash_Step_0_gml_511_0" ); |
379 |
c_msgnextloc(Face H* I better not see you move until your eyes are bloodshot!Wait for input"\\EH* I better not see you move until your eyes are bloodshot!/", "obj_ch2_scene32_slash_Step_0_gml_512_0" ); |
380 |
c_msgnextloc(Face 9* Heheheh!Wait for inputClose Message"\\E9* Heheheh!/%", "obj_ch2_scene32_slash_Step_0_gml_513_0" ); |
381 |
c_talk_wait(); |
382 |
c_shakeobj(); |
383 |
c_soundplay_x(snd_wing, 0.9, 0.8); |
384 |
c_msgsetloc(0, Face A* Now lemme just...Delay 11 get comfortable,Delay 11 here,Delay 11 and...Wait for inputClose Message"\\EA* Now lemme just..^1. get comfortable^1, here^1, and.../%", "obj_ch2_scene32_slash_Step_0_gml_514_0" ); |
385 |
c_talk_wait(); |
386 |
c_shakeobj(); |
387 |
c_soundplay_x(snd_wing, 0.9, 0.8); |
388 |
c_wait(15); |
389 |
c_shakeobj(); |
390 |
c_soundplay_x(snd_wing, 0.9, 0.8); |
391 |
c_wait(40); |
392 |
c_msgsetloc(0, Face 7* There!Wait for inputClose Message"\\E7* There!/%", "obj_ch2_scene32_slash_Step_0_gml_515_0" ); |
393 |
c_talk_wait(); |
394 |
c_wait(90); |
395 |
c_soundplay_x(snd_bump, 1, 0.9); |
396 |
c_shake(); |
397 |
c_sel(su); |
398 |
c_sprite(spr_cutscene_32_susie_sleeping); |
399 |
c_imagespeed(0.05); |
400 |
c_mus("free"); |
401 |
c_wait(110); |
402 |
c_var_instance(id, "susie_snore", 1); |
403 |
if (os_type != os_ps4 && os_type != os_ps5) |
404 |
c_var_instance(id, "end_game", true); |
405 |
c_speaker("no_name"); |
406 |
c_msgsetloc(0, * (... Susie fell asleep.)Wait for inputClose Message"* (... Susie fell asleep.)/%", "obj_ch2_scene32_slash_Step_0_gml_530_0" ); |
407 |
c_talk_wait(); |
408 |
c_wait(210); |
409 |
c_sel(kr); |
410 |
c_sprite(spr_cutscene_32_kris_couch_sleep); |
411 |
c_soundplay(snd_wing); |
412 |
c_setxy(449, 175); |
413 |
c_shakeobj(); |
414 |
c_var_instance(id, "susie_snore", 3); |
415 |
c_var_lerp_instancec_var_lerp_instancefunction c_var_lerp_instance()
{
if (argument_count < 6)
c_cmd_x("var", argument[0], argument[1], argument[2], argument[3], argument[4], 0);
else if (argument_count == 6)
c_cmd_x("var", argument[0], argument[1], argument[2], argument[3], argument[4], argument[5]);
else if (argument_count == 7)
c_cmd_x("var", argument[0], argument[1], argument[2], argument[3], argument[4], string(argument[5]) + string(argument[6]));
} (bgdim, "image_alpha", 0, 1, 300); |
416 |
c_var_lerp_instancec_var_lerp_instancefunction c_var_lerp_instance()
{
if (argument_count < 6)
c_cmd_x("var", argument[0], argument[1], argument[2], argument[3], argument[4], 0);
else if (argument_count == 6)
c_cmd_x("var", argument[0], argument[1], argument[2], argument[3], argument[4], argument[5]);
else if (argument_count == 7)
c_cmd_x("var", argument[0], argument[1], argument[2], argument[3], argument[4], string(argument[5]) + string(argument[6]));
} (chairdim, "image_alpha", 0, 1, 300); |
417 |
c_wait(330); |
418 |
c_var_instance(id, "susie_snore", 5); |
419 |
c_sel(to); |
420 |
c_sprite(spr_cutscene_32_toriel_distressed); |
421 |
c_setxy(141, 114); |
422 |
c_imageindex(0); |
423 |
c_imagespeed(0); |
424 |
c_var_instance(id, "disable_face", true); |
425 |
c_speaker("toriel"); |
426 |
c_msgsetloc(0, * Officer...? Officer...?Wait for inputClose Message"* Officer...? Officer...?/%", "obj_ch2_scene32_slash_Step_0_gml_557_0" ); |
427 |
c_talk_wait(); |
428 |
c_panspeed_wait(-2, 0, 120); |
429 |
c_wait(30); |
430 |
c_var_instance(id, "disable_face", true); |
431 |
c_speaker("toriel"); |
432 |
c_msgsetloc(0, * Thank goodness,Delay 11 I finally got through...Wait for input"* Thank goodness^1, I finally got through.../", "obj_ch2_scene32_slash_Step_0_gml_567_0" ); |
433 |
c_msgnextloc(* I thought I saw someone prowling around outside...Wait for input"* I thought I saw someone prowling around outside.../", "obj_ch2_scene32_slash_Step_0_gml_568_0" ); |
434 |
c_msgnextloc(* And when I checked our car--Wait for input"* And when I checked our car--/", "obj_ch2_scene32_slash_Step_0_gml_569_0" ); |
435 |
c_msgnextloc(* The tires...Delay 11 looked like they'd been slashed.Wait for input"* The tires..^1. looked like they'd been \\cRslashed\\cW./", "obj_ch2_scene32_slash_Step_0_gml_570_0" ); |
436 |
c_msgnextloc(* Officer,Delay 11 if you could please come over...Wait for input"* Officer^1, if you could please come over.../", "obj_ch2_scene32_slash_Step_0_gml_571_0" ); |
437 |
c_msgnextloc(* You will? Soon? Thank you...Wait for inputClose Message"* You will? Soon? Thank you.../%", "obj_ch2_scene32_slash_Step_0_gml_572_0" ); |
438 |
c_talk_wait(); |
439 |
c_autowalk(0); |
440 |
c_sprite(spr_cutscene_32_toriel_pj_walk_down); |
441 |
c_wait(30); |
442 |
c_imagespeed(0.25); |
443 |
c_walk_wait("d", 2, 10); |
444 |
c_autodepth(0); |
445 |
c_depth(98200); |
446 |
c_sprite(spr_cutscene_32_toriel_pj_walk_right); |
447 |
c_autowalk(0); |
448 |
c_imagespeed(0.25); |
449 |
c_walkdirect(444, 125, 100); |
450 |
c_panspeed(2, 0, 120); |
451 |
c_wait(100); |
452 |
c_halt(); |
453 |
c_wait(30); |
454 |
c_sprite(spr_cutscene_32_toriel_pj_walk_down); |
455 |
c_imageindex(0); |
456 |
c_imagespeed(0); |
457 |
c_wait(40); |
458 |
c_speaker("toriel"); |
459 |
c_msgsetloc(0, Face 1* ... they're already asleep...Wait for inputClose Message"\\E1* ... they're already asleep.../%", "obj_ch2_scene32_slash_Step_0_gml_649_0" ); |
460 |
c_talk_wait(); |
461 |
c_wait(30); |
462 |
c_sprite(spr_cutscene_32_toriel_pj_walk_up); |
463 |
c_imageindex(0); |
464 |
c_autowalk(0); |
465 |
c_imagespeed(0.25); |
466 |
c_walk_wait("u", 2, 10); |
467 |
c_wait(10); |
468 |
c_visible(0); |
469 |
c_var_instance(torread, "visible", 1); |
470 |
c_wait(60); |
471 |
c_sel(su); |
472 |
c_autodepth(0); |
473 |
c_depth(4950); |
474 |
c_wait(120); |
475 |
} |
476 |
pamt = 30; |
477 |
pamtb = 30; |
478 |
if (debug_skip == 1) |
479 |
{ |
480 |
pamt = 2; |
481 |
pamtb = 10; |
482 |
camerax_set(320); |
483 |
} |
484 |
var object_dim = debug_skip ? pamt : (pamt * 2); |
485 |
c_var_instance(id, "align_susie", true); |
486 |
c_var_lerp_instancec_var_lerp_instancefunction c_var_lerp_instance()
{
if (argument_count < 6)
c_cmd_x("var", argument[0], argument[1], argument[2], argument[3], argument[4], 0);
else if (argument_count == 6)
c_cmd_x("var", argument[0], argument[1], argument[2], argument[3], argument[4], argument[5]);
else if (argument_count == 7)
c_cmd_x("var", argument[0], argument[1], argument[2], argument[3], argument[4], string(argument[5]) + string(argument[6]));
} (tv, "image_alpha", 1, 0, object_dim); |
487 |
c_var_lerp_instancec_var_lerp_instancefunction c_var_lerp_instance()
{
if (argument_count < 6)
c_cmd_x("var", argument[0], argument[1], argument[2], argument[3], argument[4], 0);
else if (argument_count == 6)
c_cmd_x("var", argument[0], argument[1], argument[2], argument[3], argument[4], argument[5]);
else if (argument_count == 7)
c_cmd_x("var", argument[0], argument[1], argument[2], argument[3], argument[4], string(argument[5]) + string(argument[6]));
} (torread, "image_alpha", 1, 0, object_dim); |
488 |
c_var_lerp_instancec_var_lerp_instancefunction c_var_lerp_instance()
{
if (argument_count < 6)
c_cmd_x("var", argument[0], argument[1], argument[2], argument[3], argument[4], 0);
else if (argument_count == 6)
c_cmd_x("var", argument[0], argument[1], argument[2], argument[3], argument[4], argument[5]);
else if (argument_count == 7)
c_cmd_x("var", argument[0], argument[1], argument[2], argument[3], argument[4], string(argument[5]) + string(argument[6]));
} (torsleep, "image_alpha", 0, 1, object_dim); |
489 |
c_var_lerp_instancec_var_lerp_instancefunction c_var_lerp_instance()
{
if (argument_count < 6)
c_cmd_x("var", argument[0], argument[1], argument[2], argument[3], argument[4], 0);
else if (argument_count == 6)
c_cmd_x("var", argument[0], argument[1], argument[2], argument[3], argument[4], argument[5]);
else if (argument_count == 7)
c_cmd_x("var", argument[0], argument[1], argument[2], argument[3], argument[4], string(argument[5]) + string(argument[6]));
} (bgdark, "image_alpha", 0, 1, object_dim); |
490 |
c_var_lerp_instancec_var_lerp_instancefunction c_var_lerp_instance()
{
if (argument_count < 6)
c_cmd_x("var", argument[0], argument[1], argument[2], argument[3], argument[4], 0);
else if (argument_count == 6)
c_cmd_x("var", argument[0], argument[1], argument[2], argument[3], argument[4], argument[5]);
else if (argument_count == 7)
c_cmd_x("var", argument[0], argument[1], argument[2], argument[3], argument[4], string(argument[5]) + string(argument[6]));
} (darkcouch, "image_alpha", 0, 1, object_dim); |
491 |
c_var_lerp_instancec_var_lerp_instancefunction c_var_lerp_instance()
{
if (argument_count < 6)
c_cmd_x("var", argument[0], argument[1], argument[2], argument[3], argument[4], 0);
else if (argument_count == 6)
c_cmd_x("var", argument[0], argument[1], argument[2], argument[3], argument[4], argument[5]);
else if (argument_count == 7)
c_cmd_x("var", argument[0], argument[1], argument[2], argument[3], argument[4], string(argument[5]) + string(argument[6]));
} (krissleep, "image_alpha", 0, 1, object_dim); |
492 |
c_var_lerp_instancec_var_lerp_instancefunction c_var_lerp_instance()
{
if (argument_count < 6)
c_cmd_x("var", argument[0], argument[1], argument[2], argument[3], argument[4], 0);
else if (argument_count == 6)
c_cmd_x("var", argument[0], argument[1], argument[2], argument[3], argument[4], argument[5]);
else if (argument_count == 7)
c_cmd_x("var", argument[0], argument[1], argument[2], argument[3], argument[4], string(argument[5]) + string(argument[6]));
} (susleep, "image_alpha", 0, 1, object_dim); |
493 |
c_var_lerp_instancec_var_lerp_instancefunction c_var_lerp_instance()
{
if (argument_count < 6)
c_cmd_x("var", argument[0], argument[1], argument[2], argument[3], argument[4], 0);
else if (argument_count == 6)
c_cmd_x("var", argument[0], argument[1], argument[2], argument[3], argument[4], argument[5]);
else if (argument_count == 7)
c_cmd_x("var", argument[0], argument[1], argument[2], argument[3], argument[4], string(argument[5]) + string(argument[6]));
} (su_actor, "image_alpha", 1, 0, object_dim); |
494 |
c_var_instance(id, "hide_border", true); |
495 |
c_wait(object_dim); |
496 |
c_var_instance(id, "removefg", true); |
497 |
c_wait(pamt * 10); |
498 |
c_sel(kr); |
499 |
c_autowalk(0); |
500 |
c_wait(1); |
501 |
c_var_instance(krissleep, "visible", 0); |
502 |
c_setxy(427, 167); |
503 |
c_sprite(spr_cutscene_32_kris_couch_soul_cushion); |
504 |
c_imageindex(0); |
505 |
c_imagespeed(0.125); |
506 |
c_wait(32); |
507 |
c_imagespeed(0); |
508 |
c_imageindex(4); |
509 |
c_wait(180); |
510 |
c_imageindex(5); |
511 |
c_soundplay(snd_bump); |
512 |
c_shakeobj(); |
513 |
c_wait(45); |
514 |
c_soundplay(snd_bump); |
515 |
c_shakeobj(); |
516 |
c_wait(45); |
517 |
c_soundplay(snd_bump); |
518 |
c_shakeobj(); |
519 |
c_wait(30); |
520 |
c_soundplay(snd_bump); |
521 |
c_shakeobj(); |
522 |
c_wait(20); |
523 |
c_soundplay(snd_bump); |
524 |
c_shakeobj(); |
525 |
c_wait(10); |
526 |
c_soundplay(snd_bump); |
527 |
c_shakeobj(); |
528 |
c_wait(5); |
529 |
c_soundplay(snd_bump); |
530 |
c_shakeobj(); |
531 |
c_wait(4); |
532 |
c_soundplay(snd_bump); |
533 |
c_shakeobj(); |
534 |
c_wait(3); |
535 |
repeat (5) |
536 |
{ |
537 |
c_soundplay(snd_bump); |
538 |
c_shakeobj(); |
539 |
c_wait(2); |
540 |
} |
541 |
c_imageindex(15); |
542 |
c_walkdirect(430, 167, 2); |
543 |
c_soundplay(snd_grab); |
544 |
c_instance(460, 177, 370); |
545 |
c_wait(45); |
546 |
c_imagespeed(0); |
547 |
c_imageindex(15); |
548 |
c_wait(90); |
549 |
c_imageindex(17); |
550 |
c_imagespeed(0.5); |
551 |
c_wait(2); |
552 |
c_soundplay(snd_heavyswing); |
553 |
c_wait(2); |
554 |
c_shakeobj(); |
555 |
c_soundplay(snd_bump); |
556 |
c_wait(8); |
557 |
c_imageindex(23); |
558 |
c_imagespeed(0); |
559 |
c_wait(120); |
560 |
c_imageindex(0); |
561 |
c_imagespeed(0); |
562 |
c_sprite(spr_cutscene_32_kris_backwalk_right); |
563 |
c_setxy(470, 165); |
564 |
c_shakestep(0, -5); |
565 |
c_wait(pamt * 3); |
566 |
c_fadeout(3); |
567 |
c_wait(10); |
568 |
c_var_instance(id, "show_door_open", true); |
569 |
c_sprite(spr_cutscene_32_kris_touch_door); |
570 |
c_setxy(573, 140); |
571 |
c_fadein(3); |
572 |
c_soundplay(snd_step2); |
573 |
c_wait(60); |
574 |
c_fadeout(3); |
575 |
c_wait(10); |
576 |
c_sprite(spr_cutscene_32_kris_touch_tv); |
577 |
c_imageindex(1); |
578 |
c_fadein(3); |
579 |
c_var_instance(tvstatic2, "image_alpha", 1); |
580 |
c_setxy(495, 123); |
581 |
c_soundplay(snd_step1); |
582 |
c_wait(60); |
583 |
c_fadeout(3); |
584 |
c_wait(10); |
585 |
c_sprite(spr_cutscene_32_kris_scarewalk_left); |
586 |
c_flip("x"); |
587 |
c_fadein(3); |
588 |
c_setxy(527, 155); |
589 |
c_soundplay(snd_step2); |
590 |
c_wait(60); |
591 |
c_flip("x"); |
592 |
c_wait(40); |
593 |
c_imagespeed(0.1); |
594 |
c_walkdirect_wait(484, 140, 30); |
595 |
c_imagespeed(0); |
596 |
c_imageindex(0); |
597 |
c_wait(30); |
598 |
c_visible(0); |
599 |
c_var_instance(fountainkris, "active", 1); |
600 |
c_var_instance(fountainkris, "x", 478); |
601 |
c_var_instance(fountainkris, "y", 118); |
602 |
c_wait(160); |
603 |
c_var_lerp_instancec_var_lerp_instancefunction c_var_lerp_instance()
{
if (argument_count < 6)
c_cmd_x("var", argument[0], argument[1], argument[2], argument[3], argument[4], 0);
else if (argument_count == 6)
c_cmd_x("var", argument[0], argument[1], argument[2], argument[3], argument[4], argument[5]);
else if (argument_count == 7)
c_cmd_x("var", argument[0], argument[1], argument[2], argument[3], argument[4], string(argument[5]) + string(argument[6]));
} (susleep, "image_blend", 16777215, 0, 5); |
604 |
c_var_lerp_instancec_var_lerp_instancefunction c_var_lerp_instance()
{
if (argument_count < 6)
c_cmd_x("var", argument[0], argument[1], argument[2], argument[3], argument[4], 0);
else if (argument_count == 6)
c_cmd_x("var", argument[0], argument[1], argument[2], argument[3], argument[4], argument[5]);
else if (argument_count == 7)
c_cmd_x("var", argument[0], argument[1], argument[2], argument[3], argument[4], string(argument[5]) + string(argument[6]));
} (darkcouch, "image_blend", 16777215, 0, 5); |
605 |
c_var_lerp_instancec_var_lerp_instancefunction c_var_lerp_instance()
{
if (argument_count < 6)
c_cmd_x("var", argument[0], argument[1], argument[2], argument[3], argument[4], 0);
else if (argument_count == 6)
c_cmd_x("var", argument[0], argument[1], argument[2], argument[3], argument[4], argument[5]);
else if (argument_count == 7)
c_cmd_x("var", argument[0], argument[1], argument[2], argument[3], argument[4], string(argument[5]) + string(argument[6]));
} (torsleep_flash, "image_alpha", 0, 1, 5); |
606 |
c_var_lerp_instancec_var_lerp_instancefunction c_var_lerp_instance()
{
if (argument_count < 6)
c_cmd_x("var", argument[0], argument[1], argument[2], argument[3], argument[4], 0);
else if (argument_count == 6)
c_cmd_x("var", argument[0], argument[1], argument[2], argument[3], argument[4], argument[5]);
else if (argument_count == 7)
c_cmd_x("var", argument[0], argument[1], argument[2], argument[3], argument[4], string(argument[5]) + string(argument[6]));
} (room_flash, "image_alpha", 0, 0.9, 5); |
607 |
c_wait(170); |
608 |
c_var_lerp_instancec_var_lerp_instancefunction c_var_lerp_instance()
{
if (argument_count < 6)
c_cmd_x("var", argument[0], argument[1], argument[2], argument[3], argument[4], 0);
else if (argument_count == 6)
c_cmd_x("var", argument[0], argument[1], argument[2], argument[3], argument[4], argument[5]);
else if (argument_count == 7)
c_cmd_x("var", argument[0], argument[1], argument[2], argument[3], argument[4], string(argument[5]) + string(argument[6]));
} (susleep, "image_blend", 0, 16777215, 5); |
609 |
c_var_lerp_instancec_var_lerp_instancefunction c_var_lerp_instance()
{
if (argument_count < 6)
c_cmd_x("var", argument[0], argument[1], argument[2], argument[3], argument[4], 0);
else if (argument_count == 6)
c_cmd_x("var", argument[0], argument[1], argument[2], argument[3], argument[4], argument[5]);
else if (argument_count == 7)
c_cmd_x("var", argument[0], argument[1], argument[2], argument[3], argument[4], string(argument[5]) + string(argument[6]));
} (darkcouch, "image_blend", 0, 16777215, 5); |
610 |
c_var_lerp_instancec_var_lerp_instancefunction c_var_lerp_instance()
{
if (argument_count < 6)
c_cmd_x("var", argument[0], argument[1], argument[2], argument[3], argument[4], 0);
else if (argument_count == 6)
c_cmd_x("var", argument[0], argument[1], argument[2], argument[3], argument[4], argument[5]);
else if (argument_count == 7)
c_cmd_x("var", argument[0], argument[1], argument[2], argument[3], argument[4], string(argument[5]) + string(argument[6]));
} (torsleep_flash, "image_alpha", 1, 0, 5); |
611 |
c_var_lerp_instancec_var_lerp_instancefunction c_var_lerp_instance()
{
if (argument_count < 6)
c_cmd_x("var", argument[0], argument[1], argument[2], argument[3], argument[4], 0);
else if (argument_count == 6)
c_cmd_x("var", argument[0], argument[1], argument[2], argument[3], argument[4], argument[5]);
else if (argument_count == 7)
c_cmd_x("var", argument[0], argument[1], argument[2], argument[3], argument[4], string(argument[5]) + string(argument[6]));
} (room_flash, "image_alpha", 0.9, 0, 5); |
612 |
c_wait(240); |
613 |
c_wait(10); |
614 |
c_var_instance(fountainkris, "drawkris", 0); |
615 |
c_visible(1); |
616 |
c_setxy(468, 148); |
617 |
c_shakestep(-10, 8); |
618 |
c_wait(30); |
619 |
c_shakestep(-4, 8); |
620 |
c_wait(30); |
621 |
c_sprite(spr_cutscene_32_kris_couch_soul_cushion); |
622 |
c_setxy(427, 167); |
623 |
c_imageindex(5); |
624 |
c_shakeobj(); |
625 |
c_soundplay(snd_step1); |
626 |
c_wait(60); |
627 |
c_imageindex(6); |
628 |
c_wait(5); |
629 |
c_imageindex(8); |
630 |
c_wait(60); |
631 |
c_imageindex(9); |
632 |
c_wait(5); |
633 |
c_imageindex(10); |
634 |
c_wait(5); |
635 |
c_imageindex(11); |
636 |
c_wait(5); |
637 |
c_imageindex(12); |
638 |
c_wait(60); |
639 |
c_imageindex(13); |
640 |
c_wait(5); |
641 |
c_imageindex(14); |
642 |
c_wait(5); |
643 |
c_imageindex(3); |
644 |
c_wait(5); |
645 |
c_imageindex(2); |
646 |
c_wait(5); |
647 |
c_imageindex(1); |
648 |
c_wait(120); |
649 |
c_var_instance(tvstatic, "depth", 5); |
650 |
c_var_lerp_instancec_var_lerp_instancefunction c_var_lerp_instance()
{
if (argument_count < 6)
c_cmd_x("var", argument[0], argument[1], argument[2], argument[3], argument[4], 0);
else if (argument_count == 6)
c_cmd_x("var", argument[0], argument[1], argument[2], argument[3], argument[4], argument[5]);
else if (argument_count == 7)
c_cmd_x("var", argument[0], argument[1], argument[2], argument[3], argument[4], string(argument[5]) + string(argument[6]));
} (tvstatic, "image_alpha", 0, 1, 180); |
651 |
c_wait(240); |
652 |
if (os_type == os_ps4 || os_type == os_ps5) |
653 |
c_var_instance(id, "end_game", true); |
654 |
c_var_lerp_instancec_var_lerp_instancefunction c_var_lerp_instance()
{
if (argument_count < 6)
c_cmd_x("var", argument[0], argument[1], argument[2], argument[3], argument[4], 0);
else if (argument_count == 6)
c_cmd_x("var", argument[0], argument[1], argument[2], argument[3], argument[4], argument[5]);
else if (argument_count == 7)
c_cmd_x("var", argument[0], argument[1], argument[2], argument[3], argument[4], string(argument[5]) + string(argument[6]));
} (tvsmile, "image_alpha", 0, 1, 180); |
655 |
c_var_instance(id, "fade_out_deep", true); |
656 |
c_mus2("initloop", "tv_noise.ogg", 0); |
657 |
c_mus2("volume", 0, 0); |
658 |
c_mus2("volume", 1, 180); |
659 |
c_wait(360); |
660 |
c_var_instance(tvstatic, "image_alpha", 0); |
661 |
c_var_instance(tvsmile, "image_alpha", 0); |
662 |
c_var_instance(id, "return_title", true); |
663 |
} |
664 |
if (fade_out_deep) |
665 |
{ |
666 |
fade_out_deep = false; |
667 |
if (i_ex(obj_kris_fountain)) |
668 |
{ |
669 |
with (obj_kris_fountain) |
670 |
{ |
671 |
if (fountain_sound != -4) |
672 |
audio_sound_gain(fountain_sound, 0, 3000); |
673 |
} |
674 |
} |
675 |
} |
676 |
if (return_title) |
677 |
{ |
678 |
credits_timer++; |
679 |
if (credits_timer == 1) |
680 |
snd_free_all(); |
681 |
if (credits_timer == 180) |
682 |
{ |
683 |
if (i_ex(obj_kris_fountain)) |
684 |
instance_destroy(obj_kris_fountain); |
685 |
room_goto(room_ed ); |
686 |
} |
687 |
} |
688 |
if (removefg == true) |
689 |
{ |
690 |
removefg = false; |
691 |
if (layer_exists("Compatibility_Tiles_Depth_10000")) |
692 |
layer_destroy("Compatibility_Tiles_Depth_10000"); |
693 |
} |
694 |
if (con == 40) |
695 |
con = 49; |
696 |
if (con == 50 && !d_ex()) |
697 |
{ |
698 |
con = 60; |
699 |
c_actortokris(); |
700 |
c_terminatekillactors(); |
701 |
} |
702 |
if (con == 60 && !i_ex(obj_cutscene_master)) |
703 |
{ |
704 |
con = 0; |
705 |
global.interact = 0; |
706 |
global.facing = 0; |
707 |
} |
708 |
if (disable_face) |
709 |
{ |
710 |
disable_face = false; |
711 |
global.fc = 0; |
712 |
} |
713 |
if (enable_face) |
714 |
{ |
715 |
enable_face = false; |
716 |
global.fc = 1; |
717 |
} |
718 |
if (footsteps) |
719 |
{ |
720 |
footsteps = false; |
721 |
var steps = snd_play(snd_step1); |
722 |
audio_sound_gain(steps, footsteps_volume, 0); |
723 |
alarm[1] = 30; |
724 |
} |
725 |
if (susie_snore > 0) |
726 |
{ |
727 |
if (susie_snore == 1) |
728 |
{ |
729 |
snore = snd_loop(snd_susie_snore); |
730 |
susie_snore = 2; |
731 |
} |
732 |
if (susie_snore == 3) |
733 |
{ |
734 |
snd_volume(snore, 0, 150); |
735 |
susie_snore = 4; |
736 |
} |
737 |
if (susie_snore == 5) |
738 |
{ |
739 |
snd_stop(snore); |
740 |
susie_snore = 0; |
741 |
} |
742 |
} |
743 |
if (show_door_open) |
744 |
{ |
745 |
show_door_open = false; |
746 |
var door_open = 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;
} (588, 98, spr_cutscene_32_door_open); |
747 |
with (door_open) |
748 |
{ |
749 |
image_index = 1; |
750 |
depth = 4900000; |
751 |
} |
752 |
} |
753 |
if (align_susie) |
754 |
{ |
755 |
align_susie = false; |
756 |
susleep.image_index = su_actor.image_index; |
757 |
} |
758 |
if (end_game) |
759 |
{ |
760 |
end_game = false; |
761 |
if (global.flag[918 got_ch2_egg] == 0) |
762 |
{ |
763 |
with (obj_event_manager) |
764 |
trigger_event(UnknownEnum.Value_0, UnknownEnum.Value_2); |
765 |
} |
766 |
with (obj_event_manager) |
767 |
trigger_event(UnknownEnum.Value_2, UnknownEnum.Value_1); |
768 |
_remfilechoice = global.filechoice; |
769 |
global.filechoice += 3; |
770 |
scr_savescr_savefunction scr_save()
{
scr_saveprocess(global.filechoice);
filechoicebk2 = global.filechoice;
global.filechoice = 9;
scr_saveprocess(9);
global.filechoice = filechoicebk2;
iniwrite = ossafe_ini_open("dr.ini");
ini_write_string( scr_ini_chapter(global.chapter, global.filechoice), "Name", global.truename);
ini_write_real( scr_ini_chapter(global.chapter, global.filechoice), "Level", global.lv);
ini_write_real( scr_ini_chapter(global.chapter, global.filechoice), "Love", global.llv);
ini_write_real( scr_ini_chapter(global.chapter, global.filechoice), "Time", global.time);
ini_write_real( scr_ini_chapter(global.chapter, global.filechoice), "Date", date_current_datetime());
ini_write_real( scr_ini_chapter(global.chapter, global.filechoice), "Room", scr_get_id_by_room_index(room));
ini_write_real( scr_ini_chapter(global.chapter, global.filechoice), "InitLang", global.flag[912 language]);
var uraboss = 0;
if (global.chapter == 1)
{
if ( global.flag[241 JEVIL_plot] == 6)
uraboss = 1;
else if ( global.flag[241 JEVIL_plot] == 7)
uraboss = 2;
}
if (global.chapter == 2)
{
if ( global.flag[571 encount_spamton_neo] == 1)
uraboss = 1;
else if ( global.flag[571 encount_spamton_neo] == 2)
uraboss = 2;
}
ini_write_real( scr_ini_chapter(global.chapter, global.filechoice), "UraBoss", uraboss);
ini_write_string( scr_ini_chapter(global.chapter, global.filechoice), "Version", global.version);
ossafe_ini_close();
scr_store_ura_result(global.chapter, global.filechoice, uraboss);
ossafe_ini_open("keyconfig_" + string(global.filechoice) + ".ini");
for (i = 0; i < 10; i += 1)
ini_write_real("KEYBOARD_CONTROLS", string(i), global.input_k[i]);
for (i = 0; i < 10; i += 1)
ini_write_real("GAMEPAD_CONTROLS", string(i), global.input_g[i]);
ini_write_real("SHOULDERLB_REASSIGN", "SHOULDERLB_REASSIGN", obj_gamecontroller.gamepad_shoulderlb_reassign);
ossafe_ini_close();
ossafe_savedata_save();
} (); |
771 |
global.filechoice = _remfilechoice; |
772 |
} |
773 |
|
774 |
enum UnknownEnum |
775 |
{ |
776 |
Value_0, |
777 |
Value_1, |
778 |
Value_2 |
779 |
} |