1 |
if (con == 0 && obj_mainchara.y >= (y - 26) && global.interact == 0) |
2 |
{ |
3 |
if (global.plot < 14) |
4 |
{ |
5 |
con = 20; |
6 |
global.interact = 1; |
7 |
scr_speakerscr_speakerfunction scr_speaker(arg0)
{
_speaker = arg0;
global.typer = 5;
if (global.darkzone == 1)
global.typer = 6;
if (global.fighting == 1)
global.typer = 4;
global.fc = 0;
global.fe = 0;
if (_speaker == "silent" && global.darkzone == 0)
global.typer = 2;
if (_speaker == "silent" && global.darkzone == 1)
global.typer = 36;
if (_speaker == "balloon" || _speaker == "enemy")
global.typer = 50;
if (_speaker == "sans")
{
global.typer = 14;
global.fc = 6;
}
if (_speaker == "undyne" || _speaker == "und")
{
global.typer = 17;
global.fc = 9;
}
if (_speaker == "temmie" || _speaker == "tem")
global.typer = 21;
if (_speaker == "jevil")
global.typer = 35;
if (_speaker == "catti")
global.fc = 13;
if (_speaker == "jockington" || _speaker == "joc")
global.fc = 14;
if (_speaker == "catty" || _speaker == "caddy")
global.fc = 16;
if (_speaker == "bratty" || _speaker == "bra")
global.fc = 17;
if (_speaker == "rouxls" || _speaker == "rou")
global.fc = 18;
if (_speaker == "burgerpants" || _speaker == "bur")
global.fc = 19;
if (_speaker == "spamton")
{
if (global.fighting == 0)
global.typer = 66;
else
global.typer = 68;
}
if (_speaker == "sneo")
global.typer = 67;
if (_speaker == "susie" || _speaker == "sus")
{
global.fc = 1;
global.typer = 10;
if (global.darkzone == 1)
{
global.typer = 30;
if (global.fighting == 1)
global.typer = 47;
}
}
if (_speaker == "ralsei" || _speaker == "ral")
{
global.fc = 2;
global.typer = 31;
if (global.fighting == 1)
global.typer = 45;
if ( global.flag[30 ralsei_hat_state] == 1)
global.typer = 6;
}
if (_speaker == "noelle" || _speaker == "noe")
{
global.fc = 3;
if (global.darkzone == 0)
global.typer = 12;
else
global.typer = 56;
if (global.fighting == 1)
global.typer = 59;
}
if (_speaker == "toriel" || _speaker == "tor")
{
global.fc = 4;
global.typer = 7;
}
if (_speaker == "asgore" || _speaker == "asg")
{
global.fc = 10;
global.typer = 18;
}
if (_speaker == "king" || _speaker == "kin")
{
global.fc = 20;
global.typer = 33;
if (global.chapter == 1)
{
if (global.plot < 235)
global.typer = 36;
}
if (global.fighting == 1)
... ("ralsei"); |
8 |
global.fe = 0; |
9 |
msgsetloc(0, Face 2* (Kris,Delay 11 I have something to show you in the CASTLE!)Wait for inputClose Message"\\E2* (Kris^1, I have something to show you in the CASTLE!)/%", "obj_ch2_scene6_slash_Step_0_gml_11_0" ); |
10 |
d_make(); |
11 |
obj_mainchara.y = y - 27; |
12 |
} |
13 |
if (global.plot == 15) |
14 |
{ |
15 |
global.interact = 1; |
16 |
con = 1; |
17 |
} |
18 |
} |
19 |
if (con == 1) |
20 |
{ |
21 |
con = 5; |
22 |
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;
} (); |
23 |
with (obj_mainchara) |
24 |
visible = 0; |
25 |
la = 3; |
26 |
la_actor = instance_create(obj_mainchara.x - 16, 900, obj_actor); |
27 |
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);
}
} (la, la_actor, "lancer"); |
28 |
la_actor.sprite_index = spr_lancer_dt; |
29 |
ro = 4; |
30 |
ro_actor = instance_create(obj_mainchara.x - 28, 900, obj_actor); |
31 |
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);
}
} (ro, ro_actor, "rouxls"); |
32 |
ro_actor.sprite_index = spr_rurus_idle; |
33 |
c_sel(ro); |
34 |
c_autowalk(0); |
35 |
sw = 5; |
36 |
sw_actor = instance_create(obj_mainchara.x - 20, 900, obj_actor); |
37 |
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);
}
} (sw, sw_actor, "starwalker"); |
38 |
sw_actor.sprite_index = spr_npc_originalstarwalker; |
39 |
with (sw_actor) |
40 |
specialsprite[0] = spr_npc_originalstarwalker_walk_down; |
41 |
c_sel(sw); |
42 |
c_autowalk(0); |
43 |
la_card = instance_create(0, 0, obj_marker); |
44 |
la_card.sprite_index = spr_cutscene_06_lancer_card; |
45 |
ro_card = instance_create(0, 0, obj_marker); |
46 |
ro_card.sprite_index = spr_cutscene_06_rouxls_card; |
47 |
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;
}
}
}
} (); |
48 |
c_msgside("bottom"); |
49 |
c_sel(su); |
50 |
c_arg_objectxy(kr_actor, 42, -80); |
51 |
c_walkdirect(x, y, 15); |
52 |
c_sel(ra); |
53 |
c_arg_objectxy(kr_actor, -50, -75); |
54 |
c_walkdirect(x, y, 15); |
55 |
c_wait(15); |
56 |
c_facing("d"); |
57 |
c_sel(su); |
58 |
c_facing("d"); |
59 |
c_wait(5); |
60 |
c_sel(kr); |
61 |
c_facing("u"); |
62 |
c_speaker("susie"); |
63 |
c_msgsetloc(0, Face 6* Wait,Delay 11 Kris,Delay 11 we're leaving!? But we just got here!Wait for input"\\E6* Wait^1, Kris^1, we're leaving!? But we just got here!/", "obj_ch2_scene6_slash_Step_0_gml_84_0" ); |
64 |
c_msgnextloc(Face K* Man,Delay 11 I don't wanna go do our group project...Wait for inputClose Message"\\EK* Man^1, I don't wanna go do our group project.../%", "obj_ch2_scene6_slash_Step_0_gml_85_0" ); |
65 |
c_talk_wait(); |
66 |
c_wait("5"); |
67 |
c_sel(ra); |
68 |
c_facing("r"); |
69 |
c_wait("5"); |
70 |
c_speaker("ralsei"); |
71 |
c_msgsetloc(0, Face K* Oh.Delay 11.. You two have homework?Wait for inputClose Message"\\EK* Oh^1... You two have homework?/%", "obj_ch2_scene6_slash_Step_0_gml_93_0" ); |
72 |
c_talk_wait(); |
73 |
c_wait("5"); |
74 |
c_sel(su); |
75 |
c_facing("r"); |
76 |
c_wait(5); |
77 |
c_speaker("susie"); |
78 |
c_msgsetloc(0, Face K* Uhh,Delay 11 well,Delay 11Wait for inputClose Message"\\EK* Uhh^1, well^1,/%", "obj_ch2_scene6_slash_Step_0_gml_101_0" ); |
79 |
c_talk_wait(); |
80 |
c_wait(5); |
81 |
c_speaker("ralsei"); |
82 |
c_msgsetloc(0, Face N* Susie,Delay 11 Kris,Delay 11 you ought to do it right away!Delay 11 School's important!Wait for input"\\EN* Susie^1, Kris^1, you ought to do it right away^1! School's important!/", "obj_ch2_scene6_slash_Step_0_gml_106_0" ); |
83 |
c_msgnextloc(Face N* I banish you from this kingdom until you start your project!Wait for inputClose Message"\\EN* I banish you from this kingdom until you start your project!/%", "obj_ch2_scene6_slash_Step_0_gml_107_0" ); |
84 |
c_talk_wait(); |
85 |
c_sel(su); |
86 |
c_facing("l"); |
87 |
c_wait(5); |
88 |
c_speaker("susie"); |
89 |
c_msgsetloc(0, Face H* Ugh,Delay 11 fine!!!Delay 11 I'll do it!!!Delay 11 Jeez!!!Wait for inputClose Message"\\EH* Ugh^1, fine!!^1! I'll do it!!^1! Jeez!!!/%", "obj_ch2_scene6_slash_Step_0_gml_116_0" ); |
90 |
c_talk_wait(); |
91 |
c_sel(la); |
92 |
c_walk_wait("d", 15, 15); |
93 |
c_sel(su); |
94 |
c_facing("susieunhappy"); |
95 |
c_facing("u"); |
96 |
c_sel(ra); |
97 |
c_facing("u"); |
98 |
c_wait(15); |
99 |
c_speaker("lancer"); |
100 |
c_msgsetloc(0, Face 1* Susie!!Delay 11 Don't worry!!Delay 11 I'll go and help you,Delay 11 too!!!Wait for input"\\E1* Susie!^1! Don't worry!^1! I'll go and help you^1, too!!!/", "obj_ch2_scene6_slash_Step_0_gml_128_0" ); |
101 |
c_facenext("ralsei", "C"); |
102 |
c_msgnextloc(* Er,Delay 11 wait,Delay 11 Lancer!Delay 11 Perhaps you shouldn't -Wait for input"* Er^1, wait^1, Lancer^1! Perhaps you shouldn't -/", "obj_ch2_scene6_slash_Step_0_gml_130_0" ); |
103 |
c_facenext("lancer", 3); |
104 |
c_msgnextloc(* Too late,Delay 11 kindboy!!Delay 11 Friendship Forme!!Wait for inputClose Message"* Too late^1, kindboy!^1! Friendship Forme!!/%", "obj_ch2_scene6_slash_Step_0_gml_132_0" ); |
105 |
c_talk_wait(); |
106 |
c_sel(kr); |
107 |
c_autodepth(0); |
108 |
c_depth(90); |
109 |
c_sel(la); |
110 |
c_spin(2); |
111 |
c_walk("d", 4, 35); |
112 |
c_sel(su); |
113 |
c_delayfacing(15, "l"); |
114 |
c_delayfacing(30, "d"); |
115 |
c_sel(ra); |
116 |
c_delayfacing(15, "r"); |
117 |
c_delayfacing(30, "d"); |
118 |
c_wait(35); |
119 |
c_sel(la); |
120 |
c_visible(0); |
121 |
c_soundplay(snd_hypnosis); |
122 |
c_sel(kr); |
123 |
c_autodepth(1); |
124 |
c_wait(60); |
125 |
c_soundplay(snd_acquire_lancer); |
126 |
c_speaker("no_name"); |
127 |
c_msgsetloc(0, * (LANCER was added to your Key Items.)Wait for input"* (LANCER was added to your Key Items.)/", "obj_ch2_scene6_slash_Step_0_gml_161_0" ); |
128 |
c_facenext("susie", 6); |
129 |
c_msgnextloc(* ...Delay 11 What? Where'd you go...?Wait for input"* ..^1. What? Where'd you go...?/", "obj_ch2_scene6_slash_Step_0_gml_163_0" ); |
130 |
c_facenext("lancer", 0); |
131 |
c_msgnextloc(* Don't worry!!Delay 11 I just entered your INVENTORY!!Wait for input"* Don't worry!^1! I just entered your INVENTORY!!/", "obj_ch2_scene6_slash_Step_0_gml_165_0" ); |
132 |
c_msgnextloc(Face 3* I'll just be hanging out in Kris's pocket!!!Wait for input"\\E3* I'll just be hanging out in Kris's pocket!!!/", "obj_ch2_scene6_slash_Step_0_gml_166_0" ); |
133 |
c_facenext("susie", "K"); |
134 |
c_msgnextloc(Face K* Dunno what that means,Delay 11 but OK!Wait for inputClose Message"\\EK* Dunno what that means^1, but OK!/%", "obj_ch2_scene6_slash_Step_0_gml_168_0" ); |
135 |
c_talk_wait(); |
136 |
c_wait(5); |
137 |
c_sel(ro); |
138 |
c_walk_wait("d", 15, 12); |
139 |
c_sel(su); |
140 |
c_facing("u"); |
141 |
c_sel(ra); |
142 |
c_facing("u"); |
143 |
c_wait(15); |
144 |
c_speaker("rouxls"); |
145 |
c_msgsetloc(0, * Feare not!Delay 11 I too,Delay 11 shall Assisteth!Wait for input"* Feare not^1! I too^1, shall Assisteth!/", "obj_ch2_scene6_slash_Step_0_gml_180_0" ); |
146 |
c_facenext("susie", "4"); |
147 |
c_msgnextloc(Face 4* Uh,Delay 11 we're good.Wait for input"\\E4* Uh^1, we're good./", "obj_ch2_scene6_slash_Step_0_gml_182_0" ); |
148 |
c_facenext("rouxls", "3"); |
149 |
c_msgnextloc(Face 3* Ahah,Delay 11 quite!!Delay 11 We,Delay 11 as a Teame -Delay 11 art Good!!!Wait for inputClose Message"\\E3* Ahah^1, quite!^1! We^1, as a Teame ^1- art Good!!!/%", "obj_ch2_scene6_slash_Step_0_gml_184_0" ); |
150 |
c_talk_wait(); |
151 |
c_wait(5); |
152 |
c_sel(ro); |
153 |
c_arg_objectxy(kr_actor, -28, -40); |
154 |
c_walkdirect(x, y, 10); |
155 |
c_wait(5); |
156 |
c_sel(su); |
157 |
c_facing("d"); |
158 |
c_sel(ra); |
159 |
c_facing("d"); |
160 |
c_wait(5); |
161 |
c_sel(ro); |
162 |
c_visible(0); |
163 |
c_wait(5); |
164 |
c_soundplay(snd_item); |
165 |
c_speaker("no_name"); |
166 |
c_msgsetloc(0, * (ROUXLS became a Key Item even though no one wanted that.)Wait for inputClose Message"* (ROUXLS became a Key Item even though no one wanted that.)/%", "obj_ch2_scene6_slash_Step_0_gml_201_0" ); |
167 |
c_talk_wait(); |
168 |
if (global.flag[254 starwalker] == 1) |
169 |
{ |
170 |
scr_keyitemgetscr_keyitemgetfunction scr_keyitemget(arg0)
{
i = 0;
loop = 1;
noroom = 0;
global.item[12] = 999;
while (loop == 1)
{
if (global.keyitem[i] == 0)
{
global.keyitem[i] = arg0;
break;
}
if (i == 12)
{
noroom = 1;
break;
}
i += 1;
}
script_execute(scr_keyiteminfo_all);
} (14); |
171 |
c_wait(10); |
172 |
c_sel(sw); |
173 |
c_walk_wait("d", 15, 15); |
174 |
c_sel(su); |
175 |
c_facing("u"); |
176 |
c_sel(ra); |
177 |
c_facing("u"); |
178 |
c_sel(sw); |
179 |
c_speaker("no_name"); |
180 |
c_msgsetloc(0, * I will also joinWait for inputClose Message"* \\cYI\\cW will also \\cYjoin\\cW/%", "obj_ch2_scene6_slash_Step_0_gml_214_0" ); |
181 |
c_talk_wait(); |
182 |
c_wait(5); |
183 |
c_sprite(spr_npc_originalstarwalker_walk_down); |
184 |
c_imagespeed(0.25); |
185 |
c_arg_objectxy(kr_actor, -20, -20); |
186 |
c_walkdirect(x, y, 60); |
187 |
c_wait(20); |
188 |
c_sel(su); |
189 |
c_facing("l"); |
190 |
c_sel(ra); |
191 |
c_facing("r"); |
192 |
c_wait(20); |
193 |
c_sel(su); |
194 |
c_facing("d"); |
195 |
c_sel(ra); |
196 |
c_facing("d"); |
197 |
c_wait(20); |
198 |
c_sel(sw); |
199 |
c_visible(0); |
200 |
c_soundplay(snd_shineselect); |
201 |
c_wait(20); |
202 |
c_soundplay(snd_item); |
203 |
c_speaker("no_name"); |
204 |
c_msgsetloc(0, * (THE ORIGINAL STARWALKER became a Key Item.)Wait for inputClose Message"* (THE ORIGINAL \\cYSTARWALKER\\cW became a Key Item.)/%", "obj_ch2_scene6_slash_Step_0_gml_238_0" ); |
205 |
c_talk_wait(); |
206 |
} |
207 |
c_wait(5); |
208 |
c_speaker("susie"); |
209 |
c_msgsetloc(0, Face K* ...Wait for inputClose Message"\\EK* .../%", "obj_ch2_scene6_slash_Step_0_gml_243_0" ); |
210 |
c_talk_wait(); |
211 |
c_sel(su); |
212 |
c_facing("d"); |
213 |
c_sel(ra); |
214 |
c_facing("d"); |
215 |
c_speaker("susie"); |
216 |
c_msgsetloc(0, Face 0* Alright,Delay 11 enough already. Let's get going.Wait for inputClose Message"\\E0* Alright^1, enough already. Let's get going./%", "obj_ch2_scene6_slash_Step_0_gml_250_0" ); |
217 |
c_talk_wait(); |
218 |
c_wait(5); |
219 |
c_sel(su); |
220 |
c_walk_wait("l", 8, 5); |
221 |
c_sel(kr); |
222 |
c_autowalk(0); |
223 |
c_walk("l", 6, 5); |
224 |
c_sel(su); |
225 |
c_walk("d", 8, 95); |
226 |
c_wait(15); |
227 |
c_sel(kr); |
228 |
c_walk("r", 3, 10); |
229 |
c_wait(15); |
230 |
c_sel(ra); |
231 |
c_walk_wait("r", 4, 13); |
232 |
c_walk_wait("d", 4, 10); |
233 |
c_wait(5); |
234 |
c_facing("d"); |
235 |
c_speaker("ralsei"); |
236 |
c_msgsetloc(0, Face 2* Good luck today,Delay 11 Kris. See you soon!Wait for inputClose Message"\\E2* Good luck today^1, Kris. See you soon!/%", "obj_ch2_scene6_slash_Step_0_gml_276_0" ); |
237 |
c_talk_wait(); |
238 |
c_wait(5); |
239 |
c_sel(kr); |
240 |
c_autowalk(1); |
241 |
c_walk("d", 6, 85); |
242 |
c_wait(5); |
243 |
c_fadeout(35); |
244 |
c_wait(40); |
245 |
c_actortokris(); |
246 |
c_pannable(0); |
247 |
c_terminatekillactors(); |
248 |
} |
249 |
if (customcon == 1 && con == 2) |
250 |
{ |
251 |
if (!instance_exists(obj_dialoguer)) |
252 |
{ |
253 |
customcon = 0; |
254 |
c_waitcustom_end(); |
255 |
con = 3; |
256 |
} |
257 |
ralTimer++; |
258 |
if (ralTimer == 1) |
259 |
{ |
260 |
with (ra_actor) |
261 |
scr_jump_in_place(10, 10); |
262 |
} |
263 |
if (ralTimer > 11) |
264 |
ralTimer = 0; |
265 |
} |
266 |
if (customcon == 1 && con == 3) |
267 |
{ |
268 |
if (la_actor.visible == 0) |
269 |
{ |
270 |
con = 4; |
271 |
lancerGlow = 3; |
272 |
customcon = 0; |
273 |
c_waitcustom_end(); |
274 |
} |
275 |
kr_actor.depth = -99999999; |
276 |
lancerSpin += addAmount; |
277 |
moveAmount = 1; |
278 |
if (lancerCard == 0) |
279 |
{ |
280 |
if (lancerSpin >= 12) |
281 |
{ |
282 |
totalSpins++; |
283 |
lancerSpin = 0; |
284 |
if (addAmount < 2.5) |
285 |
addAmount += 0.5; |
286 |
} |
287 |
if (lancerSpin < 12) |
288 |
scr_actor_facingscr_actor_facingfunction scr_actor_facing(arg0, arg1)
{
__newfacing = arg1;
arg0.facing = __newfacing;
if (__newfacing == "d")
arg0.sprite_index = arg0.dsprite;
if (__newfacing == "r")
arg0.sprite_index = arg0.rsprite;
if (__newfacing == "l")
arg0.sprite_index = arg0.lsprite;
if (__newfacing == "u")
arg0.sprite_index = arg0.usprite;
} (la_actor, "r"); |
289 |
if (lancerSpin < 9) |
290 |
scr_actor_facingscr_actor_facingfunction scr_actor_facing(arg0, arg1)
{
__newfacing = arg1;
arg0.facing = __newfacing;
if (__newfacing == "d")
arg0.sprite_index = arg0.dsprite;
if (__newfacing == "r")
arg0.sprite_index = arg0.rsprite;
if (__newfacing == "l")
arg0.sprite_index = arg0.lsprite;
if (__newfacing == "u")
arg0.sprite_index = arg0.usprite;
} (la_actor, "u"); |
291 |
if (lancerSpin < 6) |
292 |
scr_actor_facingscr_actor_facingfunction scr_actor_facing(arg0, arg1)
{
__newfacing = arg1;
arg0.facing = __newfacing;
if (__newfacing == "d")
arg0.sprite_index = arg0.dsprite;
if (__newfacing == "r")
arg0.sprite_index = arg0.rsprite;
if (__newfacing == "l")
arg0.sprite_index = arg0.lsprite;
if (__newfacing == "u")
arg0.sprite_index = arg0.usprite;
} (la_actor, "l"); |
293 |
if (lancerSpin < 3) |
294 |
scr_actor_facingscr_actor_facingfunction scr_actor_facing(arg0, arg1)
{
__newfacing = arg1;
arg0.facing = __newfacing;
if (__newfacing == "d")
arg0.sprite_index = arg0.dsprite;
if (__newfacing == "r")
arg0.sprite_index = arg0.rsprite;
if (__newfacing == "l")
arg0.sprite_index = arg0.lsprite;
if (__newfacing == "u")
arg0.sprite_index = arg0.usprite;
} (la_actor, "d"); |
295 |
} |
296 |
if (lancerCard == 1) |
297 |
la_card.y += 4; |
298 |
if (la_card.y > (su_actor.y + 30) && stepAway == 0) |
299 |
{ |
300 |
scr_actor_facingscr_actor_facingfunction scr_actor_facing(arg0, arg1)
{
__newfacing = arg1;
arg0.facing = __newfacing;
if (__newfacing == "d")
arg0.sprite_index = arg0.dsprite;
if (__newfacing == "r")
arg0.sprite_index = arg0.rsprite;
if (__newfacing == "l")
arg0.sprite_index = arg0.lsprite;
if (__newfacing == "u")
arg0.sprite_index = arg0.usprite;
} (su_actor, "l"); |
301 |
scr_actor_facingscr_actor_facingfunction scr_actor_facing(arg0, arg1)
{
__newfacing = arg1;
arg0.facing = __newfacing;
if (__newfacing == "d")
arg0.sprite_index = arg0.dsprite;
if (__newfacing == "r")
arg0.sprite_index = arg0.rsprite;
if (__newfacing == "l")
arg0.sprite_index = arg0.lsprite;
if (__newfacing == "u")
arg0.sprite_index = arg0.usprite;
} (ra_actor, "r"); |
302 |
} |
303 |
if (la_card.y > (su_actor.y + 60)) |
304 |
{ |
305 |
scr_actor_facingscr_actor_facingfunction scr_actor_facing(arg0, arg1)
{
__newfacing = arg1;
arg0.facing = __newfacing;
if (__newfacing == "d")
arg0.sprite_index = arg0.dsprite;
if (__newfacing == "r")
arg0.sprite_index = arg0.rsprite;
if (__newfacing == "l")
arg0.sprite_index = arg0.lsprite;
if (__newfacing == "u")
arg0.sprite_index = arg0.usprite;
} (su_actor, "d"); |
306 |
scr_actor_facingscr_actor_facingfunction scr_actor_facing(arg0, arg1)
{
__newfacing = arg1;
arg0.facing = __newfacing;
if (__newfacing == "d")
arg0.sprite_index = arg0.dsprite;
if (__newfacing == "r")
arg0.sprite_index = arg0.rsprite;
if (__newfacing == "l")
arg0.sprite_index = arg0.lsprite;
if (__newfacing == "u")
arg0.sprite_index = arg0.usprite;
} (ra_actor, "d"); |
307 |
} |
308 |
if (la_card.y >= (kr_actor.y + 10)) |
309 |
{ |
310 |
moveAmount = 0; |
311 |
addAmount = 0; |
312 |
with (la_card) |
313 |
visible = 0; |
314 |
with (la_actor) |
315 |
visible = 0; |
316 |
} |
317 |
if (totalSpins > 3 && lancerGlow == 0) |
318 |
{ |
319 |
shrinkValue = 1; |
320 |
morphTime = 0; |
321 |
growValue = 0; |
322 |
cardMade = 0; |
323 |
halfWidth = la_actor.sprite_width * 0.5; |
324 |
origX = la_actor.x; |
325 |
halfHeight = la_actor.sprite_height * 0.5; |
326 |
origY = la_actor.y; |
327 |
lancerGlow = 1; |
328 |
} |
329 |
if (totalSpins > 18 && lancerGlow == 1) |
330 |
{ |
331 |
lancerGlow = 2; |
332 |
morphTime = 0; |
333 |
} |
334 |
} |
335 |
if (customcon == 1 && con == 4) |
336 |
{ |
337 |
conTimer++; |
338 |
if (ro_actor.visible == 0) |
339 |
{ |
340 |
con = 5; |
341 |
customcon = 0; |
342 |
lancerGlow = 6; |
343 |
c_waitcustom_end(); |
344 |
} |
345 |
kr_actor.depth = -99999999; |
346 |
if (rouxlsCard == 1) |
347 |
ro_card.y += 6; |
348 |
if (ro_card.y > (su_actor.y + 30) && stepAway == 0) |
349 |
{ |
350 |
scr_actor_facingscr_actor_facingfunction scr_actor_facing(arg0, arg1)
{
__newfacing = arg1;
arg0.facing = __newfacing;
if (__newfacing == "d")
arg0.sprite_index = arg0.dsprite;
if (__newfacing == "r")
arg0.sprite_index = arg0.rsprite;
if (__newfacing == "l")
arg0.sprite_index = arg0.lsprite;
if (__newfacing == "u")
arg0.sprite_index = arg0.usprite;
} (su_actor, "l"); |
351 |
scr_actor_facingscr_actor_facingfunction scr_actor_facing(arg0, arg1)
{
__newfacing = arg1;
arg0.facing = __newfacing;
if (__newfacing == "d")
arg0.sprite_index = arg0.dsprite;
if (__newfacing == "r")
arg0.sprite_index = arg0.rsprite;
if (__newfacing == "l")
arg0.sprite_index = arg0.lsprite;
if (__newfacing == "u")
arg0.sprite_index = arg0.usprite;
} (ra_actor, "r"); |
352 |
} |
353 |
if (ro_card.y > (su_actor.y + 60)) |
354 |
{ |
355 |
scr_actor_facingscr_actor_facingfunction scr_actor_facing(arg0, arg1)
{
__newfacing = arg1;
arg0.facing = __newfacing;
if (__newfacing == "d")
arg0.sprite_index = arg0.dsprite;
if (__newfacing == "r")
arg0.sprite_index = arg0.rsprite;
if (__newfacing == "l")
arg0.sprite_index = arg0.lsprite;
if (__newfacing == "u")
arg0.sprite_index = arg0.usprite;
} (su_actor, "d"); |
356 |
scr_actor_facingscr_actor_facingfunction scr_actor_facing(arg0, arg1)
{
__newfacing = arg1;
arg0.facing = __newfacing;
if (__newfacing == "d")
arg0.sprite_index = arg0.dsprite;
if (__newfacing == "r")
arg0.sprite_index = arg0.rsprite;
if (__newfacing == "l")
arg0.sprite_index = arg0.lsprite;
if (__newfacing == "u")
arg0.sprite_index = arg0.usprite;
} (ra_actor, "d"); |
357 |
} |
358 |
if (ro_card.y >= (kr_actor.y + 10)) |
359 |
{ |
360 |
moveAmount = 0; |
361 |
addAmount = 0; |
362 |
with (ro_card) |
363 |
visible = 0; |
364 |
with (ro_actor) |
365 |
visible = 0; |
366 |
} |
367 |
if (conTimer >= 5 && lancerGlow == 3) |
368 |
{ |
369 |
shrinkValue = 1; |
370 |
morphTime = 0; |
371 |
growValue = 0; |
372 |
cardMade = 0; |
373 |
halfWidth = ro_actor.sprite_width * 0.5; |
374 |
origX = ro_actor.x; |
375 |
halfHeight = ro_actor.sprite_height * 0.5; |
376 |
origY = ro_actor.y; |
377 |
lancerGlow = 4; |
378 |
} |
379 |
if (conTimer >= 60 && lancerGlow == 4) |
380 |
{ |
381 |
lancerGlow = 5; |
382 |
morphTime = 0; |
383 |
} |
384 |
} |
385 |
if (con == 5) |
386 |
{ |
387 |
if (!instance_exists(obj_cutscene_master)) |
388 |
{ |
389 |
con = 6; |
390 |
scr_losecharscr_losecharfunction scr_losechar()
{
global.char[2] = 0;
global.char[1] = 0;
with (obj_darkcontroller)
{
chartotal = 0;
havechar[0] = 0;
havechar[1] = 0;
havechar[2] = 0;
havechar[3] = 0;
for (i = 0; i < 3; i += 1)
{
global.faceaction[i] = 0;
if (global.char[i] != 0)
chartotal += 1;
if (global.char[i] == 1)
{
havechar[0] = 1;
charpos[0] = i;
}
if (global.char[i] == 2)
{
havechar[1] = 1;
charpos[1] = i;
}
if (global.char[i] == 3)
{
havechar[2] = 1;
charpos[2] = i;
}
if (global.char[i] == 4)
{
havechar[3] = 1;
charpos[3] = i;
}
}
}
global.submenu = 0;
global.charselect = -1;
for (i = 0; i < 36; i += 1)
global.submenucoord[i] = 0;
} (); |
391 |
scr_keyitemgetscr_keyitemgetfunction scr_keyitemget(arg0)
{
i = 0;
loop = 1;
noroom = 0;
global.item[12] = 999;
while (loop == 1)
{
if (global.keyitem[i] == 0)
{
global.keyitem[i] = arg0;
break;
}
if (i == 12)
{
noroom = 1;
break;
}
i += 1;
}
script_execute(scr_keyiteminfo_all);
} (8); |
392 |
scr_keyitemgetscr_keyitemgetfunction scr_keyitemget(arg0)
{
i = 0;
loop = 1;
noroom = 0;
global.item[12] = 999;
while (loop == 1)
{
if (global.keyitem[i] == 0)
{
global.keyitem[i] = arg0;
break;
}
if (i == 12)
{
noroom = 1;
break;
}
i += 1;
}
script_execute(scr_keyiteminfo_all);
} (9); |
393 |
scr_litemgetscr_litemgetfunction scr_litemget(arg0)
{
i = 0;
loop = 1;
noroom = 0;
global.litem[8] = 999;
while (loop == 1)
{
if (global.litem[i] == 0)
{
global.litem[i] = arg0;
break;
}
if (i == 8)
{
noroom = 1;
break;
}
i += 1;
}
scr_litemname();
} (9); |
394 |
scr_getcharscr_getcharfunction scr_getchar(arg0)
{
getchar = 0;
if (global.char[0] == 0)
{
global.char[0] = arg0;
getchar = 1;
}
if (global.char[1] == 0 && getchar == 0)
{
global.char[1] = arg0;
getchar = 1;
}
if (global.char[2] == 0 && getchar == 0)
{
global.char[2] = arg0;
getchar = 1;
}
with (obj_darkcontroller)
{
chartotal = 0;
havechar[0] = 0;
havechar[1] = 0;
havechar[2] = 0;
havechar[3] = 0;
for (i = 0; i < 3; i += 1)
{
global.faceaction[i] = 0;
if (global.char[i] != 0)
chartotal += 1;
if (global.char[i] == 1)
{
havechar[0] = 1;
charpos[0] = i;
}
if (global.char[i] == 2)
{
havechar[1] = 1;
charpos[1] = i;
}
if (global.char[i] == 3)
{
havechar[2] = 1;
charpos[2] = i;
}
if (global.char[i] == 4)
{
havechar[3] = 1;
charpos[3] = i;
}
}
}
} (2); |
395 |
global.interact = 0; |
396 |
if (global.plot < 16) |
397 |
global.plot = 16; |
398 |
global.facing = 0; |
399 |
instance_create(0, 0, obj_persistentfadein); |
400 |
room_goto(room_dw_castle_area_1 ); |
401 |
} |
402 |
} |
403 |
if (con == 20 && !d_ex()) |
404 |
{ |
405 |
con = 0; |
406 |
global.interact = 0; |
407 |
} |
408 |
if (con == 50) |
409 |
{ |
410 |
global.interact = 1; |
411 |
con = 51; |
412 |
obj_mainchara.x = 740; |
413 |
obj_mainchara.y = 720; |
414 |
} |
415 |
if (con == 51) |
416 |
{ |
417 |
scr_losecharscr_losecharfunction scr_losechar()
{
global.char[2] = 0;
global.char[1] = 0;
with (obj_darkcontroller)
{
chartotal = 0;
havechar[0] = 0;
havechar[1] = 0;
havechar[2] = 0;
havechar[3] = 0;
for (i = 0; i < 3; i += 1)
{
global.faceaction[i] = 0;
if (global.char[i] != 0)
chartotal += 1;
if (global.char[i] == 1)
{
havechar[0] = 1;
charpos[0] = i;
}
if (global.char[i] == 2)
{
havechar[1] = 1;
charpos[1] = i;
}
if (global.char[i] == 3)
{
havechar[2] = 1;
charpos[2] = i;
}
if (global.char[i] == 4)
{
havechar[3] = 1;
charpos[3] = i;
}
}
}
global.submenu = 0;
global.charselect = -1;
for (i = 0; i < 36; i += 1)
global.submenucoord[i] = 0;
} (); |
418 |
if (instance_exists(obj_caterpillarchara)) |
419 |
instance_destroy(obj_caterpillarchara); |
420 |
scr_getcharscr_getcharfunction scr_getchar(arg0)
{
getchar = 0;
if (global.char[0] == 0)
{
global.char[0] = arg0;
getchar = 1;
}
if (global.char[1] == 0 && getchar == 0)
{
global.char[1] = arg0;
getchar = 1;
}
if (global.char[2] == 0 && getchar == 0)
{
global.char[2] = arg0;
getchar = 1;
}
with (obj_darkcontroller)
{
chartotal = 0;
havechar[0] = 0;
havechar[1] = 0;
havechar[2] = 0;
havechar[3] = 0;
for (i = 0; i < 3; i += 1)
{
global.faceaction[i] = 0;
if (global.char[i] != 0)
chartotal += 1;
if (global.char[i] == 1)
{
havechar[0] = 1;
charpos[0] = i;
}
if (global.char[i] == 2)
{
havechar[1] = 1;
charpos[1] = i;
}
if (global.char[i] == 3)
{
havechar[2] = 1;
charpos[2] = i;
}
if (global.char[i] == 4)
{
havechar[3] = 1;
charpos[3] = i;
}
}
}
} (2); |
421 |
scr_getcharscr_getcharfunction scr_getchar(arg0)
{
getchar = 0;
if (global.char[0] == 0)
{
global.char[0] = arg0;
getchar = 1;
}
if (global.char[1] == 0 && getchar == 0)
{
global.char[1] = arg0;
getchar = 1;
}
if (global.char[2] == 0 && getchar == 0)
{
global.char[2] = arg0;
getchar = 1;
}
with (obj_darkcontroller)
{
chartotal = 0;
havechar[0] = 0;
havechar[1] = 0;
havechar[2] = 0;
havechar[3] = 0;
for (i = 0; i < 3; i += 1)
{
global.faceaction[i] = 0;
if (global.char[i] != 0)
chartotal += 1;
if (global.char[i] == 1)
{
havechar[0] = 1;
charpos[0] = i;
}
if (global.char[i] == 2)
{
havechar[1] = 1;
charpos[1] = i;
}
if (global.char[i] == 3)
{
havechar[2] = 1;
charpos[2] = i;
}
if (global.char[i] == 4)
{
havechar[3] = 1;
charpos[3] = i;
}
}
}
} (3); |
422 |
scr_makecaterpillarscr_makecaterpillarfunction scr_makecaterpillar(arg0, arg1, arg2, arg3)
{
global.cinstance[arg3] = instance_create(arg0, arg1, obj_caterpillarchara);
global.cinstance[arg3].target = 12 + (arg3 * 12);
if (arg2 == 3)
{
with (global.cinstance[arg3])
{
usprite = spr_ralseiu;
dsprite = spr_ralseid;
rsprite = spr_ralseir;
lsprite = spr_ralseil;
if (global.chapter >= 2)
{
name = "ralsei";
usprite = spr_ralsei_walk_up;
dsprite = spr_ralsei_walk_down;
rsprite = spr_ralsei_walk_right;
lsprite = spr_ralsei_walk_left;
}
}
}
if (arg2 == 4)
{
with (global.cinstance[arg3])
{
name = "noelle";
usprite = spr_noelle_walk_up_dw;
dsprite = spr_noelle_walk_down_dw;
rsprite = spr_noelle_walk_right_dw;
lsprite = spr_noelle_walk_left_dw;
if (global.chapter == 2 && global.plot == 95)
{
dsprite = spr_noelle_walk_down_blush_dw;
rsprite = spr_noelle_walk_right_blush_dw;
lsprite = spr_noelle_walk_left_blush_dw;
}
}
}
if (arg2 == 5)
{
with (global.cinstance[arg3])
{
name = "berdly";
usprite = spr_berdly_walk_up_dw;
dsprite = spr_berdly_walk_down_dw;
rsprite = spr_berdly_walk_right_dw;
lsprite = spr_berdly_walk_left_dw;
}
}
if (arg2 == 6)
{
with (global.cinstance[arg3])
{
name = "starwalker";
usprite = spr_npc_originalstarwalker;
dsprite = spr_npc_originalstarwalker;
rsprite = spr_npc_originalstarwalker;
lsprite = spr_npc_originalstarwalker;
}
}
return global.cinstance[arg3];
} (0, 0, 2, 0); |
423 |
scr_makecaterpillarscr_makecaterpillarfunction scr_makecaterpillar(arg0, arg1, arg2, arg3)
{
global.cinstance[arg3] = instance_create(arg0, arg1, obj_caterpillarchara);
global.cinstance[arg3].target = 12 + (arg3 * 12);
if (arg2 == 3)
{
with (global.cinstance[arg3])
{
usprite = spr_ralseiu;
dsprite = spr_ralseid;
rsprite = spr_ralseir;
lsprite = spr_ralseil;
if (global.chapter >= 2)
{
name = "ralsei";
usprite = spr_ralsei_walk_up;
dsprite = spr_ralsei_walk_down;
rsprite = spr_ralsei_walk_right;
lsprite = spr_ralsei_walk_left;
}
}
}
if (arg2 == 4)
{
with (global.cinstance[arg3])
{
name = "noelle";
usprite = spr_noelle_walk_up_dw;
dsprite = spr_noelle_walk_down_dw;
rsprite = spr_noelle_walk_right_dw;
lsprite = spr_noelle_walk_left_dw;
if (global.chapter == 2 && global.plot == 95)
{
dsprite = spr_noelle_walk_down_blush_dw;
rsprite = spr_noelle_walk_right_blush_dw;
lsprite = spr_noelle_walk_left_blush_dw;
}
}
}
if (arg2 == 5)
{
with (global.cinstance[arg3])
{
name = "berdly";
usprite = spr_berdly_walk_up_dw;
dsprite = spr_berdly_walk_down_dw;
rsprite = spr_berdly_walk_right_dw;
lsprite = spr_berdly_walk_left_dw;
}
}
if (arg2 == 6)
{
with (global.cinstance[arg3])
{
name = "starwalker";
usprite = spr_npc_originalstarwalker;
dsprite = spr_npc_originalstarwalker;
rsprite = spr_npc_originalstarwalker;
lsprite = spr_npc_originalstarwalker;
}
}
return global.cinstance[arg3];
} (0, 0, 3, 1); |
424 |
global.interact = 1; |
425 |
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;
} (); |
426 |
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;
}
}
}
} (); |
427 |
global.facing = 0; |
428 |
kr_actor.sprite_index = spr_krisu_dark; |
429 |
kr_actor.x = obj_mainchara.x; |
430 |
kr_actor.y = obj_mainchara.y; |
431 |
su_actor.sprite_index = spr_susie_shock; |
432 |
su_actor.specialsprite[6] = spr_cutscene_06_highfive; |
433 |
su_actor.x = obj_mainchara.x + 80; |
434 |
su_actor.y = obj_mainchara.y; |
435 |
ra_actor.sprite_index = spr_ralsei_walk_up; |
436 |
ra_actor.x = obj_mainchara.x - 80; |
437 |
ra_actor.y = obj_mainchara.y; |
438 |
la = 3; |
439 |
la_actor = instance_create(724, 440, obj_actor); |
440 |
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);
}
} (la, la_actor, "lancer"); |
441 |
la_actor.sprite_index = spr_lancer_dt; |
442 |
hathy = scr_dark_markerscr_dark_markerfunction scr_dark_marker(arg0, arg1, arg2)
{
thismarker = instance_create(arg0, arg1, obj_marker);
with (thismarker)
{
sprite_index = arg2;
image_speed = 0;
image_xscale = 2;
image_yscale = 2;
}
return thismarker;
} (883, 605, spr_heartenemy_overworld); |
443 |
with (hathy) |
444 |
scr_depth(); |
445 |
rabbick = scr_dark_markerscr_dark_markerfunction scr_dark_marker(arg0, arg1, arg2)
{
thismarker = instance_create(arg0, arg1, obj_marker);
with (thismarker)
{
sprite_index = arg2;
image_speed = 0;
image_xscale = 2;
image_yscale = 2;
}
return thismarker;
} (835, 570, spr_npc_rabbick_clean); |
446 |
with (rabbick) |
447 |
scr_depth(); |
448 |
blockler = scr_dark_markerscr_dark_markerfunction scr_dark_marker(arg0, arg1, arg2)
{
thismarker = instance_create(arg0, arg1, obj_marker);
with (thismarker)
{
sprite_index = arg2;
image_speed = 0;
image_xscale = 2;
image_yscale = 2;
}
return thismarker;
} (600, 565, spr_blockler_b); |
449 |
with (blockler) |
450 |
scr_depth(); |
451 |
c_wait(25); |
452 |
c_sel(su); |
453 |
c_facing("u"); |
454 |
c_sel(la); |
455 |
c_walk_wait("d", 20, 10); |
456 |
c_wait(15); |
457 |
c_soundplay(snd_lancerwhistle); |
458 |
c_spin(2); |
459 |
c_wait(8); |
460 |
c_spin(0); |
461 |
c_wait(8); |
462 |
c_mus2("initloop", "lancer.ogg", 0); |
463 |
c_speaker("lancer"); |
464 |
c_msgsetloc(0, Face 1* Guess who's back,Delay 11 Clowns!?Wait for input"\\E1* Guess who's back^1, Clowns!?/", "obj_ch2_scene6_slash_Step_0_gml_543_0" ); |
465 |
c_facenext("susie", 7); |
466 |
c_msgnextloc(Face 7* Lancer!!!Wait for inputClose Message"\\E7* Lancer!!!/%", "obj_ch2_scene6_slash_Step_0_gml_545_0" ); |
467 |
c_talk_wait(); |
468 |
c_sel(su); |
469 |
c_walkdirect_wait(802, 600, 10); |
470 |
c_sel(la); |
471 |
c_visible(0); |
472 |
c_sel(su); |
473 |
c_specialsprite(6); |
474 |
c_autowalk(0); |
475 |
c_animate(0, 0, 0.5); |
476 |
c_soundplay(snd_jump); |
477 |
c_wait(14); |
478 |
c_soundplay(snd_whip_crack_only); |
479 |
c_wait(8); |
480 |
c_soundplay(snd_lancerlaugh); |
481 |
c_wait(50); |
482 |
c_sel(la); |
483 |
c_visible(1); |
484 |
c_autowalk(0); |
485 |
c_sprite(spr_cutscene_06_floorlancer); |
486 |
c_sel(su); |
487 |
c_autowalk(1); |
488 |
c_facing("d"); |
489 |
c_speaker("susie"); |
490 |
c_msgsetloc(0, Face 2* Hey,Delay 11 Kris,Delay 11 dunno what you did,Delay 11 but hell yeah!Wait for inputClose Message"\\E2* Hey^1, Kris^1, dunno what you did^1, but hell yeah!/%", "obj_ch2_scene6_slash_Step_0_gml_566_0" ); |
491 |
c_talk_wait(); |
492 |
c_facing("r"); |
493 |
c_speaker("susie"); |
494 |
c_msgsetloc(0, Face 9* Everyone's here!Wait for inputClose Message"\\E9* Everyone's here!/%", "obj_ch2_scene6_slash_Step_0_gml_570_0" ); |
495 |
c_talk_wait(); |
496 |
if (global.flag[248 massacre_end] == 1) |
497 |
{ |
498 |
c_wait(30); |
499 |
c_facing("u"); |
500 |
c_speaker("susie"); |
501 |
c_msgsetloc(0, Face K* Uh,Delay 11 hey. Wait. I think we beat up some of these guys.Wait for input"\\EK* Uh^1, hey. Wait. I think we beat up some of these guys./", "obj_ch2_scene6_slash_Step_0_gml_591_0" ); |
502 |
c_msgnextloc(Face C* Are they not gonna like...Delay 11 gang up on us now?Wait for input"\\EC* Are they not gonna like..^1. gang up on us now?/", "obj_ch2_scene6_slash_Step_0_gml_592_0" ); |
503 |
c_facenext("lancer", 3); |
504 |
c_msgnextloc(Face 3* Don't worry,Delay 11 Susie!Wait for inputClose Message"\\E3* Don't worry^1, Susie!/%", "obj_ch2_scene6_slash_Step_0_gml_594_0" ); |
505 |
c_talk(); |
506 |
c_wait_box(3); |
507 |
c_facing("l"); |
508 |
c_sel(la); |
509 |
c_facing("d"); |
510 |
c_wait_talk(); |
511 |
c_sel(la); |
512 |
c_soundplay(snd_lancerwhistle); |
513 |
c_spin(4); |
514 |
c_wait(12); |
515 |
c_spin(0); |
516 |
c_wait(30); |
517 |
c_speaker("lancer"); |
518 |
c_msgsetloc(0, Face 1* Pop-pop got trapped in a hamster cage,Delay 11 making me Prince King.Wait for input"\\E1* Pop-pop got trapped in a hamster cage^1, making me Prince King./", "obj_ch2_scene6_slash_Step_0_gml_600_0_b" ); |
519 |
c_msgnextloc(Face 2* And with my new dad-like powers,Delay 11 I declared you forgiven!Wait for input"\\E2* And with my new dad-like powers^1, I declared you forgiven!/", "obj_ch2_scene6_slash_Step_0_gml_601_0" ); |
520 |
c_facenext("susie", 3); |
521 |
c_msgnextloc(Face 3* Cool,Delay 11 well,Delay 11 guess I won't beat anyone up here,Delay 11 either.Wait for input"\\E3* Cool^1, well^1, guess I won't beat anyone up here^1, either./", "obj_ch2_scene6_slash_Step_0_gml_603_0" ); |
522 |
c_facenext("lancer", 3); |
523 |
c_msgnextloc(Face 3* Yep!Delay 11 Now all that's left is for everyone to enjoy the new home!Wait for inputClose Message"\\E3* Yep^1! Now all that's left is for everyone to enjoy the new home!/%", "obj_ch2_scene6_slash_Step_0_gml_605_0_b" ); |
524 |
c_talk(); |
525 |
c_wait_box(3); |
526 |
c_sel(su); |
527 |
c_facing("d"); |
528 |
c_wait_box(4); |
529 |
c_sel(su); |
530 |
c_facing("l"); |
531 |
c_wait_talk(); |
532 |
c_wait(30); |
533 |
c_sel(su); |
534 |
c_facing("u"); |
535 |
c_facing("susieunhappy"); |
536 |
c_speaker("susie"); |
537 |
c_msgsetloc(0, Face C* Wait,Delay 11 new home? Where's your...Delay 11 OLD home?Wait for inputClose Message"\\EC* Wait^1, new home? Where's your..^1. OLD home?/%", "obj_ch2_scene6_slash_Step_0_gml_614_0" ); |
538 |
c_talk_wait(); |
539 |
} |
540 |
else |
541 |
{ |
542 |
c_facing("u"); |
543 |
c_wait(20); |
544 |
c_facing("susieunhappy"); |
545 |
c_speaker("susie"); |
546 |
c_msgsetloc(0, Face 0* .. but,Delay 11 uh,Delay 11 what happened to,Delay 11 uh,Delay 11 Lancer's castle?Wait for inputClose Message"\\E0* .. but^1, uh^1, what happened to^1, uh^1, Lancer's castle?/%", "obj_ch2_scene6_slash_Step_0_gml_576_0" ); |
547 |
c_talk_wait(); |
548 |
} |
549 |
c_facing("l"); |
550 |
c_sel(la); |
551 |
c_facing("d"); |
552 |
c_soundplay(snd_lancerwhistle); |
553 |
c_spin(4); |
554 |
c_wait(12); |
555 |
c_spin(0); |
556 |
c_wait(30); |
557 |
c_speaker("lancer"); |
558 |
c_msgsetloc(0, Face 3* Alllll gone!Wait for input"\\E3* Alllll gone!/", "obj_ch2_scene6_slash_Step_0_gml_587_0" ); |
559 |
c_facenext("susie", 6); |
560 |
c_msgnextloc(Face 6* Gone?Wait for inputClose Message"\\E6* Gone?/%", "obj_ch2_scene6_slash_Step_0_gml_589_0" ); |
561 |
c_talk_wait(); |
562 |
c_sel(2); |
563 |
c_walk("u", 5, 23); |
564 |
c_delayfacing(24, "r"); |
565 |
c_wait(15); |
566 |
c_sel(la); |
567 |
c_facing("l"); |
568 |
c_speaker("ralsei"); |
569 |
c_msgsetloc(0, Face A* Right...Delay 11 When Kris sealed the fountain,Delay 11Wait for input"\\EA* Right..^1. When Kris sealed the fountain^1,/", "obj_ch2_scene6_slash_Step_0_gml_598_0" ); |
570 |
c_msgnextloc(Face A* That "Dark World" disappeared...Wait for input"\\EA* That \"Dark World\" disappeared.../", "obj_ch2_scene6_slash_Step_0_gml_599_0" ); |
571 |
c_msgnextloc(Face I* ...Delay 11 And turned back into a normal classroom.Wait for input"\\EI* ..^1. And turned back into a normal classroom./", "obj_ch2_scene6_slash_Step_0_gml_600_0" ); |
572 |
c_facenext("susie", 0); |
573 |
c_msgnextloc(Face 0* ...Delay 11 So where's Lancer gonna live now?Wait for input"\\E0* ..^1. So where's Lancer gonna live now?/", "obj_ch2_scene6_slash_Step_0_gml_602_0" ); |
574 |
c_facenext("lancer", 2); |
575 |
c_msgnextloc(Face 2* Don't worry,Delay 11 Susie!!Wait for input"\\E2* Don't worry^1, Susie!!/", "obj_ch2_scene6_slash_Step_0_gml_604_0" ); |
576 |
c_msgnextloc(Face 1* We'll conquer Ralsei's castle as our own!!Wait for inputClose Message"\\E1* We'll conquer Ralsei's castle as our own!!/%", "obj_ch2_scene6_slash_Step_0_gml_605_0" ); |
577 |
c_talk_wait(); |
578 |
c_soundplay(snd_lancerlaugh); |
579 |
c_soundplay(snd_suslaugh); |
580 |
c_sel(su); |
581 |
c_autowalk(0); |
582 |
c_imagespeed(0.25); |
583 |
c_sprite(spr_susiel_dark_laugh); |
584 |
c_sel(la); |
585 |
c_autowalk(0); |
586 |
c_imagespeed(0.25); |
587 |
c_sprite(spr_lancer_rt_laugh); |
588 |
c_wait(30); |
589 |
c_sel(ra); |
590 |
c_walkdirect_wait(694, 708, 27); |
591 |
c_specialsprite(1); |
592 |
c_speaker("ralsei"); |
593 |
c_msgsetloc(0, Face 3* (Kris,Delay 11 as you bring Dark World Denizens back here...)Wait for input"\\E3* (Kris^1, as you bring Dark World Denizens back here...)/", "obj_ch2_scene6_slash_Step_0_gml_622_0" ); |
594 |
c_msgnextloc(Face I* (The power of our Fountain...)Wait for input"\\EI* (The power of our Fountain...)/", "obj_ch2_scene6_slash_Step_0_gml_623_0" ); |
595 |
c_msgnextloc(Face 2* (Will transform this town more and more.)Wait for input"\\E2* (Will transform this town more and more.)/", "obj_ch2_scene6_slash_Step_0_gml_624_0" ); |
596 |
c_msgnextloc(Face 3* (From now on,Delay 11 the enemies we SPARE...)Wait for input"\\E3* (From now on^1, the enemies we SPARE...)/", "obj_ch2_scene6_slash_Step_0_gml_625_0" ); |
597 |
c_msgnextloc(Face 0* (Will be RECRUITED to our town.)Wait for input"\\E0* (Will be RECRUITED to our town.)/", "obj_ch2_scene6_slash_Step_0_gml_626_0" ); |
598 |
c_msgnextloc(Face 2* (So let's keep SPARING enemies,Delay 11 okay?)Wait for inputClose Message"\\E2* (So let's keep SPARING enemies^1, okay?)/%", "obj_ch2_scene6_slash_Step_0_gml_627_0" ); |
599 |
c_talk_wait(); |
600 |
c_facing("u"); |
601 |
c_sel(la); |
602 |
c_facing("d"); |
603 |
c_sel(su); |
604 |
c_facing("d"); |
605 |
c_facing("susie"); |
606 |
c_autowalk(1); |
607 |
c_speaker("ralsei"); |
608 |
c_msgsetloc(0, Face 3* Anyhow,Delay 11 why don't we all have a look around?Wait for input"\\E3* Anyhow^1, why don't we all have a look around?/", "obj_ch2_scene6_slash_Step_0_gml_637_0" ); |
609 |
c_msgnextloc(Face 2* We can head NORTH towards the CASTLE.Wait for input"\\E2* We can head NORTH towards the CASTLE./", "obj_ch2_scene6_slash_Step_0_gml_638_0" ); |
610 |
c_msgnextloc(Face 2* I have a special surprise to show you there!Wait for inputClose Message"\\E2* I have a special surprise to show you there!/%", "obj_ch2_scene6_slash_Step_0_gml_639_0" ); |
611 |
c_talk_wait(); |
612 |
c_sel(su); |
613 |
c_facing("l"); |
614 |
c_speaker("lancer"); |
615 |
c_msgsetloc(0, Face 3* Ahaha!!Delay 11 Not if I surprise myself first!!Wait for input"\\E3* Ahaha!^1! Not if I surprise myself first!!/", "obj_ch2_scene6_slash_Step_0_gml_644_0" ); |
616 |
c_msgnextloc(Face 2* Last one there is a fresh and fragrant egg!!Wait for inputClose Message"\\E2* Last one there is a fresh and fragrant egg!!/%", "obj_ch2_scene6_slash_Step_0_gml_645_0" ); |
617 |
c_talk_wait(); |
618 |
c_mus2("volume", 0, 30); |
619 |
c_sel(la); |
620 |
c_walk("u", 20, 900); |
621 |
c_wait(10); |
622 |
c_sel(su); |
623 |
c_wait(10); |
624 |
c_sel(1); |
625 |
c_walkdirect(780, 702, 16); |
626 |
c_delayfacing(17, "l"); |
627 |
c_wait(20); |
628 |
c_sel(ra); |
629 |
c_facing("r"); |
630 |
c_sel(kr); |
631 |
c_mus("free"); |
632 |
c_speaker("susie"); |
633 |
c_msgsetloc(0, Face 2* C'mon,Delay 11 Kris! You gonna let him beat us!?Wait for inputClose Message"\\E2* C'mon^1, Kris! You gonna let him beat us!?/%", "obj_ch2_scene6_slash_Step_0_gml_662_0" ); |
634 |
c_talk_wait(); |
635 |
c_facing("d"); |
636 |
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]));
} (hathy, "x", hathy.x, 1150, 30); |
637 |
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]));
} (rabbick, "x", rabbick.x, 1150, 30); |
638 |
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]));
} (blockler, "x", blockler.x, 350, 30); |
639 |
c_mus2("initloop", "castletown.ogg", 0); |
640 |
c_wait(31); |
641 |
c_actortocaterpillar(); |
642 |
c_actortokris(); |
643 |
c_terminatekillactors(); |
644 |
global.interact = 1; |
645 |
con = 52; |
646 |
} |
647 |
if (con == 52 && !i_ex(obj_cutscene_master)) |
648 |
{ |
649 |
with (hathy) |
650 |
instance_destroy(); |
651 |
with (rabbick) |
652 |
instance_destroy(); |
653 |
with (blockler) |
654 |
instance_destroy(); |
655 |
var lancer_npc = instance_create(675, 355, obj_npc_room); |
656 |
lancer_npc.sprite_index = spr_lancer_rt; |
657 |
with (lancer_npc) |
658 |
scr_depth(); |
659 |
global.interact = 0; |
660 |
if (global.plot < 12) |
661 |
global.plot = 12; |
662 |
global.facing = 0; |
663 |
con = 0; |
664 |
scr_tempsave(); |
665 |
} |