| 1 |
if (live_call()) |
| 2 |
return global.live_result; |
| 3 |
switch (scene) |
| 4 |
{ |
| 5 |
case 0: |
| 6 |
if (room == rm_battle) |
| 7 |
exit; |
| 8 |
cutscene_music = audio_play_sound(mus_snowfall, 1, 1); |
| 9 |
cutscene_camera_freeze(180, 500); |
| 10 |
break; |
| 11 |
case 1: |
| 12 |
cutscene_wait(3); |
| 13 |
break; |
| 14 |
case 2: |
| 15 |
draw_alpha = lerp(draw_alpha, 0, 0.1); |
| 16 |
if (draw_alpha <= 0.01) |
| 17 |
draw_alpha = 0; |
| 18 |
if (cutscene_camera_move(0, 0, 2, false) && draw_alpha == 0) |
| 19 |
scene++; |
| 20 |
break; |
| 21 |
case 3: |
| 22 |
cutscene_wait(1); |
| 23 |
break; |
| 24 |
case 4: |
| 25 |
obj_martlet_npc.vspeed = 3; |
| 26 |
if (obj_martlet_npc.y >= 138) |
| 27 |
{ |
| 28 |
obj_martlet_npc.image_speed = 1; |
| 29 |
obj_martlet_npc.y = 138; |
| 30 |
obj_martlet_npc.vspeed = 0; |
| 31 |
scene++; |
| 32 |
} |
| 33 |
break; |
| 34 |
case 5: |
| 35 |
if (obj_martlet_npc.image_index >= (obj_martlet_npc.image_number - 1)) |
| 36 |
{ |
| 37 |
obj_martlet_npc.image_index = obj_martlet_npc.image_number - 1; |
| 38 |
obj_martlet_npc.image_speed = 0; |
| 39 |
cutscene_wait(0.25); |
| 40 |
} |
| 41 |
break; |
| 42 |
case 6: |
| 43 |
obj_martlet_npc.image_alpha = 0; |
| 44 |
obj_martlet_npc.y = 149; |
| 45 |
obj_martlet_npc.image_speed = 0; |
| 46 |
obj_martlet_npc.image_index = obj_martlet_npc.image_number - 1; |
| 47 |
obj_chujin_npc.down_sprite_idle = 3376; |
| 48 |
cutscene_npc_action_sprite(92, 2607, 1, false); |
| 49 |
break; |
| 50 |
case 7: |
| 51 |
cutscene_wait(1); |
| 52 |
break; |
| 53 |
case 8: |
| 54 |
cutscene_dialogue(); |
| 55 |
with (msg) |
| 56 |
{ |
| 57 |
talker[0] = 92; |
| 58 |
obj_chujin_npc.npc_voice_sfx = 102; |
| 59 |
message[0] = "* One cup of joe for the# Boss - extra# caffeinated!"; |
| 60 |
prt[0] = 312; |
| 61 |
} |
| 62 |
break; |
| 63 |
case 9: |
| 64 |
cutscene_advance(); |
| 65 |
break; |
| 66 |
case 10: |
| 67 |
obj_chujin_npc.down_sprite_idle = 3046; |
| 68 |
if (cutscene_npc_action_sprite(92, 3080, 1, false)) |
| 69 |
obj_chujin_npc.npc_voice_sfx = 626; |
| 70 |
break; |
| 71 |
case 11: |
| 72 |
obj_martlet_npc.action_sprite = false; |
| 73 |
obj_martlet_npc.image_alpha = 1; |
| 74 |
cutscene_wait(0.5); |
| 75 |
break; |
| 76 |
case 12: |
| 77 |
obj_chujin_npc.down_sprite_idle = 3163; |
| 78 |
obj_martlet_npc.down_sprite_idle = 3709; |
| 79 |
cutscene_wait(1); |
| 80 |
break; |
| 81 |
case 13: |
| 82 |
cutscene_dialogue(); |
| 83 |
with (msg) |
| 84 |
{ |
| 85 |
talker[0] = 92; |
| 86 |
talker[2] = 1164; |
| 87 |
talker[4] = 92; |
| 88 |
talker[5] = 1164; |
| 89 |
talker[6] = 92; |
| 90 |
message[0] = "* Is that my title now?"; |
| 91 |
message[1] = "* It's not like I pay you# to help me."; |
| 92 |
message[2] = "* Oh?"; |
| 93 |
message[3] = "* See these drinks?"; |
| 94 |
message[4] = "* Martlet..."; |
| 95 |
message[5] = "* You really should pay# that tab soon. The list# is gettin' long!"; |
| 96 |
message[6] = "* ..."; |
| 97 |
prt[0] = 846; |
| 98 |
prt[1] = 3072; |
| 99 |
prt[2] = 331; |
| 100 |
prt[3] = 312; |
| 101 |
prt[4] = 846; |
| 102 |
prt[5] = 337; |
| 103 |
prt[6] = 3072; |
| 104 |
switch (message_current) |
| 105 |
{ |
| 106 |
case 2: |
| 107 |
obj_martlet_npc.down_sprite_idle = 1770; |
| 108 |
break; |
| 109 |
case 4: |
| 110 |
obj_chujin_npc.down_sprite_idle = 3636; |
| 111 |
break; |
| 112 |
case 6: |
| 113 |
obj_chujin_npc.down_sprite_idle = 3416; |
| 114 |
break; |
| 115 |
} |
| 116 |
} |
| 117 |
break; |
| 118 |
case 14: |
| 119 |
obj_martlet_npc.down_sprite_idle = 3709; |
| 120 |
cutscene_wait(0.5); |
| 121 |
break; |
| 122 |
case 15: |
| 123 |
obj_chujin_npc.down_sprite_idle = 3163; |
| 124 |
cutscene_wait(1.5); |
| 125 |
break; |
| 126 |
case 16: |
| 127 |
cutscene_dialogue(); |
| 128 |
with (msg) |
| 129 |
{ |
| 130 |
talker[0] = 1164; |
| 131 |
talker[2] = 92; |
| 132 |
talker[3] = 1164; |
| 133 |
talker[5] = 92; |
| 134 |
talker[7] = 1164; |
| 135 |
talker[8] = 92; |
| 136 |
talker[9] = 1164; |
| 137 |
talker[10] = 92; |
| 138 |
talker[11] = 1164; |
| 139 |
message[0] = "* Oh, I meant to tell# you..."; |
| 140 |
message[1] = "* We'll probably have to# cut back on our hangouts# soon."; |
| 141 |
message[2] = "* Hm?"; |
| 142 |
message[3] = "* I uh... I finally gave# in to peer pressure# and..."; |
| 143 |
message[4] = "* ...Got a job."; |
| 144 |
message[5] = "* Really?"; |
| 145 |
message[6] = "* What good news!"; |
| 146 |
message[7] = "* Heh, I don't see it# that way..."; |
| 147 |
message[8] = "* Well, you can't# freeload forever."; |
| 148 |
message[9] = "* I knoooow, I know!"; |
| 149 |
message[10] = "* What's the job?"; |
| 150 |
message[11] = "* Well I wanted a job# where I could build# things so..."; |
| 151 |
prt[0] = 320; |
| 152 |
prt[1] = 329; |
| 153 |
prt[2] = 2896; |
| 154 |
prt[3] = 322; |
| 155 |
prt[4] = 323; |
| 156 |
prt[5] = 2896; |
| 157 |
prt[6] = 2896; |
| 158 |
prt[7] = 329; |
| 159 |
prt[8] = 846; |
| 160 |
prt[9] = 310; |
| 161 |
prt[10] = 2896; |
| 162 |
prt[11] = 321; |
| 163 |
switch (message_current) |
| 164 |
{ |
| 165 |
case 0: |
| 166 |
obj_martlet_npc.down_sprite_idle = 3284; |
| 167 |
break; |
| 168 |
case 1: |
| 169 |
obj_martlet_npc.down_sprite_idle = 1422; |
| 170 |
break; |
| 171 |
case 2: |
| 172 |
obj_chujin_npc.down_sprite_idle = 3208; |
| 173 |
break; |
| 174 |
case 3: |
| 175 |
obj_martlet_npc.down_sprite_idle = 2377; |
| 176 |
break; |
| 177 |
case 4: |
| 178 |
obj_martlet_npc.down_sprite_idle = 267; |
| 179 |
obj_chujin_npc.down_sprite_idle = 3046; |
| 180 |
break; |
| 181 |
case 5: |
| 182 |
obj_martlet_npc.down_sprite_idle = 1422; |
| 183 |
break; |
| 184 |
break; |
| 185 |
case 6: |
| 186 |
obj_chujin_npc.down_sprite_idle = 3416; |
| 187 |
obj_martlet_npc.down_sprite_idle = 1770; |
| 188 |
break; |
| 189 |
case 7: |
| 190 |
obj_martlet_npc.down_sprite_idle = 1422; |
| 191 |
obj_chujin_npc.down_sprite_idle = 3046; |
| 192 |
break; |
| 193 |
case 8: |
| 194 |
obj_chujin_npc.down_sprite_idle = 3163; |
| 195 |
break; |
| 196 |
case 10: |
| 197 |
obj_chujin_npc.down_sprite_idle = 3046; |
| 198 |
break; |
| 199 |
case 11: |
| 200 |
obj_martlet_npc.down_sprite_idle = 1422; |
| 201 |
break; |
| 202 |
} |
| 203 |
} |
| 204 |
break; |
| 205 |
case 17: |
| 206 |
scr_audio_fade_outscr_audio_fade_outfunction scr_audio_fade_out(arg0, arg1)
{
var snd = arg0;
var fade_len = arg1;
if (!audio_is_playing(snd))
return false;
audio_sound_gain(snd, 0, fade_len);
if (instance_exists(obj_audio_fade_helper))
{
with (obj_audio_fade_helper)
{
if (audio_to_fade == snd)
return false;
}
}
with (instance_create(0, 0, obj_audio_fade_helper))
audio_to_fade = snd;
} (cutscene_music, 500); |
| 207 |
cutscene_wait(1); |
| 208 |
break; |
| 209 |
case 18: |
| 210 |
obj_martlet_npc.down_sprite_idle = 1770; |
| 211 |
cutscene_wait(0.5); |
| 212 |
break; |
| 213 |
case 19: |
| 214 |
cutscene_dialogue(); |
| 215 |
with (msg) |
| 216 |
{ |
| 217 |
talker[0] = 1164; |
| 218 |
talker[1] = 92; |
| 219 |
talker[4] = 1164; |
| 220 |
talker[5] = 92; |
| 221 |
talker[8] = 1164; |
| 222 |
talker[11] = 92; |
| 223 |
talker[15] = 1164; |
| 224 |
talker[21] = 92; |
| 225 |
talker[22] = 1164; |
| 226 |
talker[23] = 92; |
| 227 |
talker[25] = 1164; |
| 228 |
talker[27] = 92; |
| 229 |
talker[28] = 1164; |
| 230 |
talker[29] = 92; |
| 231 |
message[0] = "* I signed up for the# Royal Guard."; |
| 232 |
message[1] = "* The..."; |
| 233 |
message[2] = "* ..."; |
| 234 |
message[3] = "* Martlet."; |
| 235 |
message[4] = "* What?"; |
| 236 |
message[5] = "* I don't..."; |
| 237 |
message[6] = "* ..."; |
| 238 |
message[7] = "* There's gotta be a# better job out there."; |
| 239 |
message[8] = "* What's wrong with the# Royal Guard?"; |
| 240 |
message[9] = "* Besides building# puzzles, all they do is# sit around all day."; |
| 241 |
message[10] = "* Practically tailor made# for me!"; |
| 242 |
message[11] = "* It isn't that simple."; |
| 243 |
message[12] = "* ..."; |
| 244 |
message[13] = "* On rare occasions,# Guards have to do their# job."; |
| 245 |
message[14] = "* Their REAL job."; |
| 246 |
message[15] = "* You're talking about# humans, right?"; |
| 247 |
message[16] = "* I'm aware."; |
| 248 |
message[17] = "* But come on..."; |
| 249 |
message[18] = "* It's gotta be like, a# 0.1% chance that I run# into a human!"; |
| 250 |
message[19] = "* And even if I did, I'm# a good people-person. "; |
| 251 |
message[20] = "* Escorting them through# the Underground wouldn't# be a problem."; |
| 252 |
message[21] = "* Humans are dangerous!"; |
| 253 |
message[22] = "* Whoa..."; |
| 254 |
message[23] = "* They cannot be trusted# and certainly not# \"escorted.\""; |
| 255 |
message[24] = "* Sorry, but you should# not put yourself in# harm's way."; |
| 256 |
message[25] = "* What do you mean?"; |
| 257 |
message[26] = "* Surely they can't ALL# be bad... right?"; |
| 258 |
message[27] = "* Have you heard of the# Snowdin attack?"; |
| 259 |
message[28] = "* Yeah..."; |
| 260 |
message[29] = "* Well... I witnessed it."; |
| 261 |
message[30] = "* One of the bleakest# days of my life."; |
| 262 |
message[31] = "* And veterans of the# war... their stories... "; |
| 263 |
message[32] = "* It had to be ten times# worse."; |
| 264 |
message[33] = "* ..."; |
| 265 |
message[34] = "* Humans are merciless."; |
| 266 |
message[35] = "* Incapable of decency in# any form."; |
| 267 |
prt[0] = 328; |
| 268 |
prt[1] = 3032; |
| 269 |
prt[2] = 1366; |
| 270 |
prt[3] = 3396; |
| 271 |
prt[4] = 333; |
| 272 |
prt[5] = 2666; |
| 273 |
prt[6] = 3331; |
| 274 |
prt[7] = 3396; |
| 275 |
prt[8] = 324; |
| 276 |
prt[9] = 320; |
| 277 |
prt[10] = 312; |
| 278 |
prt[11] = 2666; |
| 279 |
prt[12] = 3331; |
| 280 |
prt[13] = 2666; |
| 281 |
prt[14] = 3396; |
| 282 |
prt[15] = 338; |
| 283 |
prt[16] = 321; |
| 284 |
prt[17] = 320; |
| 285 |
prt[18] = 328; |
| 286 |
prt[19] = 312; |
| 287 |
prt[20] = 328; |
| 288 |
prt[21] = 3331; |
| 289 |
prt[22] = 333; |
| 290 |
prt[23] = 3396; |
| 291 |
prt[24] = 2666; |
| 292 |
prt[25] = 329; |
| 293 |
prt[26] = 317; |
| 294 |
prt[27] = 3396; |
| 295 |
prt[28] = 329; |
| 296 |
prt[29] = 2666; |
| 297 |
prt[30] = 2666; |
| 298 |
prt[31] = 2666; |
| 299 |
prt[32] = 2666; |
| 300 |
prt[33] = 3331; |
| 301 |
prt[34] = 3396; |
| 302 |
prt[35] = 2666; |
| 303 |
switch (message_current) |
| 304 |
{ |
| 305 |
case 0: |
| 306 |
noloop_message = 0; |
| 307 |
obj_chujin_npc.down_sprite_idle = 1254; |
| 308 |
break; |
| 309 |
case 1: |
| 310 |
obj_chujin_npc.down_sprite_idle = 3490; |
| 311 |
break; |
| 312 |
case 2: |
| 313 |
obj_chujin_npc.down_sprite_idle = 2988; |
| 314 |
break; |
| 315 |
case 3: |
| 316 |
obj_chujin_npc.down_sprite_idle = 3519; |
| 317 |
break; |
| 318 |
case 4: |
| 319 |
obj_martlet_npc.down_sprite_idle = 267; |
| 320 |
break; |
| 321 |
case 5: |
| 322 |
obj_chujin_npc.down_sprite_idle = 2262; |
| 323 |
break; |
| 324 |
case 6: |
| 325 |
obj_chujin_npc.down_sprite_idle = 2988; |
| 326 |
break; |
| 327 |
case 8: |
| 328 |
obj_martlet_npc.down_sprite_idle = 1770; |
| 329 |
break; |
| 330 |
case 11: |
| 331 |
obj_chujin_npc.down_sprite_idle = 2707; |
| 332 |
break; |
| 333 |
case 12: |
| 334 |
obj_chujin_npc.down_sprite_idle = 2988; |
| 335 |
break; |
| 336 |
case 16: |
| 337 |
obj_martlet_npc.down_sprite_idle = 3284; |
| 338 |
break; |
| 339 |
case 17: |
| 340 |
obj_martlet_npc.down_sprite_idle = 1770; |
| 341 |
break; |
| 342 |
case 21: |
| 343 |
if (noloop_message < message_current) |
| 344 |
{ |
| 345 |
noloop_message = message_current; |
| 346 |
scr_screenshakescr_screenshakefunction scr_screenshake(arg0, arg1)
{
if (instance_exists(obj_screenshake_player))
exit;
with (instance_create(__view_get(e__VW.Object, 0).x, __view_get(e__VW.Object, 0).y, obj_screenshake_player))
{alarm[0]
intensity = arg1;
}
}
enum e__VW
{
XView,
YView,
WView,
HView,
Angle,
HBorder,
VBorder,
HSpeed,
VSpeed,
Object,
Visible,
XPort,
YPort,
WPort,
HPort,
Camera,
SurfaceID
} (8, 2); |
| 347 |
audio_play_sound(snd_ceroba_yell, 1, 0); |
| 348 |
} |
| 349 |
if (!audio_is_playing(mus_nothing_but_the_truth)) |
| 350 |
other.cutscene_music = audio_play_sound(mus_nothing_but_the_truth, 1, 0); |
| 351 |
obj_chujin_npc.down_sprite_idle = 3519; |
| 352 |
obj_martlet_npc.down_sprite_idle = 267; |
| 353 |
break; |
| 354 |
case 22: |
| 355 |
obj_martlet_npc.down_sprite_idle = 2377; |
| 356 |
break; |
| 357 |
case 25: |
| 358 |
obj_martlet_npc.down_sprite_idle = 1770; |
| 359 |
obj_chujin_npc.down_sprite_idle = 2988; |
| 360 |
break; |
| 361 |
case 27: |
| 362 |
obj_chujin_npc.down_sprite_idle = 3208; |
| 363 |
break; |
| 364 |
case 29: |
| 365 |
obj_chujin_npc.down_sprite_idle = 3519; |
| 366 |
obj_martlet_npc.down_sprite_idle = 267; |
| 367 |
break; |
| 368 |
case 30: |
| 369 |
obj_chujin_npc.down_sprite_idle = 2988; |
| 370 |
break; |
| 371 |
case 32: |
| 372 |
obj_chujin_npc.down_sprite_idle = 2707; |
| 373 |
break; |
| 374 |
case 33: |
| 375 |
obj_chujin_npc.down_sprite_idle = 2988; |
| 376 |
obj_martlet_npc.down_sprite_idle = 1422; |
| 377 |
break; |
| 378 |
} |
| 379 |
} |
| 380 |
break; |
| 381 |
case 20: |
| 382 |
cutscene_advance(); |
| 383 |
break; |
| 384 |
case 21: |
| 385 |
cutscene_wait(1.25); |
| 386 |
obj_chujin_npc.down_sprite_idle = 3208; |
| 387 |
break; |
| 388 |
case 22: |
| 389 |
cutscene_wait(1.25); |
| 390 |
obj_martlet_npc.down_sprite_idle = 267; |
| 391 |
break; |
| 392 |
case 23: |
| 393 |
cutscene_dialogue(); |
| 394 |
with (msg) |
| 395 |
{ |
| 396 |
talker[0] = 92; |
| 397 |
message[0] = "* Believe me."; |
| 398 |
prt[0] = 3331; |
| 399 |
} |
| 400 |
break; |
| 401 |
case 24: |
| 402 |
cutscene_wait(1); |
| 403 |
break; |
| 404 |
case 25: |
| 405 |
obj_chujin_npc.down_sprite_idle = 2988; |
| 406 |
obj_martlet_npc.down_sprite_idle = 3284; |
| 407 |
cutscene_wait(1); |
| 408 |
break; |
| 409 |
break; |
| 410 |
case 26: |
| 411 |
scr_audio_fade_outscr_audio_fade_outfunction scr_audio_fade_out(arg0, arg1)
{
var snd = arg0;
var fade_len = arg1;
if (!audio_is_playing(snd))
return false;
audio_sound_gain(snd, 0, fade_len);
if (instance_exists(obj_audio_fade_helper))
{
with (obj_audio_fade_helper)
{
if (audio_to_fade == snd)
return false;
}
}
with (instance_create(0, 0, obj_audio_fade_helper))
audio_to_fade = snd;
} (cutscene_music, 750); |
| 412 |
cutscene_dialogue(); |
| 413 |
with (msg) |
| 414 |
{ |
| 415 |
talker[0] = 1164; |
| 416 |
talker[5] = 92; |
| 417 |
talker[6] = 1164; |
| 418 |
talker[7] = 92; |
| 419 |
message[0] = "* ..."; |
| 420 |
message[1] = "* If it makes you feel# better..."; |
| 421 |
message[2] = "* I'm not posted anywhere# near the hot spots."; |
| 422 |
message[3] = "* Well, it is a \"hot\"# spot but..."; |
| 423 |
message[4] = "* It's just Lab duty."; |
| 424 |
message[5] = "* Guarding the Royal# Scientist's almighty# fortress?"; |
| 425 |
message[6] = "* Yeah, that's all."; |
| 426 |
message[7] = "* ...#"; |
| 427 |
prt[0] = 317; |
| 428 |
prt[1] = 329; |
| 429 |
prt[2] = 320; |
| 430 |
prt[3] = 329; |
| 431 |
prt[4] = 320; |
| 432 |
prt[5] = 3396; |
| 433 |
prt[6] = 338; |
| 434 |
prt[7] = 3331; |
| 435 |
switch (message_current) |
| 436 |
{ |
| 437 |
case 0: |
| 438 |
obj_martlet_npc.down_sprite_idle = 267; |
| 439 |
break; |
| 440 |
case 1: |
| 441 |
obj_martlet_npc.down_sprite_idle = 1770; |
| 442 |
break; |
| 443 |
case 5: |
| 444 |
obj_martlet_npc.down_sprite_idle = 267; |
| 445 |
obj_chujin_npc.down_sprite_idle = 2262; |
| 446 |
break; |
| 447 |
case 6: |
| 448 |
obj_martlet_npc.down_sprite_idle = 1422; |
| 449 |
break; |
| 450 |
case 7: |
| 451 |
obj_chujin_npc.down_sprite_idle = 2988; |
| 452 |
break; |
| 453 |
} |
| 454 |
} |
| 455 |
break; |
| 456 |
case 27: |
| 457 |
cutscene_wait(2); |
| 458 |
break; |
| 459 |
case 28: |
| 460 |
cutscene_dialogue(); |
| 461 |
with (msg) |
| 462 |
{ |
| 463 |
talker[0] = 92; |
| 464 |
talker[1] = 1164; |
| 465 |
message[0] = "* Why don't we just call# it a day?"; |
| 466 |
message[1] = "* Yeah..."; |
| 467 |
message[2] = "* Probably for the# best..."; |
| 468 |
prt[0] = 2666; |
| 469 |
prt[1] = 317; |
| 470 |
prt[2] = 329; |
| 471 |
switch (message_current) |
| 472 |
{ |
| 473 |
case 0: |
| 474 |
obj_chujin_npc.down_sprite_idle = 3519; |
| 475 |
break; |
| 476 |
case 1: |
| 477 |
obj_chujin_npc.down_sprite_idle = 2988; |
| 478 |
break; |
| 479 |
} |
| 480 |
} |
| 481 |
break; |
| 482 |
case 29: |
| 483 |
cutscene_wait(1.5); |
| 484 |
break; |
| 485 |
case 30: |
| 486 |
draw_alpha = lerp(draw_alpha, 1, 0.05); |
| 487 |
if (draw_alpha >= 0.99) |
| 488 |
{ |
| 489 |
draw_alpha = 1; |
| 490 |
scene++; |
| 491 |
} |
| 492 |
break; |
| 493 |
case 31: |
| 494 |
cutscene_change_room(261, 0, 0, 0.1); |
| 495 |
break; |
| 496 |
} |