if (!init) { init = true; with (obj_castlereflect_manager) { add_reflection(1358); add_reflection(other.jail_markers[0]); add_reflection(other.jail_markers[1]); add_sprite_offset(6695, 200, 0); add_sprite_offset(2138, -9, 0); add_sprite_offset(2428, -9, 0); add_sprite_offset(4830, -9, 0); add_sprite_offset(6710, -9, 0); add_sprite_offset(279, -8, 0); add_sprite_offset(3418, -10, 0); add_sprite_offset(3485, -5, 0); add_sprite_offset(2667, 1, 0); add_sprite_offset(5548, 0, 0); add_sprite_offset(7694, 0, 0); add_sprite_offset(3068, -8, 0); add_sprite_offset(265, -5, 0); add_sprite_offset(7403, 1, 0); add_sprite_offset(3842, 2, 0); add_sprite_offset(5309, -8, 0); add_sprite_offset(984, -8, 0); add_sprite_offset(5093, 2, 0); add_sprite_offset(1539, -5, 0); add_sprite_offset(4928, -5, 0); add_sprite_offset(1115, -5, 0); add_sprite_offset(7203, -5, 0); add_sprite_offset(6162, -5, 0); add_sprite_offset(6725, -12, 0); add_sprite_offset(5604, -15, 0); add_sprite_offset(525, -15, 0); } } if (con == 0 && global.flag[1454] < 70 && global.interact == 0) { if (global.tempflag[tempflag_index] < 1 && scr_trigcheck("cutscene")) { con = 1; global.interact = 1; if (scr_debug() && keyboard_check(ord("P"))) { con = 4; cutscene_master = scr_cutscene_make(); scr_maincharacters_actors(); scr_miniface_init_flowers(); c_var_instance(whiteall, "visible", true); c_var_instance(whiteall, "image_alpha", 1); c_pannable(true); c_pan_fancy(640, cameray(), 1); c_wait(10); darkness = -4; anchor = -4; var blupos1 = findspriteinfo(spr_blue_poses_r, undefined); bl = actor_count + 1; blue_actor = scr_actor_quick_setup(blupos1, bl, "blue"); var yelpos1 = findspriteinfo(spr_yellow_up_dejected, undefined); ye = actor_count + 2; yellow_actor = scr_actor_quick_setup(yelpos1, ye, "yellow"); timer = 44; battlesetup = false; hat = scr_dark_marker(yelpos1.x, yelpos1.y, spr_yellow_hat); hat.depth = yelpos1.depth - 10; hat.visible = false; } } if (global.tempflag[tempflag_index] >= 1 && scr_trigcheck("rematch")) { con = 0.5; global.interact = 1; } } if (con == 0.5) { con = 0.51; cutscene_master = scr_cutscene_make(); scr_maincharacters_actors(); scr_miniface_init_flowers(); darkness = -4; anchor = -4; var blupos1 = findspriteinfo(spr_blue_walk_l, "CUTSCENE_REMATCH_ELEMENTS"); bl = actor_count + 1; blue_actor = scr_actor_quick_setup(blupos1, bl, "blue"); var yelpos1 = findspriteinfo(spr_yellow_cool_fall, "CUTSCENE_REMATCH_ELEMENTS"); ye = actor_count + 2; yellow_actor = scr_actor_quick_setup(yelpos1, ye, "yellow"); timer = 0; battlesetup = false; hat = scr_dark_marker(yelpos1.x, yelpos1.y, spr_yellow_hat); hat.depth = yelpos1.depth - 10; hat.visible = false; post_cam_pos3 = findspriteinfo(spr_debug_cameraregionpreview, "CUTSCENE_REMATCH_ELEMENTS", c_lime); blue_actor.y -= 350; yellow_actor.y -= 350; blue_actor.x += 64; yellow_actor.x += 64; c_pannable(true); c_pan_fancy(640, cameray(), 30); c_wait(30); blue_actor.auto_walk = false; yellow_actor.auto_walk = false; blue_actor.auto_facing = false; yellow_actor.auto_facing = false; blue_actor.auto_depth = false; yellow_actor.auto_depth = false; blue_actor.depth = 95500; yellow_actor.depth = 95000; blue_actor.sprite_index = spr_blue_laugh_left; yellow_actor.sprite_index = spr_yellow_shoot; blue_actor.image_index = 3; blue_actor.image_speed = 0.25; var _falltime = 10; c_customfunc(function() { var _falltime = 10; with (blue_actor) scr_afterimager(_falltime, 2, undefined, 16754566); with (yellow_actor) scr_afterimager(_falltime, 2, undefined, 10615039); }); c_sndplay_x(snd_spearappear, 1, 1.2); c_lerp_var_instance(blue_actor, "y", blue_actor.ystart - 350, blue_actor.ystart, _falltime); c_wait(_falltime); c_sndplay(snd_noise); c_sndplay_x(snd_spearappear, 1, 1.2); c_lerp_var_instance(yellow_actor, "y", yellow_actor.ystart - 350, yellow_actor.ystart, _falltime); c_wait(_falltime); c_sndplay(snd_noise); c_var_instance(yellow_actor, "sprite_index", spr_yellow_shoot); c_sel_spriteimage(bl, 5309, 0, 0.25); c_wait(30); c_actortokris(); c_actortocaterpillar(); c_var_instance(id, "con", 3); c_waitcustom(); } if (con == 1) { con = 2; cutscene_master = scr_cutscene_make(); scr_maincharacters_actors(); scr_miniface_init_flowers(); var blupos1 = findspriteinfo(spr_blue_poses_r, undefined); bl = actor_count + 1; blue_actor = scr_actor_quick_setup(blupos1, bl, "blue"); var blupos2 = findspriteinfo(spr_blue_yellow_tug, undefined); var blupos3 = findspriteinfo(spr_blue_poses_2, undefined); var blupos4 = findspriteinfo(spr_blue_jail_flip, undefined); var blupos5 = findspriteinfo(spr_blue_poses, undefined); var yelpos1 = findspriteinfo(spr_yellow_up_dejected, undefined); ye = actor_count + 2; yellow_actor = scr_actor_quick_setup(yelpos1, ye, "yellow"); var yelpos2 = findspriteinfo(spr_yellow_shock_left, undefined); var yelpos3 = findspriteinfo(spr_yellow_point_right, undefined); var yelpos4 = findspriteinfo(spr_yellow_sad_walk_left, undefined); su_off = new Vector2(12, -20); ra_off = new Vector2(-12, -24); anchor = instance_create(x, y, obj_anchorpoint); with (anchor) { AddTarget(other.ra_actor); AddTarget(other.su_actor); AddTarget(other.kr_actor); } darkness = instance_create_depth(0, 0, 90000, obj_stage_darkness); darkness.visible = false; darkness.wall = true; with (obj_spotlight_wall) { if (x > 800) other.bars = id; } var _spotlight_height = y - 100; spotlightA = instance_create_depth(740, _spotlight_height, 85000, obj_spotlight); spotlightA.target = blue_actor; spotlightA.auto_alpha = true; spotlightA.jumper = true; spotlightC = instance_create_depth(960, _spotlight_height, 85000, obj_spotlight); spotlightC.target = yellow_actor; spotlightC.auto_alpha = true; spotlightC.jumper = true; spotlightD = instance_create_depth(960, _spotlight_height, 85000, obj_spotlight); spotlightD.target = yellow_actor; spotlightD.auto_alpha = true; spotlightD.jumper = true; hat = scr_dark_marker(yelpos2.x, yelpos2.y, spr_yellow_hat); hat.depth = yelpos2.depth - 10; spotlightC.extra_sprite = hat; hat.visible = false; spotlightB = instance_create_depth(960, _spotlight_height, 85000, obj_spotlight); spotlightB.target = anchor; spotlightB.auto_alpha = true; spotlightB.auto_offset = true; var stealthpos1 = findspriteinfo(spr_kris_stealth, undefined, c_white); var stealthpos2 = findspriteinfo(spr_kris_stealth, undefined, c_aqua); c_var_instance(darkness, "visible", true); c_var_instance(darkness, "image_alpha", 0); c_var_lerp_to_instance(darkness, "image_alpha", 0.5, 40); c_var_instance(spotlightA, "con", 1); c_var_instance(spotlightC, "con", 1); c_mus2("volume", 0, 30); c_sel(kr); c_autofacing(false); c_sel(su); c_autofacing(false); c_sel(ra); c_autofacing(false); c_sel_sprite(bl, 2138); c_pannable(1); var _scenex = 640; c_pan_fancy(640, cameray(), 50, { doround: true, easetype: "easeinoutcubic" }); c_wait(50); c_mus2("initloop", "blue_flower.ogg", 0); c_mus2("volume", 0, 0); c_mus2("volume", 1, 30); c_wait(2); c_autowalk(false); c_imageindex(1); c_wait(8); c_speaker("blue"); c_msgsetsubloc(0, "~1* Yellow^1? Oh dear^1, did you get~2tricked again?/", (global.lang == "ja") ? "\\m5\t\t\t" : "\\m5\t\t", (global.lang == "ja") ? "&\t\t\t\t" : "&\t\t", "obj_ch5_DWCL03_slash_Step_0_gml_252_0"); c_facenext("yellow", 0); c_msgnextsubloc("~1* Blue^1, don't waste your words~2on me^1. I'm a criminell./", (global.lang == "ja") ? "\\m4\t\t\t" : "\\m4\t\t", (global.lang == "ja") ? "&\t\t\t\t" : "&\t\t", "obj_ch5_DWCL03_slash_Step_0_gml_254_0"); c_facenext("blue", 0); c_msgnextsubloc("~1* What did you do?/", (global.lang == "ja") ? "\\m5\t\t\t" : "\\m5\t\t", (global.lang == "ja") ? "&\t\t\t\t" : "&\t\t", "obj_ch5_DWCL03_slash_Step_0_gml_256_0"); c_imagenext(2); c_facenext("yellow", 0); c_msgnextsubloc("~1* I don't know./", (global.lang == "ja") ? "\\m4\t\t\t" : "\\m4\t\t", (global.lang == "ja") ? "&\t\t\t\t" : "&\t\t", "obj_ch5_DWCL03_slash_Step_0_gml_259_0"); c_facenext("blue", 0); c_msgnextsubloc("~1* Oh^1, get out of there^1. You~2poor thing./%", (global.lang == "ja") ? "\\m5\t\t\t" : "\\m5\t\t", (global.lang == "ja") ? "&\t\t\t\t" : "&\t\t", "obj_ch5_DWCL03_slash_Step_0_gml_261_0"); c_talk_wait(); c_sel(bl); c_autowalk(true); c_sel_sprite(kr, 3677); c_setxy(stealthpos1.x, stealthpos1.y); c_sel_sprite(su, 4928); c_setxy(stealthpos1.x + su_off.x, stealthpos1.y + su_off.y); c_sel_sprite(ra, 2505); c_setxy(stealthpos1.x + ra_off.x, stealthpos1.y + ra_off.y); c_sel(bl); c_autofacing(false); c_sprite(spr_blue_walk_back); c_var_lerp_to_instance(spotlightA, "x", _scenex + 200, 20); c_walkdirect_speed_wait(blupos4.x, blupos4.y, 4); c_wait(5); c_spriteimage(2428, 0, 0); c_snd_play(snd_grab); c_wait(20); c_animate(0, 4, 0.5); c_snd_play_x(snd_slidewhistle, 1, 3); c_wait(6); c_var_lerp_add_instance(bars, "y", -300, 10, 2, "out"); c_wait(20); c_var_lerp_to_instance(spotlightA, "x", _scenex + 300, 20); c_sprite(spr_blue_walk_back); c_autowalk(true); c_autofacing(false); c_walkdirect_speed_wait(blupos2.x, blupos2.y, 4); c_wait(10); c_sprite(spr_blue_yellow_tug); c_sndplay(snd_item); c_sel(ye); c_visible(false); c_sel(bl); c_wait(10); c_autowalk(false); var _repeat_count = 0; repeat (4) { c_wait(10); if (_repeat_count == 3) c_sprite(spr_blue_yellow_tug_lookback); c_imageindex(1); c_var_lerp_add_instance(blue_actor, "x", -10, 8); c_var_lerp_add_instance(yellow_actor, "x", -20, 8); c_wait(10); c_imageindex(0); _repeat_count++; } c_image_speed(0.1); c_wait(10); c_sprite_set(bl, 7694, 0, 0); c_speaker("blue"); c_msgsetsubloc(0, "~1* There^1, there^1, Yellow.../%", (global.lang == "ja") ? "\\m5\t\t\t" : "\\m5\t\t", (global.lang == "ja") ? "&\t\t\t\t" : "&\t\t", "obj_ch5_DWCL03_slash_Step_0_gml_333_0"); c_talk_wait(); c_wait(4); c_image_speed(0); c_autowalk(false); c_wait(10); c_imageindex(0); c_sprite(spr_blue_yellow_turnaround_hug_both); c_animate(0, 2, 1/3); c_wait(30); c_var_lerp_to_instance(darkness, "image_alpha", 0.9, 40); c_animate(3, 6, 0.25); c_wait(20); c_animate(6, 14, 0.25); c_wait(60); c_customfunc(function() { with (blue_actor) { scr_emote("!", 20); with (obj_excblcon) { x -= 2; y += 10; } } }); c_wait(20); c_sel(ye); c_snd_play(snd_wing); c_autofacing(false); c_autowalk(false); c_visible(true); c_sprite(spr_yellow_shock_left_hatless); c_var_instance(id, "hat_con", 1); c_var_lerp_to_instance(yellow_actor, "x", yelpos2.x, 16, 2, "out"); c_var_lerp_to_instance(yellow_actor, "y", yelpos2.y, 16, 2, "out"); c_sel(bl); c_sprite(spr_enemy_blue_ballet_r); c_var_lerp_to_instance(blue_actor, "x", blupos3.x, 16, 2, "out"); c_var_lerp_to_instance(blue_actor, "y", blupos3.y, 16, 2, "out"); c_imageindex(0); c_var_lerp_to_instance(blue_actor, "image_index", 23, 16, 4, "out"); c_var_lerp_to_instance(spotlightA, "x", 740, 16, 2, "out"); c_var_lerp_to_instance(spotlightC, "x", 1180, 16, 2, "out"); c_wait(17); c_spriteimage(1288, 1, 0); c_var_lerp_add_instance(bars, "y", 300, 40, -3, "out"); c_wait(15); c_snd_play_x(snd_impact, 0.2, 1); c_wait(15); c_snd_play_x(snd_impact, 0.2, 1); c_imageindex(0); c_wait(10); sneak_start = stealthpos1; sneak_end = stealthpos2; c_var_instance(spotlightA, "auto_offset", false); c_var_instance(spotlightC, "auto_offset", false); c_speaker("yellow"); c_msgsetsubloc(0, "~1* Ahh^1, Blue^1, what're ya doin!^1?~2You're helping a criminell!!/", (global.lang == "ja") ? "\\m4\t\t\t" : "\\m4\t\t", (global.lang == "ja") ? "&\t\t\t\t" : "&\t\t", "obj_ch5_DWCL03_slash_Step_0_gml_467_0"); c_msgnextsubloc("~1* They're gonna arrest you too!/", (global.lang == "ja") ? "\\m4\t\t\t" : "\\m4\t\t", (global.lang == "ja") ? "&\t\t\t\t" : "&\t\t", "obj_ch5_DWCL03_slash_Step_0_gml_468_0"); c_msgfunc(function() { party_sneak(0.1111111111111111); }); c_facenext("blue", 0); c_msgnextsubloc("~1* Who^1? Who put you in there?/", (global.lang == "ja") ? "\\m5\t\t\t" : "\\m5\t\t", (global.lang == "ja") ? "&\t\t\t\t" : "&\t\t", "obj_ch5_DWCL03_slash_Step_0_gml_471_0"); c_msgfunc(function() { party_sneak(1/3); }); c_sel_spritenext(bl, 1288, 1); c_facenext("yellow", 0); c_msgnextsubloc("~1* ..^1. me./", (global.lang == "ja") ? "\\m4\t\t\t" : "\\m4\t\t", (global.lang == "ja") ? "&\t\t\t\t" : "&\t\t", "obj_ch5_DWCL03_slash_Step_0_gml_475_0"); c_sel_spritenext(ye, 7073, 0); c_msgvar_instance(hat, "visible", false); c_msgvar_instance(id, "hat_con", -1); c_msgvar_instance(hat, "sprite_index", 3468); c_facenext("blue", 0); c_msgnextsubloc("~1* Would you arrest me^1, Yellow?/", (global.lang == "ja") ? "\\m5\t\t\t" : "\\m5\t\t", (global.lang == "ja") ? "&\t\t\t\t" : "&\t\t", "obj_ch5_DWCL03_slash_Step_0_gml_483_0"); c_sel_spritenext(bl, 1288, 4); c_msgfunc(function() { party_sneak(0.5555555555555556); }); c_facenext("yellow", 0); c_sel_spritenext(ye, 5093, 0, 0.1); c_msgnextsubloc("~1* Never./", (global.lang == "ja") ? "\\m4\t\t\t" : "\\m4\t\t", (global.lang == "ja") ? "&\t\t\t\t" : "&\t\t", "obj_ch5_DWCL03_slash_Step_0_gml_488_0"); c_msgfunc(function() { party_sneak(2/3); }); c_facenext("blue", 0); c_msgnextsubloc("~1* So^1, who made you feel this~2way...?/", (global.lang == "ja") ? "\\m5\t\t\t" : "\\m5\t\t", (global.lang == "ja") ? "&\t\t\t\t" : "&\t\t", "obj_ch5_DWCL03_slash_Step_0_gml_491_0"); c_sel_spritenext(bl, 1288, 0); c_msgfunc(function() { party_sneak(0.8888888888888888); }); c_facenext("yellow", 0); c_msgnextsubloc("~1* Hmm.../%", (global.lang == "ja") ? "\\m4\t\t\t" : "\\m4\t\t", (global.lang == "ja") ? "&\t\t\t\t" : "&\t\t", "obj_ch5_DWCL03_slash_Step_0_gml_495_0"); c_sel_spritenext(ye, 2226, 0, 0); c_talk_wait(); c_wait(1); c_party_walkdirect(stealthpos2.x, stealthpos1.y, su_off, ra_off, 20, true); c_wait(21); c_snd_play(snd_locker); c_var_instance(spotlightB, "con", 1); c_sel_sprite(su, 1115); c_shakeobj(); c_sel(ra); c_sprite(spr_ralsei_d_stealth_spotted); c_shakeobj(); c_sel(kr); c_sprite(spr_kris_stealth_look); c_shakeobj(); c_debugprint("SPOTTED"); c_sel(ye); c_sprite(spr_yellow_turn_head_shock_hatless); c_var_instance(id, "hat_con", 1); c_imageindex(1); c_sel(bl); c_sprite(spr_blue_turn_head); c_imageindex(1); c_var_instance(id, "pitch_shift", 1); c_wait(32); c_var_instance(hat, "visible", 0); c_sel(ye); c_autowalk(false); c_spriteimage(2463, 1); c_speaker("yellow"); c_msgsetsubloc(0, "~1* Ahh^1, you three^1! Sorry 'bout~2the mix'em'up earlier!/", (global.lang == "ja") ? "\\m4\t\t\t" : "\\m4\t\t", (global.lang == "ja") ? "&\t\t\t\t" : "&\t\t", "obj_ch5_DWCL03_slash_Step_0_gml_536_0"); c_facenext("susie", "7"); c_msgnextloc("\\E7* Hey^1, no problem^1. It's all good./", "obj_ch5_DWCL03_slash_Step_0_gml_539_0"); c_sel_spritenext(su, 7203); c_facenext("blue", 0); c_msgnextsubloc("~1* .../", (global.lang == "ja") ? "\\m5\t\t\t" : "\\m5\t\t", (global.lang == "ja") ? "&\t\t\t\t" : "&\t\t", "obj_ch5_DWCL03_slash_Step_0_gml_542_0"); c_facenext("susie", "7"); c_msgnextloc("\\E7* We're gonna go now./%", "obj_ch5_DWCL03_slash_Step_0_gml_544_0"); c_sel_spritenext(su, 6162); c_talk_wait(); c_sel(bl); c_spriteimage(1288, 2, 0); c_snd_play(snd_cd_bagel_noelle); c_jump(blupos5.x, blupos5.y, 20, 15); c_var_lerp_to_instance(spotlightA, "x", (_scenex + 640) - 150, 15); c_wait(10); c_sel_sprite(ra, 1447); c_var_add_instance(ra_actor, "y", 8); c_var_lerp_add("x", -30, 8, 2, "out"); c_sel_sprite(su, 1027); c_sel_facing(kr, "r"); c_autofacing(false); c_walkto_actor(kr, -20, 0, 4); c_wait(5); c_sel_spriteimage(bl, 5810, 3); c_speaker("blue"); c_msgsetsubloc(0, "~1* You three fooled Yellow^1,~2didn't you./", (global.lang == "ja") ? "\\m5\t\t\t" : "\\m5\t\t", (global.lang == "ja") ? "&\t\t\t\t" : "&\t\t", "obj_ch5_DWCL03_slash_Step_0_gml_565_0"); c_facenext("yellow", 0); c_msgnextsubloc("~1* What!^1? I was foolered!?/%", (global.lang == "ja") ? "\\m4\t\t\t" : "\\m4\t\t", (global.lang == "ja") ? "&\t\t\t\t" : "&\t\t", "obj_ch5_DWCL03_slash_Step_0_gml_580_0"); c_sel_spritenext(ye, 8018, 0); c_talk_wait(); c_sel(ye); c_spriteimage(7923, 2, 0); c_snd_play_x(snd_jump, 1, 1); c_jump(yelpos3.x - 10, yelpos3.y, 20, 15); c_var_lerp_to_instance(spotlightC, "x", _scenex + 150, 15); c_wait(10); c_sel_sprite(ra, 7196); c_var_lerp_add("x", 10, 6, 2, "out"); c_sel_facing(kr, "l"); c_walkto_actor(kr, 20, 0, 4); c_sel(su); c_var_add("x", -20); c_sel_sprite(su, 1026); c_var_lerp_add("x", 10, 6, 2, "out"); c_wait(1); c_wait(9); c_sel_sprite(ye, 3510); c_speaker("yellow"); c_msgsetsubloc(0, "~1* Justice don't got no patience~2for foolers!!/", (global.lang == "ja") ? "\\m4\t\t\t" : "\\m4\t\t", (global.lang == "ja") ? "&\t\t\t\t" : "&\t\t", "obj_ch5_DWCL03_slash_Step_0_gml_609_0"); c_facenext("blue", 0); c_msgnextsubloc("~1* Quite so^1. I'm afraid we'll~2have to punish you^1, dears.../%", (global.lang == "ja") ? "\\m5\t\t\t" : "\\m5\t\t", (global.lang == "ja") ? "&\t\t\t\t" : "&\t\t", "obj_ch5_DWCL03_slash_Step_0_gml_612_0"); c_sel(kr); c_msgcmd("facing", "r"); c_sel_spritenext(su, 1027, 0, 0.25); c_msgvar_add("x", 20); c_sel_spritenext(bl, 5309, 0, 0.25); c_talk(); c_wait(9); c_wait_talk(); c_sel_facing(kr, "d"); c_customfunc(function() { snd_play(snd_tensionhorn); snd_play_delay(snd_tensionhorn, 9, undefined, 1.1); }); c_wait(20); c_actortokris(); c_actortocaterpillar(); c_var_instance(id, "con", 3); c_waitcustom(); } if (con == 3) { var bluecopy = scr_marker_frominstance(blue_actor); bluecopy.sprite_index = spr_enemy_blue_ballet; bluecopy.image_speed = 0.5; bluecopy.depth = 0; blue_actor.visible = false; var yellowcopy = scr_marker_frominstance(yellow_actor); yellowcopy.depth = -1; yellowcopy.sprite_index = spr_yellow_cool_stance; if (global.tempflag[tempflag_index] >= 1) yellowcopy.sprite_index = spr_yellow_idle; yellow_actor.visible = false; global.batmusic[0] = snd_init("miniboss_new_section_idea_wip.ogg"); scr_battle(222, 3, bluecopy, yellowcopy); with (yellowcopy) scr_var_delay("visible", 0, 24); with (bluecopy) scr_var_delay("visible", 0, 24); global.tempflag[tempflag_index]++; if (scr_debug()) show_debug_message_concat("blueyellow already fought count: ", global.tempflag[tempflag_index]); con = 4; timer = 0; battlesetup = false; } if (con == 4) { timer++; if (timer > 45) { if (!battlesetup) { post_blue_pos1 = findspriteinfo(spr_blue_walk_l, "CUTSCENE_POST_ELEMENTS", c_white); post_yellow_pos1 = findspriteinfo(spr_yellow_dumbfounded, "CUTSCENE_POST_ELEMENTS", c_white); post_kr_pos1 = findspriteinfo(spr_debug_krmarker, "CUTSCENE_POST_ELEMENTS", c_white); post_su_pos1 = findspriteinfo(spr_debug_sumarker, "CUTSCENE_POST_ELEMENTS", c_white); post_ra_pos1 = findspriteinfo(spr_debug_ramarker, "CUTSCENE_POST_ELEMENTS", c_white); post_kr_pos2 = findspriteinfo(spr_debug_krmarker, "CUTSCENE_POST_ELEMENTS", c_red); post_su_pos2 = findspriteinfo(spr_debug_sumarker, "CUTSCENE_POST_ELEMENTS", c_red); post_ra_pos2 = findspriteinfo(spr_debug_ramarker, "CUTSCENE_POST_ELEMENTS", c_red); post_cam_pos1 = findspriteinfo(spr_debug_cameraregionpreview, "CUTSCENE_POST_ELEMENTS", c_white); post_cam_pos2 = findspriteinfo(spr_debug_cameraregionpreview, "CUTSCENE_POST_ELEMENTS", c_red); battlesetup = true; with (darkness) instance_destroy(); with (obj_spotlight) instance_destroy(); blue_actor.visible = true; yellow_actor.visible = true; blue_actor.x1 = blue_actor.x; blue_actor.y1 = blue_actor.y; yellow_actor.x1 = yellow_actor.x + 10; yellow_actor.y1 = yellow_actor.y; blue_actor.x = post_blue_pos1.x; blue_actor.y = post_blue_pos1.y; blue_actor.sprite_index = spr_blue_turn_head_concerned; blue_actor.image_speed = 0; blue_actor.image_index = 0; yellow_actor.x = post_yellow_pos1.x + 10; yellow_actor.y = post_yellow_pos1.y; yellow_actor.sprite_index = spr_yellow_downcast_left; yellow_actor.image_speed = 0; yellow_actor.image_index = 0; kr_actor.x = post_kr_pos1.x; kr_actor.y = post_kr_pos1.y; ra_actor.x = post_ra_pos1.x; ra_actor.y = post_ra_pos1.y; su_actor.x = post_su_pos1.x; su_actor.y = post_su_pos1.y; kr_actor.visible = true; ra_actor.visible = true; su_actor.visible = true; hat.depth = -101; with (obj_mainchara) x = -100; with (obj_caterpillarchara) { x = -100; scr_caterpillar_interpolate(); } } if (!i_ex(obj_yellow_enemy)) { with (yellow_actor) { auto_depth = false; depth = -100; } with (blue_actor) { auto_depth = false; depth = -100; } } if (!i_ex(obj_battlecontroller)) { snd_stop(global.batmusic[1]); snd_free(global.batmusic[1]); snd_stop(global.currentsong[1]); snd_free(global.currentsong[1]); customcon = 0; c_waitcustom_end(); c_var_instance(whiteall, "visible", true); c_var_instance(whiteall, "image_alpha", 1); c_wait(20); c_customfunc(function() { with (obj_fadein) instance_destroy(); }); c_var_lerp_instance(whiteall, "image_alpha", 1, 0, 150); c_wait(150); con = 5; scr_debug_print("battle over!"); } } } if (con == 5) { con = 6; c_sel_facing(kr, "r"); c_sel_facing(su, "r"); c_sel_facing(ra, "r"); c_sel(bl); c_autowalk(false); c_sel(ye); c_autowalk(false); biggun = scr_dark_marker(yellow_actor.x + 100, -100, spr_fyellow_gun); biggun.image_xscale = -2; c_speaker("yellow"); c_msgsetsubloc(0, "~1* Blue.....^1. you done did take ~2my special petals.../", (global.lang == "ja") ? "\\m4\t\t\t" : "\\m4\t\t", (global.lang == "ja") ? "&\t\t\t\t" : "&\t\t", "obj_ch5_DWCL03_slash_Step_0_gml_773_0"); c_facenext("blue", 0); c_msgnextsubloc("~1* .....^1. alas^1. That you would ~2find out this way./", (global.lang == "ja") ? "\\m5\t\t\t" : "\\m5\t\t", (global.lang == "ja") ? "&\t\t\t\t" : "&\t\t", "obj_ch5_DWCL03_slash_Step_0_gml_775_0"); c_msgsprite(blue_actor, 2138, 1, 0); c_sel(bl); c_facenext("yellow", 0); c_msgnextsubloc("~1* Then I..^1. then I gots no ~2choice.../%", (global.lang == "ja") ? "\\m4\t\t\t" : "\\m4\t\t", (global.lang == "ja") ? "&\t\t\t\t" : "&\t\t", "obj_ch5_DWCL03_slash_Step_0_gml_779_0"); c_sel(ye); c_msgcmd("addxy", -10, 0); c_msgsprite(yellow_actor, 5235, 0, 0); c_talk_wait(); c_speaker("yellow"); c_msgsetsubloc(0, "~1* If Blue's a criminelll ~2stealer..^1. then I.../%", (global.lang == "ja") ? "\\m4\t\t\t" : "\\m4\t\t", (global.lang == "ja") ? "&\t\t\t\t" : "&\t\t", "obj_ch5_DWCL03_slash_Step_0_gml_787_0"); c_msgsprite(yellow_actor, 5235, 1, 0); c_msgsprite(blue_actor, 5367, 0, 0); c_sel(bl); c_msgcmd("addxy", -17, 0); c_talk_wait(); shakedraw_func = function() { var _xwas = x; var _ywas = y; var _xshake = irandom_range(-shakeamt, shakeamt); var _yshake = irandom_range(-shakeamt, shakeamt); x += _xshake; y += _yshake; if (gunhold != -4) { with (gunhold) { visible = false; var _gxwas = x; var _gywas = y; x += _xshake; y += _yshake; draw_self(); x = _gxwas; y = _gywas; } } draw_self(); x = _xwas; y = _ywas; }; c_sel(ye); c_lerp_var_instance(yellow_actor, "image_index", 1, 4, 16); c_var_lerp_to_instance(biggun, "y", 200, 30, "3", "out"); c_wait(30); c_sel(ye); c_var("shakeamt", 2); c_var("skipnormaldraw", true); yellow_actor.gunhold = -4; c_set_func(yellow_actor, "draw_func", shakedraw_func); c_var_instance(yellow_actor, "gunhold", biggun); c_speaker("yellow"); c_msgsetsubloc(0, "~1* Then I...!!!/", (global.lang == "ja") ? "\\m4\t\t\t" : "\\m4\t\t", (global.lang == "ja") ? "&\t\t\t\t" : "&\t\t", "obj_ch5_DWCL03_slash_Step_0_gml_817_0"); c_facenext("blue", 0); c_msgnextsubloc("~1* Yellow^1, dear^1. You're holding ~2the gun the wrong way./", (global.lang == "ja") ? "\\m5\t\t\t" : "\\m5\t\t", (global.lang == "ja") ? "&\t\t\t\t" : "&\t\t", "obj_ch5_DWCL03_slash_Step_0_gml_822_0"); c_sel_spritenext(bl, 5309, 0, 0.25); c_msgcmd("addxy", 20, 0); c_facenext("yellow", 0); c_msgnextsubloc("~1* No^1, I ain't!/", (global.lang == "ja") ? "\\m4\t\t\t" : "\\m4\t\t", (global.lang == "ja") ? "&\t\t\t\t" : "&\t\t", "obj_ch5_DWCL03_slash_Step_0_gml_828_0"); c_sel_spritenext(bl, 5309, 0, 0); c_sel_spritenext(ye, 4135, 0, 0.25); c_msgnextsubloc("~1* I don't wanna be a JUSTICE~2if I gotta punish Blue!/%", (global.lang == "ja") ? "\\m4\t\t\t" : "\\m4\t\t", (global.lang == "ja") ? "&\t\t\t\t" : "&\t\t", "obj_ch5_DWCL03_slash_Step_0_gml_831_0"); c_talk_wait(); c_wait(10); c_var("shakeamt", 0); c_var_instance(yellow_actor, "gunhold", -4); c_var_instance(biggun, "visible", true); c_sel_spriteimage(ye, 573, 0, 0); c_var_lerp_to_instance(yellow_actor, "image_index", 4, 6); c_snd_play(snd_gunshot_b); c_wait(6); c_wait(20); c_var_lerp_to_instance(yellow_actor, "image_index", 7, 10); gunflowers = scr_dark_marker(yellow_actor.x + 76, 144, spr_blueflowershoot); gunflowers.depth = yellow_actor.depth - 5; c_var_lerp_to_instance(gunflowers, "image_index", 5, 10); c_wait(10); c_snd_play(snd_sparkle_glock); c_customfunc(function() { var _index = 0; var _count = 4; repeat (_count) { var _xx = yellow_actor.x + 52; var _yy = yellow_actor.y + 38; var _len = random_range(4, 5.5); var _dir = 100 + ((_index / (_count - 1)) * 160); var _x2 = _xx + lengthdir_x(_len, _dir); var _y2 = _yy + lengthdir_y(_len, _dir); var sparkle = instance_create_depth(_x2, _y2, yellow_actor.depth - 10, obj_animation); sparkle.gravity = -0.1; sparkle.speed = _len; sparkle.direction = _dir; sparkle.friction = 0.4; sparkle.image_xscale = 2; sparkle.image_yscale = 2; sparkle.sprite_index = spr_tinysparkle_x; sparkle.image_speed = random_range(0.25, 1/3); sparkle.image_blend = merge_color(c_white, #86A7FF, random_range(0.1, 1)); _index++; } }); c_wait(60); c_var_lerp_to_instance(gunflowers, "y", -156, 60, 2, "out"); c_var_lerp_to_instance(biggun, "y", -100, 60, 2, "out"); c_wait(80); c_sel_spriteimage(bl, 984, 0); c_autowalk(true); c_autofacing(false); c_walk("l", 2, 20); c_wait(20); c_speaker("blue"); c_msgsetsubloc(0, "~1* Oh Yellow^1, dearest^1. Slip not ~2into such fragrant ~2melancholy./", (global.lang == "ja") ? "\\m5\t\t\t" : "\\m5\t\t", (global.lang == "ja") ? "&\t\t\t\t" : "&\t\t", "obj_ch5_DWCL03_slash_Step_0_gml_881_0"); c_msgnextsubloc("~1* And count the petals of your ~2mind's eye./", (global.lang == "ja") ? "\\m5\t\t\t" : "\\m5\t\t", (global.lang == "ja") ? "&\t\t\t\t" : "&\t\t", "obj_ch5_DWCL03_slash_Step_0_gml_882_0"); c_msgnextsubloc("~1* Why would I endeavor to make ~2such folly?/%", (global.lang == "ja") ? "\\m5\t\t\t" : "\\m5\t\t", (global.lang == "ja") ? "&\t\t\t\t" : "&\t\t", "obj_ch5_DWCL03_slash_Step_0_gml_883_0"); c_talk_wait(); c_sel_sprite(ye, 505); c_speaker("yellow"); c_msgsetsubloc(0, "~1* Hmm..^1. I'unno^1. Can I get a~2hint?/%", (global.lang == "ja") ? "\\m4\t\t\t" : "\\m4\t\t", (global.lang == "ja") ? "&\t\t\t\t" : "&\t\t", "obj_ch5_DWCL03_slash_Step_0_gml_903_0"); c_talk_wait(); c_sel(bl); c_autowalk(true); c_autofacing(false); c_sprite(spr_blue_walk_l); c_sel_walkdirect(bl, post_blue_pos1.x - 60, post_blue_pos1.y, 30); c_wait(30); c_sprite(spr_blue_present_flowers); c_imageindex(0); c_imagespeed(0); c_autowalk(false); c_var_lerp_instance(blue_actor, "image_index", 0, 2, 15); c_wait(15); c_snd_play(snd_harp_strum); repeat (2) { c_customfunc(function() { var _index = 0; var _count = 7; repeat (_count) { var _xx = blue_actor.x - 15; var _yy = blue_actor.y + 36; var _dir = 70 + ((_index / (_count - 1)) * 160); var _len = random_range(3, 4.5) + ((_dir / 100) * 0.5); var _x2 = _xx + lengthdir_x(_len, _dir); var _y2 = _yy + lengthdir_y(_len, _dir); var sparkle = instance_create_depth(_x2, _y2, yellow_actor.depth - 10, obj_animation); sparkle.gravity = -0.1; sparkle.speed = _len; sparkle.direction = _dir; sparkle.friction = 0.3; sparkle.image_xscale = 2; sparkle.image_yscale = 2; sparkle.sprite_index = spr_tinysparkle_x; sparkle.image_speed = random_range(0.25, 1/3); sparkle.image_blend = choose(merge_color(c_white, #86A7FF, random_range(0.1, 1)), merge_color(c_white, #FFF8A1, random_range(0.1, 1))); _index++; } }); c_wait(4); } c_var_instance(id, "hat_con", 1); c_sel_sprite(ye, 7282); c_shakeobj(); c_wait(30); c_speaker("blue"); c_msgsetsubloc(0, "~1* Let this bouquet's fragrance ~2speak for itself./%", (global.lang == "ja") ? "\\m5\t\t\t" : "\\m5\t\t", (global.lang == "ja") ? "&\t\t\t\t" : "&\t\t", "obj_ch5_DWCL03_slash_Step_0_gml_956_0"); c_talk_wait(); c_var_instance(id, "hat_con", 1); c_sel_sprite(ye, 7282); c_shakeobj(); c_speaker("yellow"); c_msgsetsubloc(0, "~1* What the!!/%", (global.lang == "ja") ? "\\m4\t\t\t" : "\\m4\t\t", (global.lang == "ja") ? "&\t\t\t\t" : "&\t\t", "obj_ch5_DWCL03_slash_Step_0_gml_965_0"); c_talk_wait(); c_var_instance(id, "hat_con", -1); c_sel_sprite(ye, 6446); c_setxy(post_yellow_pos1.x - 120, post_yellow_pos1.y + 30); c_shakeobj(); c_speaker("yellow"); c_msgsetsubloc(0, "~1* Who the!!!/%", (global.lang == "ja") ? "\\m4\t\t\t" : "\\m4\t\t", (global.lang == "ja") ? "&\t\t\t\t" : "&\t\t", "obj_ch5_DWCL03_slash_Step_0_gml_975_0"); c_talk_wait(); c_sel_sprite(ye, 7246); c_setxy(post_yellow_pos1.x - 30, post_yellow_pos1.y - 40); c_shakeobj(); hat2 = scr_dark_marker_fancy(post_yellow_pos1.x - 30, (post_yellow_pos1.y - 40) + 120, spr_yellow_hat); hat2.visible = false; hat2.reflect_jump_y = 60; hat2_reflect = instance_create(post_yellow_pos1.x - 30, post_yellow_pos1.bbox_bottom + 40, obj_reflection); with (hat2_reflect) { scr_spritematch(other.hat2); image_alpha = 0; } hat2_fall = function() { if (instance_exists(yellow_actor)) { depth = yellow_actor.depth - 10; if (bbox_bottom >= post_yellow_pos1.bbox_bottom && x > (xstart - 5) && x < (xstart + 5)) { x = xstart; vspeed = 0; gravity = 0; } else { timer++; x = xstart + (sin((timer / 25) * pi * 2) * 15); gravity = 0.05; } hat2_reflect.x = x; hat2_reflect.y = post_yellow_pos1.bbox_bottom + 28; hat2_reflect.depth = depth; hat2_reflect._image_yscale = image_yscale; hat2_reflect.fake_height = (post_yellow_pos1.bbox_bottom - (y - 24)) * 0.2; hat2_reflect.image_alpha = visible; } else { instance_destroy(); } }; c_var_instance(hat2, "visible", true); c_var_instance(hat2, "timer", 0); c_var_instance(hat2, "image_yscale", -2); c_var_instance(hat2, "post_yellow_pos1", post_yellow_pos1); c_var_instance(hat2, "yellow_actor", yellow_actor); c_var_instance(hat2, "hat2_reflect", hat2_reflect); c_set_func(hat2, "step_func", hat2_fall); c_speaker("yellow"); c_msgsetsubloc(0, "~1* Ya made a special SUPRISED ~2gift out o' our petals!?/%", (global.lang == "ja") ? "\\m4\t\t\t" : "\\m4\t\t", (global.lang == "ja") ? "&\t\t\t\t" : "&\t\t", "obj_ch5_DWCL03_slash_Step_0_gml_1015_0"); c_talk_wait(); c_var_instance(hat2, "visible", false); c_setxy(post_yellow_pos1.x - 30, post_yellow_pos1.y); c_sel(ye); c_sprite(spr_yellow_kneeltake); c_var_lerp_to_instance(yellow_actor, "x", post_blue_pos1.x - 136, 30, 3, "out"); c_sprite(spr_yellow_kneeltake); c_wait(30); c_speaker("yellow"); c_msgsetsubloc(0, "~1* Blue!!^1! It's wonderful!!^1! ~2It's beautyful!!!/%", (global.lang == "ja") ? "\\m4\t\t\t" : "\\m4\t\t", (global.lang == "ja") ? "&\t\t\t\t" : "&\t\t", "obj_ch5_DWCL03_slash_Step_0_gml_1035_0"); c_talk_wait(); c_speaker("yellow"); c_msgsetsubloc(0, "~1* I been a criminell to ever ~2doubt ya!!!/%", (global.lang == "ja") ? "\\m4\t\t\t" : "\\m4\t\t", (global.lang == "ja") ? "&\t\t\t\t" : "&\t\t", "obj_ch5_DWCL03_slash_Step_0_gml_1042_0"); c_talk_wait(); c_wait(10); c_snd_play(snd_noise); c_sel_spriteimage(bl, 5810, 0); c_sel_spriteimage(ye, 525, 0); c_wait(20); c_var_lerp_to_instance(yellow_actor, "image_index", 2, 16); c_wait(6); c_snd_play(snd_bump); c_wait(30); c_sel_spriteimage(bl, 5309, 0, 0.25); c_addxy(20, 0); c_wait(30); c_wait_if(blue_actor, "image_index", "<", 0.4); c_imagespeed(0); c_imageindex(0); c_speaker("blue"); c_msgsetsubloc(0, "~1* Misunderstanding is bitter^1. ~2But realization^1, is sweet.../%", (global.lang == "ja") ? "\\m5\t\t\t" : "\\m5\t\t", (global.lang == "ja") ? "&\t\t\t\t" : "&\t\t", "obj_ch5_DWCL03_slash_Step_0_gml_1084_0"); c_talk_wait(); c_sel_sprite(ye, 1186); c_pan_fancy(post_cam_pos1.x, post_cam_pos1.y, 30); c_wait(30); c_speaker("yellow"); c_msgsetsubloc(0, "~1* Y'know^1, you three's a right ~2and kind sort!/", (global.lang == "ja") ? "\\m4\t\t\t" : "\\m4\t\t", (global.lang == "ja") ? "&\t\t\t\t" : "&\t\t", "obj_ch5_DWCL03_slash_Step_0_gml_1093_0"); c_msgnextsubloc("~1* Let's forget all this ~2fightin' nonsense!/", (global.lang == "ja") ? "\\m4\t\t\t" : "\\m4\t\t", (global.lang == "ja") ? "&\t\t\t\t" : "&\t\t", "obj_ch5_DWCL03_slash_Step_0_gml_1094_0"); c_msgnextsubloc("~1* I gotta find a new vase for ~2my noggin!/%", (global.lang == "ja") ? "\\m4\t\t\t" : "\\m4\t\t", (global.lang == "ja") ? "&\t\t\t\t" : "&\t\t", "obj_ch5_DWCL03_slash_Step_0_gml_1095_0"); c_talk_wait(); c_sel_sprite(ye, 7499); c_autowalk(true); c_autofacing(false); c_sel_walkdirect(ye, post_blue_pos1.x + 100, post_yellow_pos1.y, 60); c_sel_sprite(bl, 984); c_sel_walkdirect(bl, post_blue_pos1.x - 69 - 5, post_blue_pos1.y - 30, 20); c_autowalk(true); c_autofacing(false); c_wait(21); c_sel_sprite(bl, 6073); c_addxy(5, 0); c_autowalk(false); c_autodepth(true); c_sel_sprite(su, 2994); c_sel_sprite(ra, 6002); c_wait(40); c_sel(ye); c_visible(false); c_wait(20); c_pan(post_cam_pos2.x, post_cam_pos2.y, 30); c_wait(30); c_sel(kr); c_setxy(post_kr_pos2.x - 400, post_kr_pos2.y); c_sprite(spr_kris_stealth); c_autofacing(false); c_sel(su); c_setxy(post_su_pos2.x - 400, post_su_pos2.y); c_sprite(spr_susied_dark_stealth); c_autofacing(false); c_sel(ra); c_setxy(post_ra_pos2.x - 400, post_ra_pos2.y); c_sprite(spr_ralsei_stealth_right); c_autofacing(false); c_wait(1); var _pos1 = 240; var _pos2 = 120; var _pos3 = 0; var _tim1 = 60; var _tim2 = 40; var _tim3 = 40; c_var_instance(id, "sneaksound", _tim1); c_sel_walkdirect(kr, post_kr_pos2.x - _pos1, post_kr_pos2.y, _tim1); c_sel_walkdirect(su, post_su_pos2.x - _pos1, post_su_pos2.y, _tim1); c_sel_walkdirect(ra, post_ra_pos2.x - _pos1, post_ra_pos2.y, _tim1); c_sel_spriteimage(bl, 2138, 0); c_speaker("blue"); c_msgsetsubloc(0, "~1* Oh^1, a man of \"law\" whose ~2judgment wavers like chaos./%", (global.lang == "ja") ? "\\m5\t\t\t" : "\\m5\t\t", (global.lang == "ja") ? "&\t\t\t\t" : "&\t\t", "obj_ch5_DWCL03_slash_Step_0_gml_1147_0"); c_talk_wait(); c_wait_if(kr_actor, "x", ">=", post_kr_pos2.x - _pos1); c_var_instance(id, "sneaksound", _tim2); c_sel_walkdirect(kr, post_kr_pos2.x - _pos2, post_kr_pos2.y, _tim2); c_sel_walkdirect(su, post_su_pos2.x - _pos2, post_su_pos2.y, _tim2); c_sel_walkdirect(ra, post_ra_pos2.x - _pos2, post_ra_pos2.y, _tim2); c_sel_spriteimage(bl, 2138, 2); c_speaker("blue"); c_msgsetsubloc(0, "~1* From those contradictions^1, ~2bear passion^1. Isn't that..^1. ~2\"beautyful?\"/%", (global.lang == "ja") ? "\\m5\t\t\t" : "\\m5\t\t", (global.lang == "ja") ? "&\t\t\t\t" : "&\t\t", "obj_ch5_DWCL03_slash_Step_0_gml_1159_0"); c_talk_wait(); c_wait_if(kr_actor, "x", ">=", post_kr_pos2.x - _pos2); c_var_instance(id, "sneaksound", _tim3); c_sel_walkdirect(kr, post_kr_pos2.x, post_kr_pos2.y, _tim3); c_sel_walkdirect(su, post_su_pos2.x, post_su_pos2.y, _tim3); c_sel_walkdirect(ra, post_ra_pos2.x, post_ra_pos2.y, _tim3); c_wait(_tim3); c_sel(kr); c_shakeobj(); c_sprite(spr_kris_stealth_look); c_sel(su); c_shakeobj(); c_sprite(spr_susied_dark_stealth_spotted); c_sel(ra); c_shakeobj(); c_sprite(spr_ralsei_d_stealth_spotted); c_sel_spriteimage(bl, 2138, 1); c_speaker("blue"); c_msgsetsubloc(0, "~1* By the way^1, you three.../%", (global.lang == "ja") ? "\\m5\t\t\t" : "\\m5\t\t", (global.lang == "ja") ? "&\t\t\t\t" : "&\t\t", "obj_ch5_DWCL03_slash_Step_0_gml_1176_0"); c_talk_wait(); c_wait(30); c_speaker("susie"); c_msgsetloc(0, "\\EG* Yeah?/", "obj_ch5_DWCL03_slash_Step_0_gml_1181_0"); c_facenext("blue", 0); c_msgnextsubloc("~1* No more tricking Yellow^1. Got ~2it?/", (global.lang == "ja") ? "\\m5\t\t\t" : "\\m5\t\t", (global.lang == "ja") ? "&\t\t\t\t" : "&\t\t", "obj_ch5_DWCL03_slash_Step_0_gml_1183_0"); c_facenext("susie", "E"); c_msgnextloc("\\EE* Uh^1, yeah^1. Definitely./", "obj_ch5_DWCL03_slash_Step_0_gml_1185_0"); c_facenext("blue", 0); c_msgnextsubloc("~1* Wonderful./", (global.lang == "ja") ? "\\m5\t\t\t" : "\\m5\t\t", (global.lang == "ja") ? "&\t\t\t\t" : "&\t\t", "obj_ch5_DWCL03_slash_Step_0_gml_1187_0"); c_msgsprite(bl, 2138, 2, 0); c_msgnextsubloc("~1* Then go forth..^1. with love in~2your steps!/%", (global.lang == "ja") ? "\\m5\t\t\t" : "\\m5\t\t", (global.lang == "ja") ? "&\t\t\t\t" : "&\t\t", "obj_ch5_DWCL03_slash_Step_0_gml_1189_0"); c_sel(kr); c_msgcmd("facing", "u"); c_msgcmd("autofacing", true); c_sel(ra); c_msgcmd("facing", "u"); c_msgcmd("autofacing", true); c_sel(su); c_msgcmd("facing", "u"); c_msgcmd("autofacing", true); c_msgsprite(bl, 6073, 1, 0); c_talk_wait(); c_sel_spriteimage(bl, 1969, 4, 0.4); c_addxy(-14, 0); c_autodepth(false); c_wait(5); c_customfunc(function() { with (blue_actor) scr_afterimager(40, 5, undefined, 16754566); }); c_var_lerp_to_instance(blue_actor, "y", -140, 40, 2, "in"); c_wait(70); c_speaker("susie"); c_msgsetloc(0, "\\El* ..^1. well^1, uh^1, all's well that ends well^1, right?/%", "obj_ch5_DWCL03_slash_Step_0_gml_1210_0"); c_talk_wait(); c_sel_facing(kr, "d"); c_actortokris(); c_actortocaterpillar(); c_pannable(false); c_terminatekillactors(); } if (con == 6 && !i_ex(obj_cutscene_master)) { global.flag[1454] = 70; global.interact = 0; con = 7; show_debug_message_concat("cutscene script complete!"); global.flag[1812] = 1; global.flag[1814] = 1; scr_keyitemremove(20); scr_keyitemremove(21); scr_keyitemremove(22); scr_keyitemremove(23); scr_keyitemremove(26); scr_keyitemremove(27); scr_keyitemremove(28); } if (con < 7) { if (sneak_con > 0) { if (sneaking) sneak_time++; if (!sneaking && sneak_time < sneak_con) { sneaking = true; var _speed = 4; kris.speed = _speed; kris.direction = 0; susie.speed = _speed; susie.direction = 0; ralsei.speed = _speed; ralsei.direction = 0; ralsei.sprite_index = spr_ralsei_d_stealth_look; sneak_time++; } else if (sneaking && sneak_time >= sneak_con) { sneaking = false; kris.speed = 0; susie.speed = 0; ralsei.speed = 0; ralsei.sprite_index = spr_ralsei_d_stealth_move; if (sneak_time >= 52) { sneak_time = 0; sneak_con = 0; c_waitcustom_end(); } } } if (pitch_shift > 0) { var _length = 90; var _pitch = lerp(1, 0, pitch_shift / _length); _pitch += (sin(scr_ease_out(pitch_shift / _length, 2) * 40) * 0.1); _pitch = max(0, _pitch); if (pitch_shift >= _length) _pitch = 0; snd_pitch(global.currentsong[1], _pitch); if (pitch_shift >= _length) pitch_shift = 0; else pitch_shift++; } if (hat_con > 0) { if (hat_con == 1) { hat.y = yellow_actor.y + 4; hat.x = yellow_actor.x; hat_con = 2; limiter = -4; with (hat) { visible = true; other.limiter = scr_limitval_upper(undefined, "y", y); gravity = 0.7; vspeed = -6; } } if (hat_con == 2) { hat.x = yellow_actor.x; limiter.vallimit2 = yellow_actor.y + 4; } } if (hat_con < 0) { hat.visible = false; hat.vspeed = 0; hat.gravity = 0; hat_con = 0; } }