1 |
if (obj_mainchara.x > x && con == -1) |
2 |
{ |
3 |
con = 1; |
4 |
global.interact = 1; |
5 |
snd_volume(global.currentsong[1], 0, 30); |
6 |
} |
7 |
if (con == 1) |
8 |
{ |
9 |
con = 2; |
10 |
with (obj_mainchara) |
11 |
visible = 0; |
12 |
global.facing = 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 |
qu = 3; |
16 |
qu_actor = instance_create(1410, 188, obj_actor); |
17 |
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);
}
} (qu, qu_actor, "queen"); |
18 |
qu_actor.sprite_index = spr_cutscene_13_queen_drunk_left; |
19 |
c_sel(qu); |
20 |
c_flip("x"); |
21 |
ar = 4; |
22 |
ar_actor = instance_create(1310, -180, obj_actor); |
23 |
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);
}
} (ar, ar_actor, "arcade"); |
24 |
ar_actor.sprite_index = spr_cutscene_13_arcade; |
25 |
ar_actor.depthbonus = 4000; |
26 |
c_sel(ar); |
27 |
c_autowalk(0); |
28 |
st = 5; |
29 |
st_actor = instance_create(1230, -300, obj_actor); |
30 |
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);
}
} (st, st_actor, "statue"); |
31 |
st_actor.sprite_index = spr_cutscene_13_berdly_statue; |
32 |
st_actor.depthbonus = 2000; |
33 |
c_sel(st); |
34 |
c_autowalk(0); |
35 |
be = 6; |
36 |
be_actor = instance_create(1250, -200, 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);
}
} (be, be_actor, "berdly"); |
38 |
be_actor.sprite_index = spr_berdly_walk_down_dw; |
39 |
cutscene_master.save_object[0] = id; |
40 |
} |
41 |
if (con == 2 || 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;
} ()) |
42 |
{ |
43 |
con = 3; |
44 |
c_soundplay(snd_queen_laugh_1); |
45 |
c_sel(no); |
46 |
c_sprite(spr_noelle_shocked_dw); |
47 |
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); |
48 |
c_wait(30); |
49 |
c_wait(15); |
50 |
c_speaker("noelle"); |
51 |
c_msgsetloc(0, Face E* Kris,Delay 11 it's Queen...Delay 11 She's right over there!Wait for input"\\EE* Kris^1, it's Queen..^1. She's right over there!/", "obj_ch2_scene13_slash_Step_0_gml_70_0" ); |
52 |
c_msgnextloc(Face 8* C-Can you distract her somehow!!?Wait for inputClose Message"\\E8* C-Can you distract her somehow!!?/%", "obj_ch2_scene13_slash_Step_0_gml_71_0" ); |
53 |
c_talk_wait(); |
54 |
c_walk("l", 7, 40); |
55 |
c_delaycmd(41, "sprite", spr_cutscene_13_noelle_box_walk_down); |
56 |
c_delaycmd4c_delaycmd4function c_delaycmd4(arg0, arg1, arg2, arg3, arg4, arg5)
{
c_cmd_x("delaycmd", arg0, arg1, arg2, arg3, arg4, arg5);
} (42, "setxy", 600, 175, 0, 0); |
57 |
c_sel(kr); |
58 |
c_walkdirect(1170, 239, 20); |
59 |
c_pannable(1); |
60 |
c_panspeed_wait(10, 0, 24); |
61 |
c_wait(5); |
62 |
c_sel(qu); |
63 |
c_wait(20); |
64 |
c_flip("x"); |
65 |
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);
} ("!", 20); |
66 |
c_wait(30); |
67 |
c_mus2("initloop", "queen.ogg", 0); |
68 |
c_speaker("queen"); |
69 |
c_msgside("bottom"); |
70 |
c_msgsetloc(0, Face D* OhWait for input"\\ED* Oh/", "obj_ch2_scene13_slash_Step_0_gml_95_0" ); |
71 |
c_msgnextloc(Face N* LmaoWait for input"\\EN* Lmao/", "obj_ch2_scene13_slash_Step_0_gml_96_0" ); |
72 |
c_msgnextloc(Face 9* You're hereWait for inputClose Message"\\E9* You're here/%", "obj_ch2_scene13_slash_Step_0_gml_97_0" ); |
73 |
c_talk_wait(); |
74 |
c_autowalk(0); |
75 |
c_sprite(spr_cutscene_13_queen_drunk_laugh); |
76 |
c_arg_objectxy(qu_actor, -5, 0); |
77 |
c_setxy(x, y); |
78 |
c_soundplay(snd_queen_hoot_0); |
79 |
c_imagespeed(0); |
80 |
c_wait(15); |
81 |
c_imagespeed(0); |
82 |
c_wait(15); |
83 |
c_sprite(spr_cutscene_13_queen_drunk_left); |
84 |
c_arg_objectxy(qu_actor, 5, 0); |
85 |
c_setxy(x, y); |
86 |
c_speaker("queen"); |
87 |
c_msgsetloc(0, Face 1* Sorry Kris While I've Been Looking For NoelleWait for input"\\E1* Sorry Kris While I've Been Looking For Noelle/", "obj_ch2_scene13_slash_Step_0_gml_119_0" ); |
88 |
c_msgnextloc(Face 9* I've Had Like 4 Of These All-Ages AppropriateWait for inputClose Message"\\E9* I've Had Like 4 Of These All-Ages Appropriate/%", "obj_ch2_scene13_slash_Step_0_gml_120_0" ); |
89 |
c_talk_wait(); |
90 |
c_sprite(spr_cutscene_13_queen_drunk_down_2); |
91 |
c_speaker("queen"); |
92 |
c_msgsetloc(0, Face 1* Glasses of Pure Battery AcidWait for inputClose Message"\\E1* Glasses of Pure Battery Acid/%", "obj_ch2_scene13_slash_Step_0_gml_126_0" ); |
93 |
c_talk_wait(); |
94 |
c_soundplay(snd_queen_laugh_0); |
95 |
c_sprite(spr_cutscene_13_queen_drunk_smash); |
96 |
c_arg_objectxy(qu_actor, -70, -30); |
97 |
c_setxy(x, y); |
98 |
c_imagespeed(1); |
99 |
c_wait(30); |
100 |
c_wait(8); |
101 |
c_soundplay(snd_locker); |
102 |
c_wait(5); |
103 |
c_sprite(spr_cutscene_13_queen_drunk_smash_frame); |
104 |
c_var_instance(id, "wineglasscon", 1); |
105 |
c_imagespeed(0); |
106 |
c_wait(30); |
107 |
c_soundplay(snd_queen_laugh_1); |
108 |
c_sprite(spr_cutscene_10_queen_ohoho_standing); |
109 |
c_imagespeed(0.25); |
110 |
c_arg_objectxy(qu_actor, 70, 30); |
111 |
c_setxy(x, y); |
112 |
c_wait(55); |
113 |
c_imagespeed(0); |
114 |
c_wait(15); |
115 |
c_sprite(spr_queen_left); |
116 |
c_flip("x"); |
117 |
c_speaker("queen"); |
118 |
c_msgsetloc(0, Face 1* Don't Worry That Was My Throwing Glass It's SafeWait for inputClose Message"\\E1* Don't Worry That Was My Throwing Glass It's Safe/%", "obj_ch2_scene13_slash_Step_0_gml_162_0" ); |
119 |
c_talk_wait(); |
120 |
c_wait(30); |
121 |
c_speaker("queen"); |
122 |
c_msgsetloc(0, Face D* Look KrisWait for inputClose Message"\\ED* Look Kris/%", "obj_ch2_scene13_slash_Step_0_gml_169_0" ); |
123 |
c_talk_wait(); |
124 |
c_flip("x"); |
125 |
c_autowalk(1); |
126 |
c_walkdirect(obj_mainchara.x + 315, 188, 15); |
127 |
c_speaker("queen"); |
128 |
c_msgsetloc(0, Face 9* Kris Cross ApplesauceWait for inputClose Message"\\E9* Kris Cross Applesauce/%", "obj_ch2_scene13_slash_Step_0_gml_177_0" ); |
129 |
c_talk(); |
130 |
c_wait(4); |
131 |
c_soundplay_x(snd_noise, 0.5, 7); |
132 |
c_soundplay_x(snd_glass_crunch, 0.35, 2.5); |
133 |
c_wait(8); |
134 |
c_soundplay_x(snd_noise, 0.5, 7); |
135 |
c_soundplay_x(snd_glass_crunch, 0.35, 2); |
136 |
c_wait(1); |
137 |
c_waittalk(); |
138 |
c_sprite(spr_queen_down); |
139 |
c_speaker("queen"); |
140 |
c_msgsetloc(0, Face 1* Now That We Are Trucies I Feel Like We Are On The SameWait for inputClose Message"\\E1* Now That We Are Trucies I Feel Like We Are On The Same/%", "obj_ch2_scene13_slash_Step_0_gml_185_0" ); |
141 |
c_talk_wait(); |
142 |
c_walkdirect(obj_mainchara.x + 200, 188, 30); |
143 |
c_wait(4); |
144 |
c_soundplay_x(snd_noise, 0.5, 7); |
145 |
c_soundplay_x(snd_glass_crunch, 0.25, 2.2); |
146 |
c_wait(8); |
147 |
c_soundplay_x(snd_noise, 0.5, 7); |
148 |
c_soundplay_x(snd_glass_crunch, 0.35, 1); |
149 |
c_wait(8); |
150 |
c_soundplay_x(snd_noise, 0.5, 7); |
151 |
c_soundplay_x(snd_glass_crunch, 0.25, 1.8); |
152 |
c_wait(10); |
153 |
c_waittalk(); |
154 |
c_speaker("queen"); |
155 |
c_msgsetloc(0, Face 9* Mathematical WavelengthWait for inputClose Message"\\E9* Mathematical Wavelength/%", "obj_ch2_scene13_slash_Step_0_gml_194_0" ); |
156 |
c_talk_wait(); |
157 |
c_walkdirect_wait(obj_mainchara.x + 164, 188, 20); |
158 |
c_wait(1); |
159 |
c_sel(kr); |
160 |
c_visible(0); |
161 |
c_sel(qu); |
162 |
c_autowalk(0); |
163 |
c_sprite(spr_cutscene_13_queen_hand); |
164 |
c_soundplay(snd_whip_crack_only); |
165 |
c_arg_objectxy(qu_actor, -45, -15); |
166 |
c_setxy(x, y); |
167 |
c_speaker("queen"); |
168 |
c_msgsetloc(0, Face 1* You Get Me KrisWait for inputClose Message"\\E1* You Get Me Kris/%", "obj_ch2_scene13_slash_Step_0_gml_211_0" ); |
169 |
c_talk(); |
170 |
c_wait(15); |
171 |
c_waittalk(); |
172 |
c_sprite(spr_cutscene_13_queen_hand_2); |
173 |
c_speaker("queen"); |
174 |
c_msgsetloc(0, Face 1* You Do Not Do Crazy Things Like "Have Opinions"Wait for input"\\E1* You Do Not Do Crazy Things Like \"Have Opinions\"/", "obj_ch2_scene13_slash_Step_0_gml_219_0" ); |
175 |
c_msgnextloc(Face B* Or Scream When I Capture YouWait for inputClose Message"\\EB* Or Scream When I Capture You/%", "obj_ch2_scene13_slash_Step_0_gml_220_0" ); |
176 |
c_talk_wait(); |
177 |
c_sprite(spr_cutscene_13_queen_hand_3); |
178 |
c_speaker("queen"); |
179 |
c_msgsetloc(0, Face 9* Or Tell Me Horrible Plans For Smartboy Theme ParkWait for inputClose Message"\\E9* Or Tell Me Horrible Plans For Smartboy Theme Park/%", "obj_ch2_scene13_slash_Step_0_gml_226_0" ); |
180 |
c_talk_wait(); |
181 |
c_sprite(spr_cutscene_13_queen_hand_down); |
182 |
c_shakeobj(); |
183 |
c_speaker("queen"); |
184 |
c_msgsetloc(0, Face 5* I Just Cannot Compute ItWait for input"\\E5* I Just Cannot Compute It/", "obj_ch2_scene13_slash_Step_0_gml_233_0" ); |
185 |
c_msgnextloc(Face 5* Why Everyone Else Is So...Delay 11 UngratefulWait for inputClose Message"\\E5* Why Everyone Else Is So..^1. Ungrateful/%", "obj_ch2_scene13_slash_Step_0_gml_234_0" ); |
186 |
c_talk_wait(); |
187 |
c_sel(kr); |
188 |
c_visible(1); |
189 |
c_sel(qu); |
190 |
c_sprite(spr_queen_right); |
191 |
c_setxy(obj_mainchara.x + 150, 188); |
192 |
c_autowalk(1); |
193 |
c_walkdirect_wait(obj_mainchara.x + 190, 188, 5); |
194 |
c_wait(5); |
195 |
c_autowalk(0); |
196 |
c_setxy(obj_mainchara.x + 180, 152); |
197 |
c_imagespeed(0); |
198 |
c_sprite(spr_cutscene_13_queen_drunk_smash); |
199 |
c_imageindex(6); |
200 |
c_soundplay(snd_queen_hoot_0); |
201 |
c_flip("x"); |
202 |
c_wait(1); |
203 |
c_soundplay(snd_queen_pirouette); |
204 |
c_shakeobj(); |
205 |
c_wait(15); |
206 |
c_imagespeed(1); |
207 |
c_wait(15); |
208 |
c_soundplay(snd_badexplosion); |
209 |
c_var_instance(id, "wineglasscon", -1); |
210 |
c_var_instance(glassexplosion, "x", 1340); |
211 |
c_var_instance(glassexplosion, "y", 295); |
212 |
c_var_instance(glassexplosion, "visible", 1); |
213 |
c_var_instance(glassexplosion, "image_index", 0); |
214 |
c_wait(5); |
215 |
c_imagespeed(0); |
216 |
c_sprite(spr_cutscene_13_queen_drunk_smash_frame); |
217 |
c_imagespeed(0); |
218 |
c_wait(5); |
219 |
c_var_instance(glassexplosion, "visible", 0); |
220 |
c_wait(50); |
221 |
c_autowalk(0); |
222 |
c_flip("x"); |
223 |
c_setxy(obj_mainchara.x + 220, 188); |
224 |
c_facing("r"); |
225 |
c_speaker("queen"); |
226 |
c_msgsetloc(0, Face 1* Whoops That Was My Extra Dangerous GlassWait for inputClose Message"\\E1* Whoops That Was My Extra Dangerous Glass/%", "obj_ch2_scene13_slash_Step_0_gml_284_0" ); |
227 |
c_talk_wait(); |
228 |
c_wait(30); |
229 |
c_facing("d"); |
230 |
c_speaker("queen"); |
231 |
c_msgsetloc(0, Face D* KrisWait for inputClose Message"\\ED* Kris/%", "obj_ch2_scene13_slash_Step_0_gml_292_0" ); |
232 |
c_talk_wait(); |
233 |
c_sprite(spr_queen_right); |
234 |
c_speaker("queen"); |
235 |
c_msgsetloc(0, Face P* I Just Want To Make Everyone SmileWait for inputClose Message"\\EP* I Just Want To Make Everyone Smile/%", "obj_ch2_scene13_slash_Step_0_gml_298_0" ); |
236 |
c_talk_wait(); |
237 |
c_autowalk(1); |
238 |
c_walkdirect(obj_mainchara.x + 350, 188, 30); |
239 |
c_speaker("queen"); |
240 |
c_msgsetloc(0, Face 9* And If I Become An Evil Villain To Accomplish ThatWait for inputClose Message"\\E9* And If I Become An Evil Villain To Accomplish That/%", "obj_ch2_scene13_slash_Step_0_gml_305_0" ); |
241 |
c_talk(); |
242 |
c_wait(30); |
243 |
c_waittalk(); |
244 |
c_wait(20); |
245 |
c_speaker("queen"); |
246 |
c_msgsetloc(0, Face D* Is That Bad?Wait for inputClose Message"\\ED* Is That Bad?/%", "obj_ch2_scene13_slash_Step_0_gml_313_0" ); |
247 |
c_talk_wait(); |
248 |
c_facing("u"); |
249 |
c_wait(40); |
250 |
c_speaker("queen"); |
251 |
c_msgsetloc(0, Face 1* It's OkayWait for input"\\E1* It's Okay/", "obj_ch2_scene13_slash_Step_0_gml_320_0" ); |
252 |
c_msgnextloc(Face 1* You Do Not Have To AnswerWait for inputClose Message"\\E1* You Do Not Have To Answer/%", "obj_ch2_scene13_slash_Step_0_gml_321_0" ); |
253 |
c_talk_wait(); |
254 |
c_wait(1); |
255 |
c_autowalk(0); |
256 |
c_sprite(spr_cutscene_10_queen_ohoho_standing); |
257 |
c_soundplay(snd_queen_laugh_0); |
258 |
c_imagespeed(0.3); |
259 |
c_wait(30); |
260 |
c_imagespeed(0); |
261 |
c_wait(15); |
262 |
c_speaker("queen"); |
263 |
c_msgsetloc(0, Face N* You Would Be WrongWait for inputClose Message"\\EN* You Would Be Wrong/%", "obj_ch2_scene13_slash_Step_0_gml_337_0" ); |
264 |
c_talk_wait(); |
265 |
c_sprite(spr_queen_left); |
266 |
c_speaker("queen"); |
267 |
c_msgsetloc(0, Face 5* But Kris...Delay 11 While We're Still TruciesWait for input"\\E5* But Kris..^1. While We're Still Trucies/", "obj_ch2_scene13_slash_Step_0_gml_343_0" ); |
268 |
c_msgnextloc(Face D* Maybe We Could...Delay 11 Make The Most Of ItWait for inputClose Message"\\ED* Maybe We Could..^1. Make The Most Of It/%", "obj_ch2_scene13_slash_Step_0_gml_344_0" ); |
269 |
c_talk_wait(); |
270 |
c_sel(ar); |
271 |
c_soundplay(snd_spearrise); |
272 |
c_walkdirect_wait(1310, 250, 20); |
273 |
c_soundplay(snd_impact); |
274 |
c_shakeobj(); |
275 |
c_delaycmd(15, "sprite", spr_cutscene_13_arcade_face); |
276 |
c_sel(kr); |
277 |
c_facing("u"); |
278 |
c_sel(qu); |
279 |
c_facing("u"); |
280 |
c_flip("x"); |
281 |
c_wait(15); |
282 |
c_soundplay(snd_item); |
283 |
c_speaker("queen"); |
284 |
c_msgsetloc(0, Face 1* We Could Play That Game AgainWait for input"\\E1* We Could Play That Game Again/", "obj_ch2_scene13_slash_Step_0_gml_365_0" ); |
285 |
c_msgnextloc(Face 9* Wasn't That...Delay 11 Fun,Delay 11 KrisWait for inputClose Message"\\E9* Wasn't That..^1. Fun^1, Kris/%", "obj_ch2_scene13_slash_Step_0_gml_366_0" ); |
286 |
c_talk_wait(); |
287 |
c_sel(kr); |
288 |
c_walkdirect(1255, 218, 40); |
289 |
c_sel(qu); |
290 |
c_autowalk(1); |
291 |
c_flip("x"); |
292 |
c_walkdirect_wait(1330, 166, 40); |
293 |
c_speaker("queen"); |
294 |
c_msgsetloc(0, Face 1* Just You And MeWait for inputClose Message"\\E1* Just You And Me/%", "obj_ch2_scene13_slash_Step_0_gml_379_0" ); |
295 |
c_talk(); |
296 |
c_wait(30); |
297 |
c_waittalk(); |
298 |
c_speaker("queen"); |
299 |
c_msgsetloc(0, Face Q* Having A Good TimeWait for input"\\EQ* Having A Good Time/", "obj_ch2_scene13_slash_Step_0_gml_385_0" ); |
300 |
c_msgnextloc(Face D* No One Else To Get In The WayWait for inputClose Message"\\ED* No One Else To Get In The Way/%", "obj_ch2_scene13_slash_Step_0_gml_386_0" ); |
301 |
c_talk_wait(); |
302 |
c_sel(st); |
303 |
c_walkdirect(1232, 30, 15); |
304 |
c_wait(8); |
305 |
c_sel(kr); |
306 |
c_facing("u"); |
307 |
c_autowalk(0); |
308 |
c_sel(qu); |
309 |
c_facing("u"); |
310 |
c_flip("x"); |
311 |
c_autowalk(0); |
312 |
c_sel(ar); |
313 |
c_var_lerpc_var_lerpfunction c_var_lerp()
{
if (argument_count < 5)
c_cmd_x("var", 0, argument[0], argument[1], argument[2], argument[3], 0);
else
c_cmd_x("var", 0, argument[0], argument[1], argument[2], argument[3], argument[4]);
} ("image_yscale", 2, 0, 6); |
314 |
c_var_lerpc_var_lerpfunction c_var_lerp()
{
if (argument_count < 5)
c_cmd_x("var", 0, argument[0], argument[1], argument[2], argument[3], 0);
else
c_cmd_x("var", 0, argument[0], argument[1], argument[2], argument[3], argument[4]);
} ("image_xscale", 2, 6, 6); |
315 |
c_soundplay(snd_splat); |
316 |
c_wait(25); |
317 |
c_sel(kr); |
318 |
c_shakeobj(); |
319 |
c_sel(qu); |
320 |
c_shakeobj(); |
321 |
c_soundplay(snd_badexplosion); |
322 |
c_wait(5); |
323 |
c_sel(kr); |
324 |
c_walkdirect(1180, 238, 2); |
325 |
c_sel(qu); |
326 |
c_walkdirect(1450, 186, 2); |
327 |
c_waitcustom(); |
328 |
} |
329 |
if (wineglasscon == 1) |
330 |
{ |
331 |
glass_marker = 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;
} (qu_actor.x, qu_actor.y + 6, spr_cutscene_13_broken_glass); |
332 |
glass_marker.depth = qu_actor.depth + 500; |
333 |
wineglasscon = 0; |
334 |
} |
335 |
else if (wineglasscon == -1) |
336 |
{ |
337 |
for (var i = 0; i < 6; i++) |
338 |
{ |
339 |
var _xoff = (sin(0.5235987755982988 * i) * 50) + 10; |
340 |
var _yoff = cos(0.5235987755982988 * i) * -15; |
341 |
var _shard = instance_create(glass_marker.x + _xoff, glass_marker.y + 142 + _yoff, obj_particle_effect); |
342 |
_shard.destroyoffscreen = true; |
343 |
_shard.sprite_index = spr_cutscene_13_broken_shards; |
344 |
_shard.image_speed = 0; |
345 |
_shard.image_index = i; |
346 |
_shard.direction = point_direction(glass_marker.x, glass_marker.y + 142, _shard.x, _shard.y); |
347 |
_shard.image_xscale = 2; |
348 |
_shard.image_yscale = 2; |
349 |
_shard.gravity = 1; |
350 |
_shard.speed = random_range(25, 35); |
351 |
_shard.rotation = choose(-90, 90); |
352 |
} |
353 |
instance_destroy(glass_marker); |
354 |
wineglasscon = 0; |
355 |
} |
356 |
if (con == 3 && customcon == 1) |
357 |
{ |
358 |
explodetimer++; |
359 |
if (explodetimer == 1) |
360 |
{ |
361 |
for (var i = 0; i < 6; i++) |
362 |
{ |
363 |
explosion_marker[i] = instance_create(1220 + (i * 40), 250, obj_marker); |
364 |
explosion_marker[i].depth = st_actor.depth - 5; |
365 |
explosion_marker[i].sprite_index = spr_realisticexplosion; |
366 |
} |
367 |
} |
368 |
else |
369 |
{ |
370 |
with (obj_marker) |
371 |
{ |
372 |
if (sprite_index == spr_realisticexplosion && image_index == 16) |
373 |
instance_destroy(); |
374 |
} |
375 |
} |
376 |
if (explodetimer >= 17) |
377 |
{ |
378 |
con = 4; |
379 |
customcon = 0; |
380 |
c_waitcustom_end(); |
381 |
} |
382 |
} |
383 |
if (con == 4) |
384 |
{ |
385 |
con = 5; |
386 |
c_wait(45); |
387 |
c_sel(be); |
388 |
c_soundplay(snd_fall); |
389 |
c_spin(2); |
390 |
c_autowalk(0); |
391 |
c_walkdirect(1230, 230, 60); |
392 |
c_wait(45); |
393 |
c_sel(kr); |
394 |
c_facing("r"); |
395 |
c_sel(qu); |
396 |
c_flip("x"); |
397 |
c_facing("l"); |
398 |
c_sel(be); |
399 |
c_wait(16); |
400 |
c_spin(0); |
401 |
c_facing("r"); |
402 |
c_soundplay(snd_bell); |
403 |
c_wait(30); |
404 |
c_speaker("berdly"); |
405 |
c_msgsetloc(0, Face 6* Queen!!Delay 11 I've been looking everywhere to show you this!!Wait for inputClose Message"\\E6* Queen!^1! I've been looking everywhere to show you this!!/%", "obj_ch2_scene13_slash_Step_0_gml_498_0" ); |
406 |
c_talk_wait(); |
407 |
c_sel(be); |
408 |
c_sprite(spr_berdly_cross_arms_right); |
409 |
c_speaker("berdly"); |
410 |
c_msgsetloc(0, Face J* A monument to our greatness...Delay 11 Together.Wait for input"\\EJ* A monument to our greatness..^1. Together./", "obj_ch2_scene13_slash_Step_0_gml_507_0" ); |
411 |
c_facenext("queen", "I"); |
412 |
c_msgnextloc(Face I* OhWait for inputClose Message"\\EI* Oh/%", "obj_ch2_scene13_slash_Step_0_gml_510_0" ); |
413 |
c_talk_wait(); |
414 |
c_sel(qu); |
415 |
c_facing("u"); |
416 |
c_flip("x"); |
417 |
c_facenext("queen", "I"); |
418 |
c_msgsetloc(0, * UmWait for inputClose Message"* Um/%", "obj_ch2_scene13_slash_Step_0_gml_518_0" ); |
419 |
c_talk_wait(); |
420 |
c_facing("l"); |
421 |
c_flip("x"); |
422 |
c_facenext("queen", "I"); |
423 |
c_msgsetloc(0, \\s0* OhClose MessageClose Message"\\s0* Oh%%", "obj_ch2_scene13_slash_Step_0_gml_525_0" ); |
424 |
c_talk_wait(); |
425 |
c_facenext("queen", "I"); |
426 |
c_msgsetloc(0, \\s0* UhClose MessageClose Message"\\s0* Uh%%", "obj_ch2_scene13_slash_Step_0_gml_529_0" ); |
427 |
c_talk_wait(); |
428 |
c_facing("u"); |
429 |
c_facenext("queen", "I"); |
430 |
c_msgsetloc(0, \\s0* ItClose MessageClose Message"\\s0* It%%", "obj_ch2_scene13_slash_Step_0_gml_535_0" ); |
431 |
c_talk_wait(); |
432 |
c_facing("l"); |
433 |
c_facenext("queen", "I"); |
434 |
c_msgsetloc(0, \\s0* It'sClose MessageClose Message"\\s0* It's%%", "obj_ch2_scene13_slash_Step_0_gml_541_0" ); |
435 |
c_talk_wait(); |
436 |
c_facenext("queen", "I"); |
437 |
c_msgsetloc(0, \\s0* OhClose MessageClose Message"\\s0* Oh%%", "obj_ch2_scene13_slash_Step_0_gml_545_0" ); |
438 |
c_talk_wait(); |
439 |
c_facenext("queen", "I"); |
440 |
c_msgsetloc(0, \\s0* WellClose MessageClose Message"\\s0* Well%%", "obj_ch2_scene13_slash_Step_0_gml_549_0" ); |
441 |
c_talk_wait(); |
442 |
c_facing("u"); |
443 |
c_facenext("queen", "I"); |
444 |
c_msgsetloc(0, \\s0* UmClose MessageClose Message"\\s0* Um%%", "obj_ch2_scene13_slash_Step_0_gml_555_0" ); |
445 |
c_talk_wait(); |
446 |
c_facing("l"); |
447 |
c_facenext("queen", "I"); |
448 |
c_msgsetloc(0, \\s0* MmmClose MessageClose Message"\\s0* Mmm%%", "obj_ch2_scene13_slash_Step_0_gml_561_0" ); |
449 |
c_talk_wait(); |
450 |
c_facenext("queen", "I"); |
451 |
c_msgsetloc(0, \\s0* It'sClose MessageClose Message"\\s0* It's%%", "obj_ch2_scene13_slash_Step_0_gml_565_0" ); |
452 |
c_talk_wait(); |
453 |
c_facing("r"); |
454 |
c_speaker("queen"); |
455 |
c_msgsetloc(0, Face D* How Do I Put ThisWait for input"\\ED* How Do I Put This/", "obj_ch2_scene13_slash_Step_0_gml_571_0" ); |
456 |
c_msgnextloc(Face 1* Very...Wait for input"\\E1* Very.../", "obj_ch2_scene13_slash_Step_0_gml_572_0" ); |
457 |
c_msgnextloc(Face D* ...Wait for inputClose Message"\\ED* .../%", "obj_ch2_scene13_slash_Step_0_gml_573_0" ); |
458 |
c_talk_wait(); |
459 |
c_sel(qu); |
460 |
c_facing("l"); |
461 |
c_speaker("queen"); |
462 |
c_msgsetloc(0, Face K* SmartWait for input"\\EK* Smart/", "obj_ch2_scene13_slash_Step_0_gml_581_0" ); |
463 |
c_msgnextloc(Face K* So Smart You AreWait for input"\\EK* So Smart You Are/", "obj_ch2_scene13_slash_Step_0_gml_582_0" ); |
464 |
c_msgnextloc(Face K* I Love Tolerating YouWait for inputClose Message"\\EK* I Love Tolerating You/%", "obj_ch2_scene13_slash_Step_0_gml_583_0" ); |
465 |
c_talk_wait(); |
466 |
c_sel(be); |
467 |
c_sprite(spr_berdly_smug_point_right); |
468 |
c_shakeobj(); |
469 |
c_speaker("berdly"); |
470 |
c_msgsetloc(0, Face L* Haha!!Delay 11 I KNEW you'd be enamored. Such perfect taste.Wait for inputClose Message"\\EL* Haha!^1! I KNEW you'd be enamored. Such perfect taste./%", "obj_ch2_scene13_slash_Step_0_gml_592_0" ); |
471 |
c_talk_wait(); |
472 |
c_sel(qu); |
473 |
c_facing("u"); |
474 |
c_flip("x"); |
475 |
c_speaker("queen"); |
476 |
c_msgsetloc(0, Face K* Very Cool StatuesWait for input"\\EK* Very Cool Statues/", "obj_ch2_scene13_slash_Step_0_gml_601_0" ); |
477 |
c_msgnextloc(Face D* I Did Not Know You Had...Delay 11 NipplesWait for inputClose Message"\\ED* I Did Not Know You Had..^1. Nipples/%", "obj_ch2_scene13_slash_Step_0_gml_602_0" ); |
478 |
c_talk_wait(); |
479 |
c_sel(be); |
480 |
c_sprite(spr_berdly_cross_arms_right); |
481 |
c_speaker("berdly"); |
482 |
c_msgsetloc(0, Face 6* Haha...Delay 11 I will SOON...Delay 11 in our IDEAL WORLD.Wait for inputClose Message"\\E6* Haha..^1. I will SOON..^1. in our IDEAL WORLD./%", "obj_ch2_scene13_slash_Step_0_gml_610_0" ); |
483 |
c_talk_wait(); |
484 |
c_sel(be); |
485 |
c_facing("r"); |
486 |
c_speaker("berdly"); |
487 |
c_msgsetloc(0, Face E* Kris,Delay 11 feel free to admire our artisanship.Wait for inputClose Message"\\EE* Kris^1, feel free to admire our artisanship./%", "obj_ch2_scene13_slash_Step_0_gml_617_0" ); |
488 |
c_talk_wait(); |
489 |
c_speaker("berdly"); |
490 |
c_msgsetloc(0, Face 1* Queen and I have PLANs to consider.Wait for input"\\E1* Queen and I have PLANs to consider./", "obj_ch2_scene13_slash_Step_0_gml_621_0" ); |
491 |
c_sel(qu); |
492 |
c_flip("x"); |
493 |
c_facing("l"); |
494 |
c_facenext("queen", "1"); |
495 |
c_msgnextloc(Face 1* Haha Yes Oooh So Good Looking Forward To ThatWait for inputClose Message"\\E1* Haha Yes Oooh So Good Looking Forward To That/%", "obj_ch2_scene13_slash_Step_0_gml_628_0" ); |
496 |
c_talk_wait(); |
497 |
c_speaker("queen"); |
498 |
c_msgsetloc(0, Face 1* MMmmm Yum Yum Yum Yum YumWait for inputClose Message"\\E1* MMmmm Yum Yum Yum Yum Yum/%", "obj_ch2_scene13_slash_Step_0_gml_632_0" ); |
499 |
c_talk_wait(); |
500 |
c_facing("r"); |
501 |
c_speaker("queen"); |
502 |
c_msgsetloc(0, Face D* Let's Go BurghleyWait for inputClose Message"\\ED* Let's Go Burghley/%", "obj_ch2_scene13_slash_Step_0_gml_638_0" ); |
503 |
c_talk_wait(); |
504 |
c_sel(be); |
505 |
c_facing("r"); |
506 |
c_autowalk(1); |
507 |
c_walk("r", 10, 50); |
508 |
c_sel(qu); |
509 |
c_autowalk(1); |
510 |
c_walk("r", 3, 45); |
511 |
c_wait(45); |
512 |
c_sel(qu); |
513 |
c_autowalk(0); |
514 |
c_sprite(spr_queen_walk_right); |
515 |
c_imagespeed(0.2); |
516 |
c_speaker("queen"); |
517 |
c_msgsetloc(0, Face K* Keep Going I Am Right Behind YouWait for inputClose Message"\\EK* Keep Going I Am Right Behind You/%", "obj_ch2_scene13_slash_Step_0_gml_662_0" ); |
518 |
c_talk_wait(); |
519 |
c_imagespeed(0.1); |
520 |
c_walkdirect_wait(1500, 186, 10); |
521 |
c_msgsetloc(0, Face 1* Procedurally Lowering The Volume Of My VoiceWait for inputClose Message"\\E1* Procedurally Lowering The Volume Of My Voice/%", "obj_ch2_scene13_slash_Step_0_gml_668_0" ); |
522 |
c_talk_wait(); |
523 |
c_imagespeed(0); |
524 |
c_wait(30); |
525 |
c_autowalk(1); |
526 |
c_walkdirect_wait(obj_mainchara.x + 200, 186, 15); |
527 |
c_speaker("queen"); |
528 |
c_msgsetloc(0, Face D* Sorry Kris I Must Alt Tab Out Of HereWait for inputClose Message"\\ED* Sorry Kris I Must Alt Tab Out Of Here/%", "obj_ch2_scene13_slash_Step_0_gml_678_0" ); |
529 |
c_talk_wait(); |
530 |
c_walkdirect(320, 186, 60); |
531 |
c_delaywalk(71, "u", 8, 120); |
532 |
c_panobj(no_actor, 60); |
533 |
c_wait(40); |
534 |
c_mus2("volume", 0, 30); |
535 |
c_msgzurasu(1); |
536 |
c_speaker("queen"); |
537 |
c_msgsetloc(0, Face D* Wow Cool FaceWait for inputClose Message"\\ED* Wow Cool Face/%", "obj_ch2_scene13_slash_Step_0_gml_694_0" ); |
538 |
c_talk_wait(); |
539 |
c_sel(no); |
540 |
c_wait(1); |
541 |
c_autowalk(0); |
542 |
c_sprite(spr_cutscene_13_noelle_box_walk_right); |
543 |
c_imagespeed(0.25); |
544 |
c_walkdirect(kr_actor.x - 210, 218, 60); |
545 |
c_delaycmd(56, "imagespeed", 0); |
546 |
c_sel(kr); |
547 |
c_autowalk(1); |
548 |
c_walkdirect(no_actor.x + 500, 233, 60); |
549 |
c_panspeed_wait(10, 0, 55); |
550 |
c_wait(15); |
551 |
c_speaker("noelle"); |
552 |
c_msgsetloc(0, Face 3* Phew...Wait for input"\\E3* Phew.../", "obj_ch2_scene13_slash_Step_0_gml_723_0" ); |
553 |
c_msgnextloc(Face 2* Looks like my disguise worked.Wait for inputClose Message"\\E2* Looks like my disguise worked./%", "obj_ch2_scene13_slash_Step_0_gml_724_0" ); |
554 |
c_talk_wait(); |
555 |
c_sel(no); |
556 |
c_sprite(spr_cutscene_13_noelle_box_remove); |
557 |
c_imageindex(0); |
558 |
c_imagespeed(0.25); |
559 |
c_wait(35); |
560 |
c_imagespeed(0); |
561 |
c_wait(5); |
562 |
c_speaker("noelle"); |
563 |
c_msgsetloc(0, Face 8* It's silly looking,Delay 11 but it beats hiding...Wait for inputClose Message"\\E8* It's silly looking^1, but it beats hiding.../%", "obj_ch2_scene13_slash_Step_0_gml_746_0" ); |
564 |
c_talk_wait(); |
565 |
c_autowalk(0); |
566 |
c_sprite(spr_cutscene_13_noelle_box_wear); |
567 |
c_imageindex(0); |
568 |
c_imagespeed(0.25); |
569 |
c_wait(35); |
570 |
c_imagespeed(0); |
571 |
c_sprite(spr_cutscene_13_noelle_box_walk_down); |
572 |
c_arg_objectxy(no_actor, 0, -2); |
573 |
c_setxy(x, y); |
574 |
c_speaker("noelle"); |
575 |
c_msgsetloc(0, Face 4* Let's get going,Delay 11 Kris!Wait for inputClose Message"\\E4* Let's get going^1, Kris!/%", "obj_ch2_scene13_slash_Step_0_gml_763_0" ); |
576 |
c_talk_wait(); |
577 |
c_setxy(970, 216); |
578 |
c_panobj(kr_actor, 15); |
579 |
c_wait(15); |
580 |
c_sel(kr); |
581 |
c_facing("d"); |
582 |
c_pannable(0); |
583 |
c_actortokris(); |
584 |
c_actortocaterpillar(); |
585 |
c_terminatekillactors(); |
586 |
} |
587 |
if (con == 5 && !i_ex(obj_cutscene_master)) |
588 |
{ |
589 |
con = 50; |
590 |
global.interact = 0; |
591 |
global.facing = 0; |
592 |
} |
593 |
if (con == 50 && !i_ex(obj_cutscene_master)) |
594 |
{ |
595 |
con = 55; |
596 |
global.interact = 0; |
597 |
global.facing = 0; |
598 |
statuenpc.visible = 1; |
599 |
noellebox.visible = 1; |
600 |
with (obj_caterpillarchara) |
601 |
visible = 0; |
602 |
snd_free_all(); |
603 |
alarm[1] = 1;gml_Object_obj_ch2_scene13_Alarm_1.gmlglobal.currentsong[0] = snd_init("cybercity.ogg");
global.currentsong[1] = mus_loop_ext(global.currentsong[0], 0.8, 0.97);
audio_sound_gain(global.currentsong[1], 1, 30); |
604 |
} |
605 |
if (con == 55 && !noellelost && (obj_mainchara.x != 1100 || obj_mainchara.y != 233)) |
606 |
{ |
607 |
noellebox.image_speed = 0.25; |
608 |
noellelost = true; |
609 |
} |
610 |
if (con == 20) |
611 |
{ |
612 |
with (obj_actor) |
613 |
scr_depth(); |
614 |
con = 21; |
615 |
global.facing = (obj_mainchara.x < noellebox.x) ? 1 : 3; |
616 |
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;
} (); |
617 |
no = 3; |
618 |
no_actor = instance_create(1222, 218, obj_actor); |
619 |
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);
}
} (no, no_actor, "noelle"); |
620 |
no_actor.sprite_index = spr_cutscene_13_noelle_trip_1; |
621 |
c_soundplay_x(snd_wing, 1, 0.8); |
622 |
c_sel(no); |
623 |
c_autodepth(0); |
624 |
c_depth(97300); |
625 |
c_autowalk(0); |
626 |
c_wait(5); |
627 |
c_sprite(spr_cutscene_13_noelle_trip_2); |
628 |
c_waitcustom(); |
629 |
noellebox.visible = 0; |
630 |
} |
631 |
if (con == 21 && customcon == 1 && !d_ex() && global.interact == 0) |
632 |
{ |
633 |
con = 60; |
634 |
global.interact = 1; |
635 |
c_waitcustom_end(); |
636 |
c_imagespeed(0.25); |
637 |
c_wait(25); |
638 |
c_imagespeed(0); |
639 |
c_wait(30); |
640 |
c_speaker("noelle"); |
641 |
c_msgsetloc(0, Face 8* Just realized...Delay 11 I can't see anything...Delay 11 haha...Wait for inputClose Message"\\E8* Just realized..^1. I can't see anything..^1. haha.../%", "obj_ch2_scene13_slash_Step_0_gml_859_0" ); |
642 |
c_talk_wait(); |
643 |
c_autodepth(0); |
644 |
c_sprite(spr_cutscene_13_noelle_box_walk_down); |
645 |
if (obj_mainchara.y > 165) |
646 |
c_depth(800000); |
647 |
c_sprite(spr_cutscene_13_noelle_box_remove); |
648 |
c_setxy(1202, 145); |
649 |
c_wait(5); |
650 |
c_autodepth(0); |
651 |
c_autowalk(0); |
652 |
c_imageindex(0); |
653 |
c_imagespeed(0.25); |
654 |
c_wait(33); |
655 |
c_imagespeed(0); |
656 |
c_autodepth(1); |
657 |
c_autowalk(1); |
658 |
c_sprite(spr_noelle_walk_down_dw); |
659 |
c_arg_objectxy(no_actor, 2, 0); |
660 |
c_setxy(x, y); |
661 |
c_speaker("noelle"); |
662 |
c_msgsetloc(0, Face 4* Guess I'll try not to wear it unless I have to.Wait for input"\\E4* Guess I'll try not to wear it unless I have to./", "obj_ch2_scene13_slash_Step_0_gml_878_0" ); |
663 |
c_msgnextloc(Face T* OK,Delay 11 let's go for real this time!!Wait for inputClose Message"\\ET* OK^1, let's go for real this time!!/%", "obj_ch2_scene13_slash_Step_0_gml_879_0" ); |
664 |
c_talk_wait(); |
665 |
c_autodepth(1); |
666 |
c_actormovepartyc_actormovepartyfunction c_actormoveparty(arg0)
{
__mcactor = scr_findactor("kris");
if (__mcactor >= 0)
{
c_sel(__mcactor);
c_walkdirect(obj_mainchara.x, obj_mainchara.y, arg0);
}
for (__jj = 0; __jj < 2; __jj++)
{
if (i_ex(global.cinstance[__jj]))
{
__mcactor = scr_findactor(global.cinstance[__jj].name);
if (__mcactor >= 0)
{
c_sel(__mcactor);
c_cmd("walkdirect", global.cinstance[__jj].x, global.cinstance[__jj].y, arg0, 0);
}
}
}
} (30); |
667 |
c_wait(30); |
668 |
c_terminatekillactors(); |
669 |
} |
670 |
if (con == 60 && !i_ex(obj_cutscene_master)) |
671 |
{ |
672 |
with (obj_caterpillarchara) |
673 |
scr_caterpillar_interpolatescr_caterpillar_interpolatefunction scr_caterpillar_interpolate()
{
_newfacing = scr_facing_letter_to_number( scr_get_cardinal_direction(point_direction(x, y, obj_mainchara.x, obj_mainchara.y)));
remx[0] = obj_mainchara.x;
remy[0] = obj_mainchara.y;
facing[0] = _newfacing;
for (_iaia = target; _iaia > 0; _iaia -= 1)
{
remx[_iaia] = lerp(obj_mainchara.x, x, _iaia / target);
if (global.darkzone == 1)
remy[_iaia] = lerp(obj_mainchara.y, y + 16, _iaia / target);
else
remy[_iaia] = lerp(obj_mainchara.y, y + 6, _iaia / target);
facing[_iaia] = _newfacing;
}
} (); |
674 |
global.interact = 0; |
675 |
global.facing = 0; |
676 |
con = 0; |
677 |
global.plot = 75; |
678 |
with (obj_caterpillarchara) |
679 |
visible = 1; |
680 |
} |
681 |
if (noellelost == true) |
682 |
{ |
683 |
with (noellebox) |
684 |
scr_depth(); |
685 |
noellebox.x = scr_movetowardsscr_movetowardsfunction scr_movetowards(arg0, arg1, arg2)
{
if (arg0 == arg1)
return arg0;
else if (arg0 > arg1)
return max(arg0 - arg2, arg1);
else
return min(arg0 + arg2, arg1);
} (noellebox.x, 1240, 5); |
686 |
noellebox.y = scr_movetowardsscr_movetowardsfunction scr_movetowards(arg0, arg1, arg2)
{
if (arg0 == arg1)
return arg0;
else if (arg0 > arg1)
return max(arg0 - arg2, arg1);
else
return min(arg0 + arg2, arg1);
} (noellebox.y, 159, 2); |
687 |
if (noellebox.x >= 1215) |
688 |
{ |
689 |
noellelost = false; |
690 |
con = 20; |
691 |
} |
692 |
} |