1 |
if (con == 0 && obj_mainchara.x > (x - 6) && global.interact == 0) |
2 |
{ |
3 |
global.interact = 1; |
4 |
con = 1; |
5 |
} |
6 |
if (con == 1) |
7 |
{ |
8 |
con = 2; |
9 |
with (obj_mainchara) |
10 |
visible = 0; |
11 |
with (obj_caterpillarchara) |
12 |
visible = 0; |
13 |
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;
} (); |
14 |
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;
}
}
}
} (); |
15 |
niseralsei = 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;
} (-100, -100, spr_ralsei_dance2); |
16 |
niseralsei = 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;
} (-100, -100, spr_ralsei_walk_down_sleep); |
17 |
niseralsei.image_alpha = 0; |
18 |
niseralsei.image_speed = 0.1; |
19 |
if (floor(random(20)) == 0) |
20 |
niseralsei.sprite_index = spr_ralsei_dance2; |
21 |
} |
22 |
if (con == 2) |
23 |
{ |
24 |
con = 3; |
25 |
kr_y = kr_actor.y; |
26 |
if (kr_y < 270) |
27 |
kr_y = 270; |
28 |
c_pannable(1); |
29 |
c_sel(kr); |
30 |
c_walkdirect(630, kr_y, 15); |
31 |
c_sel(su); |
32 |
c_walkdirect(555, su_actor.y, 15); |
33 |
c_sel(ra); |
34 |
c_walkdirect(495, ra_actor.y, 15); |
35 |
c_wait(16); |
36 |
c_sel(su); |
37 |
c_facing("u"); |
38 |
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); |
39 |
c_wait(30); |
40 |
c_speaker("susie"); |
41 |
c_msgsetloc(0, Face 6* H...Delay 11 huh?Wait for inputClose Message"\\E6* H..^1. huh?/%", "obj_ch2_scene_sideb_noelleroom_slash_Step_0_gml_58_0" ); |
42 |
c_talk_wait(); |
43 |
c_sel(kr); |
44 |
c_facing("u"); |
45 |
c_sel(ra); |
46 |
c_facing("u"); |
47 |
c_sel(su); |
48 |
c_walkdirect(555, 205, 15); |
49 |
c_wait(45); |
50 |
c_sel(su); |
51 |
c_facing("d"); |
52 |
c_speaker("susie"); |
53 |
c_msgsetloc(0, Face 7* Hey,Delay 11 it says this is Noelle's room!Wait for input"\\E7* Hey^1, it says this is Noelle's room!/", "obj_ch2_scene_sideb_noelleroom_slash_Step_0_gml_80_0" ); |
54 |
c_msgnextloc(Face 9* Kris,Delay 11 let's go in and save her!Wait for input"\\E9* Kris^1, let's go in and save her!/", "obj_ch2_scene_sideb_noelleroom_slash_Step_0_gml_81_0" ); |
55 |
c_msgnextloc(Face A* And uh,Delay 11 y'know,Delay 11 teach her not to get in our way.Wait for inputClose Message"\\EA* And uh^1, y'know^1, teach her not to get in our way./%", "obj_ch2_scene_sideb_noelleroom_slash_Step_0_gml_82_0" ); |
56 |
c_talk_wait(); |
57 |
c_wait(30); |
58 |
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); |
59 |
c_wait(30); |
60 |
c_speaker("susie"); |
61 |
c_msgsetloc(0, Face 6* ...Delay 11 Kris?Wait for inputClose Message"\\E6* ..^1. Kris?/%", "obj_ch2_scene_sideb_noelleroom_slash_Step_0_gml_93_0" ); |
62 |
c_talk_wait(); |
63 |
c_facing("u"); |
64 |
c_speaker("susie"); |
65 |
c_msgsetloc(0, Face 5* Fine,Delay 11 I'll do it myself!Wait for inputClose Message"\\E5* Fine^1, I'll do it myself!/%", "obj_ch2_scene_sideb_noelleroom_slash_Step_0_gml_100_0" ); |
66 |
c_talk_wait(); |
67 |
c_var_instance(door, "visible", 0); |
68 |
c_soundplay(snd_dooropen); |
69 |
c_wait(5); |
70 |
c_walkdirect(555, 185, 5); |
71 |
c_wait(5); |
72 |
c_soundplay(snd_doorclose); |
73 |
c_var_instance(door, "visible", 1); |
74 |
c_var_instance(su_actor, "visible", 0); |
75 |
c_shake(); |
76 |
c_wait(120); |
77 |
c_sel(ra); |
78 |
c_facing("r"); |
79 |
c_speaker("ralsei"); |
80 |
c_msgsetloc(0, Face 0* Kris...Wait for input"\\E0* Kris.../", "obj_ch2_scene_sideb_noelleroom_slash_Step_0_gml_122_0" ); |
81 |
c_msgnextloc(Face 2* Don't you wonder...Delay 11 how they're doing in there?Wait for inputClose Message"\\E2* Don't you wonder..^1. how they're doing in there?/%", "obj_ch2_scene_sideb_noelleroom_slash_Step_0_gml_123_0" ); |
82 |
c_talk_wait(); |
83 |
c_facing("u"); |
84 |
c_wait(90); |
85 |
c_facing("r"); |
86 |
c_speaker("ralsei"); |
87 |
c_msgsetloc(0, Face Q* Umm,Delay 11 I said,Delay 11 don't you wonder...Wait for input"\\EQ* Umm^1, I said^1, don't you wonder.../", "obj_ch2_scene_sideb_noelleroom_slash_Step_0_gml_133_0" ); |
88 |
c_msgnextloc(Face I* ...Delay 11 how Noelle and Susie are doing?Wait for inputClose Message"\\EI* ..^1. how Noelle and Susie are doing?/%", "obj_ch2_scene_sideb_noelleroom_slash_Step_0_gml_134_0" ); |
89 |
c_talk_wait(); |
90 |
c_facing("u"); |
91 |
c_wait(90); |
92 |
c_facing("r"); |
93 |
c_speaker("ralsei"); |
94 |
c_msgsetloc(0, Face Q* Y-you're right,Delay 11 Kris,Delay 11 it has only been 30 seconds...Wait for input"\\EQ* Y-you're right^1, Kris^1, it has only been 30 seconds.../", "obj_ch2_scene_sideb_noelleroom_slash_Step_0_gml_144_0" ); |
95 |
c_msgnextloc(Face Q* (I'll wait a minute first...)Wait for inputClose Message"\\EQ* (I'll wait a minute first...)/%", "obj_ch2_scene_sideb_noelleroom_slash_Step_0_gml_145_0" ); |
96 |
c_talk_wait(); |
97 |
c_facing("u"); |
98 |
c_wait(90); |
99 |
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]));
} (ra_actor, "image_alpha", 1, 0, 60); |
100 |
c_var_instance(niseralsei, "x", 495); |
101 |
c_var_instance(niseralsei, "y", ra_actor.y); |
102 |
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]));
} (niseralsei, "image_alpha", 0, 1, 60); |
103 |
c_wait(150); |
104 |
c_var_instance(niseralsei, "image_alpha", 0); |
105 |
c_var_instance(ra_actor, "image_alpha", 1); |
106 |
c_sprite(spr_ralsei_surprised_down); |
107 |
c_autowalk(0); |
108 |
c_imageindex(1); |
109 |
c_shakeobj(); |
110 |
c_sel(su); |
111 |
c_facing("d"); |
112 |
c_var_instance(door, "visible", 0); |
113 |
c_var_instance(su_actor, "visible", 1); |
114 |
c_soundplay(snd_dooropen); |
115 |
c_wait(5); |
116 |
c_walkdirect(555, su_actor.y, 10); |
117 |
c_wait(5); |
118 |
c_soundplay(snd_doorclose); |
119 |
c_var_instance(door, "visible", 1); |
120 |
c_shake(); |
121 |
c_wait(5); |
122 |
c_sel(kr); |
123 |
c_facing("l"); |
124 |
c_sel(su); |
125 |
c_facing("r"); |
126 |
c_speaker("susie"); |
127 |
c_msgsetloc(0, Face 7* Alright let's go!Wait for inputClose Message"\\E7* Alright let's go!/%", "obj_ch2_scene_sideb_noelleroom_slash_Step_0_gml_194_0" ); |
128 |
c_talk_wait(); |
129 |
c_sel(ra); |
130 |
c_shakeobj(); |
131 |
c_speaker("ralsei"); |
132 |
c_msgsetloc(0, Face U* H-huh? What!? W-wait -- wait!?Wait for input"\\EU* H-huh? What!? W-wait -- wait!?/", "obj_ch2_scene_sideb_noelleroom_slash_Step_0_gml_202_0" ); |
133 |
c_msgnextloc(Face U* Wait,Delay 11 we were supposed to --Wait for input"\\EU* Wait^1, we were supposed to --/", "obj_ch2_scene_sideb_noelleroom_slash_Step_0_gml_203_0" ); |
134 |
c_facenext("susie", 7); |
135 |
c_msgnextloc(Face 7* Hey,Delay 11 let's go!Wait for input"\\E7* Hey^1, let's go!/", "obj_ch2_scene_sideb_noelleroom_slash_Step_0_gml_205_0" ); |
136 |
c_facenext("ralsei", 21); |
137 |
c_msgnextloc(Face L* W-wait!Delay 11 Wait,Delay 11 Susie!Wait for input"\\EL* W-wait^1! Wait^1, Susie!/", "obj_ch2_scene_sideb_noelleroom_slash_Step_0_gml_207_0" ); |
138 |
c_msgnextloc(Face K* What,Delay 11 um,Delay 11 happened in there?Wait for input"\\EK* What^1, um^1, happened in there?/", "obj_ch2_scene_sideb_noelleroom_slash_Step_0_gml_208_0" ); |
139 |
c_facenext("susie", 25); |
140 |
c_msgnextloc(Face P* What do you mean what happened?Wait for input"\\EP* What do you mean what happened?/", "obj_ch2_scene_sideb_noelleroom_slash_Step_0_gml_210_0" ); |
141 |
c_facenext("ralsei", 19); |
142 |
c_msgnextloc(Face J* U-umm...Delay 11 in there,Delay 11 with Noelle!Wait for input"\\EJ* U-umm..^1. in there^1, with Noelle!/", "obj_ch2_scene_sideb_noelleroom_slash_Step_0_gml_212_0" ); |
143 |
c_facenext("susie", 21); |
144 |
c_msgnextloc(Face L* Nothin.Wait for input"\\EL* Nothin./", "obj_ch2_scene_sideb_noelleroom_slash_Step_0_gml_214_0" ); |
145 |
c_facenext("ralsei", 20); |
146 |
c_msgnextloc(Face K* N...Delay 11 Nothing? Nothing at all?Wait for input"\\EK* N..^1. Nothing? Nothing at all?/", "obj_ch2_scene_sideb_noelleroom_slash_Step_0_gml_216_0" ); |
147 |
c_facenext("susie", 10); |
148 |
c_msgnextloc(Face A* Just told her everything is a dream.Wait for input"\\EA* Just told her everything is a dream./", "obj_ch2_scene_sideb_noelleroom_slash_Step_0_gml_218_0" ); |
149 |
c_msgnextloc(Face 2* Now she's feeling better.Wait for input"\\E2* Now she's feeling better./", "obj_ch2_scene_sideb_noelleroom_slash_Step_0_gml_219_0" ); |
150 |
c_facenext("ralsei", 20); |
151 |
c_msgnextloc(Face K* ...Delay 11 anything else?Wait for input"\\EK* ..^1. anything else?/", "obj_ch2_scene_sideb_noelleroom_slash_Step_0_gml_221_0" ); |
152 |
c_facenext("susie", 7); |
153 |
c_msgnextloc(Face 7* No and let's go.Wait for inputClose Message"\\E7* No and let's go./%", "obj_ch2_scene_sideb_noelleroom_slash_Step_0_gml_223_0" ); |
154 |
c_talk(); |
155 |
c_wait_box(4); |
156 |
c_sel(ra); |
157 |
c_facing("r"); |
158 |
c_imagespeed(0.5); |
159 |
c_wait_box(6); |
160 |
c_sel(su); |
161 |
c_facing("l"); |
162 |
c_wait_box(8); |
163 |
c_sel(ra); |
164 |
c_imagespeed(0); |
165 |
c_imageindex(0); |
166 |
c_wait_talk(); |
167 |
c_sel(su); |
168 |
c_facing("r"); |
169 |
c_speaker("susie"); |
170 |
var small_text = stringsetloc(HEY!"HEY!", "obj_ch2_scene_sideb_noelleroom_slash_Step_0_gml_247_0" ); |
171 |
scr_smallfacescr_smallfacefunction scr_smallface(arg0, arg1, arg2, arg3, arg4, arg5)
{
scr_smallface_reset(arg0);
global.smsprite[arg0] = spr_face_susie_alt;
if (is_string(arg1))
{
if (arg1 == "susie")
global.smsprite[arg0] = spr_face_susie_alt;
if (arg1 == "ralsei")
global.smsprite[arg0] = spr_face_r_nohat;
if (arg1 == "lancer")
global.smsprite[arg0] = spr_face_l0;
if (arg1 == "noelle")
global.smsprite[arg0] = spr_face_n_matome;
if (arg1 == "noelle_cropped")
global.smsprite[arg0] = spr_face_n_matome_cropped;
if (arg1 == "queen")
global.smsprite[arg0] = scr_84_get_sprite("spr_face_queen");
if (arg1 == "rouxls")
global.smsprite[arg0] = spr_face_rurus;
if (arg1 == "berdly")
global.smsprite[arg0] = spr_face_berdly_dark;
if (arg1 == "rudy")
global.smsprite[arg0] = spr_face_rudy;
if (arg1 == "none" || arg1 == "empty")
global.smsprite[arg0] = spr_empty;
}
else
{
global.smsprite[arg0] = arg1;
if (arg1 == 0)
global.smsprite[arg0] = spr_empty;
}
global.smimage[arg0] = arg2;
if (is_string(arg3))
{
if (global.fighting == 1)
{
if (arg3 == "left")
global.smxx[arg0] = 60;
if (arg3 == "leftmid")
global.smxx[arg0] = 160;
if (arg3 == "mid" || arg3 == "middle")
global.smxx[arg0] = 260;
if (arg3 == "rightmid")
global.smxx[arg0] = 360;
if (arg3 == "right")
global.smxx[arg0] = 460;
}
else
{
if (arg3 == "left")
global.smxx[arg0] = 70;
if (arg3 == "leftmid")
global.smxx[arg0] = 160;
if (arg3 == "mid" || arg3 == "middle")
global.smxx[arg0] = 260;
if (arg3 == "rightmid")
global.smxx[arg0] = 360;
if (arg3 == "right")
global.smxx[arg0] = 400;
}
}
else
{
global.smxx[arg0] = arg3;
}
if (is_string(arg4))
{
if (global.fighting == 1)
{
if (arg4 == "top")
global.smyy[arg0] = -10;
if (arg4 == "mid" || arg4 == "middle")
global.smyy[arg0] = 30;
if (arg4 == "bottommid")
global.smyy[arg0] = 45;
if (arg4 == "bottom")
global.smyy[arg0] = 56;
if (arg4 == "bottom" || arg4 == "bottommid")
{
global.smdir[arg0] = 90;
global.smspeed[arg0] = 4;
global.smalarm[arg0] = 10;
global.smyy[arg0] += 40;
global.smxx[arg0] -= 40;
}
}
else
{
if (arg4 == "top")
global.smyy[arg0] = -10;
if (arg4 == "mid" || arg4 == "middle")
global.smyy[arg0] = 30;
if (arg4 == "bottommid")
global.smyy[arg0] = 50;
if (arg4 == "bottom")
global.smyy[arg0] = 68;
if (global.darkzone == 0)
{
if (arg4 == "top")
... (0, "ralsei", 32, "rightmid", "bottom", small_text); |
172 |
c_msgsetloc(0, Face 2* Psst...Delay 11 I'll tell you later,Delay 11 Kris. Mini text 0 Wait for input"\\E2* Psst..^1. I'll tell you later^1, Kris. \\f0 /", "obj_ch2_scene_sideb_noelleroom_slash_Step_0_gml_248_0" ); |
173 |
c_facenext("ralsei", 26); |
174 |
c_msgnextloc(Face Q* (Oh well,Delay 11 as long as Susie's happy...Delay 11 right?)Wait for inputClose Message"\\EQ* (Oh well^1, as long as Susie's happy..^1. right?)/%", "obj_ch2_scene_sideb_noelleroom_slash_Step_0_gml_251_0_b" ); |
175 |
c_talk_wait(); |
176 |
c_panobj(kr_actor, 15); |
177 |
c_wait(15); |
178 |
c_pannable(0); |
179 |
c_actortokris(); |
180 |
c_actortocaterpillar(); |
181 |
c_terminatekillactors(); |
182 |
} |
183 |
if (con == 3 && !i_ex(obj_cutscene_master)) |
184 |
{ |
185 |
global.interact = 0; |
186 |
global.flag[915 snowgrave_plot] = 9; |
187 |
con = 4; |
188 |
global.facing = 0; |
189 |
instance_destroy(); |
190 |
} |