var _cx = camerax(); var _cy = cameray(); if (con < 0) exit; if (con == 0) { con = 1; alarm[0] = 1; global.interact = 1; global.facing = 0; } if (con == 2) { con = 3; cutscene_master = scr_cutscene_make(); scr_maincharacters_actors(); scr_losechar(); with (obj_caterpillarchara) scr_doom(id, 300); c_pannable(1); c_pan(campos.x, 0, 30); c_wait(31); c_sel(kr); c_facing("u"); c_speaker("susie"); c_msgside("bottom"); c_msgsetloc(0, "\\E6* Huh^1? The hell are we supposed to press four switches!?/%", "obj_ch5_DW05_slash_Step_0_gml_89_0"); c_talk_wait(); kr_pos = findspriteinfo(spr_debug_krmarker); c_sel(ra); c_facing("u"); c_speaker("ralsei"); c_msgsetloc(0, "\\E3* Four switches^1? But^1, th-that's not supposed to.../", "obj_ch5_DW05_slash_Step_0_gml_105_0"); c_facenext("susie", "0"); c_msgnextloc("\\E0* Yeah^1, that's not possible.../%", "obj_ch5_DW05_slash_Step_0_gml_107_0"); c_talk(); c_wait_box(2); c_sel(su); c_facing("u"); c_wait_talk(); c_wait_if(408, "failtimer", "<=", 0); c_wait(15); c_sel(su); c_sprite(spr_susie_walk_back_arm); c_speaker("susie"); c_msgsetloc(0, "\\EA* Unless^1, we had^1, like.../", "obj_ch5_DW05_slash_Step_0_gml_121_0"); c_msgnextloc("\\E2* ..^1. a fourth person?/", "obj_ch5_DW05_slash_Step_0_gml_122_0"); c_facenext("ralsei", "D"); c_msgnextloc("\\ED* No^1, we can..^1. we'll do it with three!/%", "obj_ch5_DW05_slash_Step_0_gml_124_0"); c_talk(); c_wait_box(3); c_sel(ra); c_sprite(spr_ralseil_hat_mad); c_wait_talk(); c_wait(20); c_sel(su); c_facing("r"); c_speaker("susie"); c_msgsetloc(0, "\\E0* ..^1. uhh^1, alright./%", "obj_ch5_DW05_slash_Step_0_gml_136_0"); c_talk_wait(); su_pos = findspriteinfo(spr_debug_sumarker, undefined, c_white); c_sel(su); var _walktime = ceil(point_distance(su_actor.x, su_actor.y, su_pos.x, su_pos.y - 2) / 4); c_walkdirect(su_pos.x, su_pos.y - 2, _walktime); c_wait_if(su_actor, "x", ">=", ra_actor.bbox_right); c_sel(ra); c_facing("r"); if (kr_actor.bbox_right < su_pos.x) { c_wait_if(su_actor, "x", ">=", kr_actor.bbox_right); c_sel(kr); c_facing("r"); } c_wait_if(su_actor, "x", ">=", su_pos.x - 80); if (point_in_rectangle(kr_actor.x, kr_actor.y, 1755, 117, 1845, 1845)) { c_sel(kr); if (kr_actor.y >= 160) { c_autofacing(false); c_facing("u"); c_walkdirect(kr_actor.x, 210, 15); } else { c_autofacing(false); c_facing("d"); c_walkdirect(kr_actor.x, 115, 15); } } c_wait_if(su_actor, "x", ">=", su_pos.x); c_wait(20); c_sel(su); c_facing("l"); c_speaker("susie"); c_msgsetloc(0, "\\E7* Guess I'll check^1? For another person^1? Just in case?/%", "obj_ch5_DW05_slash_Step_0_gml_158_0"); c_talk_wait(); c_sel(su); var _delay = 5; var _littlewalktime = 8; var _currentdelay = _delay + _littlewalktime; c_walk("r", 3, _littlewalktime); repeat (5) { c_delaycmd4(_currentdelay, "walk", "r", "2", _littlewalktime); _currentdelay += (_delay + _littlewalktime); } c_delaycmd4(_currentdelay, "walk", "r", "4", 99); c_wait(10); c_sel(ra); c_walkdirect(su_pos.x, su_pos.y, 35); c_speaker("ralsei"); c_msgsetloc(0, "\\EF* S..^1. Susie^1, w-wait!/%", "obj_ch5_DW05_slash_Step_0_gml_180_0"); c_talk_wait(); c_wait_if(ra_actor, "x", ">=", su_pos.x); c_wait(15); c_sprite(spr_ralseir_dejected); c_wait(15); c_customfunc(function() { npc_marker = scr_dark_marker(ra_actor.x, ra_actor.y, ra_actor.sprite_index); npc_marker.image_index = ra_actor.image_index; with (npc_marker) scr_depth(); x = ra_actor.x; y = ra_actor.bbox_bottom - 40; npc_solid = instance_create(ra_actor.x, ra_actor.bbox_bottom - 40, obj_solidblockDark); with (obj_camera_clamper) { if (image_blend == c_lime) instance_destroy(); } }); c_panobj(kr_actor, 30); c_sel(kr); c_facing("d"); c_wait(31); c_pannable(0); c_actortokris(); c_actortocaterpillar(); c_terminatekillactors(); } if (con == 3 && !i_ex(obj_cutscene_master)) { scr_flag_set(7, 0); global.interact = 0; global.facing = 0; con = 4; timer = 0; } if (con == 4) { var _activatedpuzzle = false; with (obj_glowtile_puzzle_new) { if (state == 0.5) _activatedpuzzle = true; } if (_activatedpuzzle) { timer++; if (timer > 15) { timer = 0; con = 4.5; npc_marker.sprite_index = spr_ralseil; with (npc_marker) scr_emote("!", 15); } } } if (con == 4.5) { var _startedpuzzle = false; with (obj_glowtile_puzzle_new) { if (state == 1) _startedpuzzle = true; } if (_startedpuzzle) { npc_solid.y -= 1000; ralsei_move = instance_create(0, 0, obj_move_to_point); npc_marker.image_speed = 0.45; npc_marker.stepper = true; ralsei_move.target = npc_marker; ralsei_move.movex = 1474; ralsei_move.movey = 192; ralsei_move.movemax = 20; con = 4.6; } } if (con == 4.6) { if (!i_ex(obj_move_to_point)) { snd_play(snd_splat); npc_marker.sprite_index = spr_ralsei_splat_dark_left; con = 4.7; } } if (con == 4.7) { var _splatralsei = npc_marker; with (obj_glowtile_new) { if (in_phase && currentphase > 0) { var attracting = attractlist[clamp(currentphase - 1, 0, array_length(attractlist) - 1)]; if (attracting == "ralsei") { var _dir = point_direction(_splatralsei.x, _splatralsei.y, x - 46, y - 48); var _dist = point_distance(_splatralsei.x, _splatralsei.y, x - 46, y - 48); if (_dist > 1) { _splatralsei.x += lengthdir_x(0.5, _dir); _splatralsei.y += lengthdir_y(0.5, _dir); } else { _splatralsei.x = x - 46; _splatralsei.y = y - 48; _splatralsei.image_xscale = 2; _splatralsei.image_yscale = 2; } } } } var _failedpuzzle = false; with (obj_glowtile_puzzle_new) { if (state == 0) _failedpuzzle = true; } if (_failedpuzzle) { global.interact = 1; con = 4.8; ralsei_move = instance_create(0, 0, obj_move_to_point); npc_marker.image_speed = 0.45; npc_marker.stepper = true; npc_marker.sprite_index = spr_ralseir; ralsei_move.target = npc_marker; ralsei_move.movex = su_pos.x; ralsei_move.movey = su_pos.y; ralsei_move.movemax = 40; with (npc_solid) { y += 1000; if (place_meeting(x, y, obj_mainchara)) { kris_move_idiot = instance_create(0, 0, obj_move_to_point); kris_move_idiot.target = 1198; kris_move_idiot.movex = obj_mainchara.x; kris_move_idiot.movey = bbox_bottom - 35; kris_move_idiot.movemax = 20; obj_mainchara.fun = 1; obj_mainchara.image_speed = 0.25; obj_mainchara.sprite_index = spr_krisd_dark; } } alarm[1] = 20; } } if (con == 4.8) { with (obj_glowtile_puzzle_new) alarm[0] = -1; if (!i_ex(obj_move_to_point)) { npc_marker.image_index = 0; npc_marker.image_speed = 0; global.interact = 0; obj_mainchara.cutscene = 0; scr_flag_set(7, 0); con = 4; } } if (con == 5) { global.interact = 1; con = 6; cutscene_master = scr_cutscene_make(); scr_maincharacters_actors(); ra = actor_count + 1; ra_actor = instance_create(npc_marker.x, npc_marker.y, obj_actor); scr_actor_setup(ra, ra_actor, "ralsei"); ra_actor.sprite_index = npc_marker.sprite_index; ra_actor.depth = npc_marker.depth; ra_actor.auto_depth = true; ra_actor.visible = true; npc_marker.visible = false; c_sel(kr); var _walktime = max(ceil(point_distance(ra_actor.x - 38, ra_actor.y + 12, kr_actor.x, kr_actor.y) / 4), 1); c_walkdirect(ra_actor.x - 38, ra_actor.y + 12, _walktime); c_wait(_walktime + 1); c_facing("r"); c_wait(10); c_sel(ra); c_facing("l"); c_wait(5); c_speaker("ralsei"); c_msgsetloc(0, "\\EA* Kris^1, we..^1. we have to follow her!/%", "obj_ch5_DW05_slash_Step_0_gml_373_0"); c_talk_wait(); c_wait(3); c_facing("r"); c_wait(10); c_speaker("ralsei"); c_msgsetloc(0, "\\E1* But^1, u-um.../", "obj_ch5_DW05_slash_Step_0_gml_382_0"); c_msgnextloc("\\EI* Here!/%", "obj_ch5_DW05_slash_Step_0_gml_383_0"); c_talk(); c_wait_box(1); c_sel(ra); c_facing("l"); c_walk("l", 4, 2); c_wait(2); c_wait_talk(); c_sel(ra); c_sprite(spr_ralsei_kris_walktogether); c_sel(kr); c_visible(false); c_wait(15); c_sel(ra); c_autofacing(false); c_walk("r", 2, 80); c_sel(kr); c_walk("r", 2, 80); c_wait(80); c_wait(15); c_sel(kr); c_visible(true); c_sel(ra); c_facing("r"); c_wait(10); c_speaker("ralsei"); c_msgsetloc(0, "\\E8* Alright^1, let's mosey!/%", "obj_ch5_DW05_slash_Step_0_gml_415_0"); c_talk_wait(); c_walk("r", 6, 45); c_wait(30); c_actortokris(); c_actortocaterpillar(); c_terminatekillactors(); } if (con == 6 && !i_ex(obj_cutscene_master)) { global.interact = 0; global.facing = 0; global.plot = plotvalueC; con = 4; } if (con == 7) { scr_losechar(); global.interact = 1; con = 8; cutscene_master = scr_cutscene_make(); scr_maincharacters_actors(); scr_getchar("susie"); scr_getchar("ralsei"); var krisbush = -4; var ralbush = -4; var subush = -4; su = ++actor_count; su_actor = instance_create(su_markerb.x, su_markerb.y, obj_actor); scr_actor_setup(su, su_actor, "susie"); su_actor.sprite_index = su_markerb.sprite_index; su_actor.auto_depth = true; su_actor.visible = true; su_markerb.visible = false; fl = ++actor_count; flowery_actor = instance_create(fl_markerb.x, fl_markerb.y, obj_actor); scr_actor_setup(fl, flowery_actor, "flowery_jacket"); flowery_actor.sprite_index = fl_markerb.sprite_index; flowery_actor.auto_depth = true; flowery_actor.visible = true; fl_markerb.visible = false; pos_asgore = scr_charmarker(undefined, "asgorepos"); asg = ++actor_count; as_actor = instance_create(pos_asgore.x, pos_asgore.y, obj_actor); scr_actor_setup(asg, as_actor, "asgoredw"); as_actor.sprite_index = spr_asgore_walk_right_dw; as_actor.auto_depth = true; as_actor.visible = false; var bushlayer = layer_get_id("ASSETS_BUSHES"); var bushlayer_items = layer_get_all_elements(bushlayer); for (var i = 0; i < array_length(bushlayer_items); i++) { var sprite = layer_sprite_get_sprite(bushlayer_items[i]); if (sprite == spr_kris_bush) krisbush = bushlayer_items[i]; if (sprite == spr_ralsei_bush) ralbush = bushlayer_items[i]; if (sprite == spr_susie_bush) subush = bushlayer_items[i]; } c_sel(kr); c_walk("l", 3, 30); c_sel(ra); c_walk("l", 3, 30); c_pannable(1); c_pan(campos.x, campos.y, 30); c_wait(31); c_speaker("susie"); c_msgsetloc(0, "\\EA* Alright^1, with all four of us.../%", "obj_ch5_DW05_slash_Step_0_gml_501_0"); c_talk_wait(); c_sel(su); c_sprite(spr_susie_pose); c_speaker("susie"); c_msgsetloc(0, "\\EL* This puzzle should be no problem^1, right?/", "obj_ch5_DW05_slash_Step_0_gml_508_0"); c_facenext("flowery", "0"); c_msgnextloc("\\E0\\Vl* Yep^1, just leaf it to me!/%", "obj_ch5_DW05_slash_Step_0_gml_510_0"); c_talk(); c_wait_box(2); c_sprite(spr_susie_walk_right_dw); c_wait_talk(); c_sel(fl); c_autodepth(false); c_var_lerp_instance(flowery_actor, "y", flowery_actor.y, -150, 15); c_wait(20); c_var("x", 1556); c_sprite(spr_flowery_switch_legs); c_var_lerp_instance(flowery_actor, "y", -150, 142, 30, 2, "out"); c_wait(30); kr_pos = findspriteinfo(spr_debug_krmarker); c_sel(su); c_walkdirect(su_pos3.x, su_pos3.y, 30); c_sel(kr); c_walkdirect(kr_pos.x, kr_pos.y, 30); c_wait(31); c_autodepth(true); c_sel(su); c_sprite(spr_susie_pose); c_wait(14); c_sel(ra); c_sprite(spr_ralseil_hat_mad); c_speaker("ralsei"); c_msgsetloc(0, "\\EH* Erm..^1. where should I stand?/", "obj_ch5_DW05_slash_Step_0_gml_544_0"); c_facenext("flowery", "C"); c_msgnextloc("\\EC\\VS* Aside^1, bud./%", "obj_ch5_DW05_slash_Step_0_gml_546_0"); c_talk_wait(); c_customfunc(function() { snd_volume(wind_sound, 1, 15); }); c_var_lerp_instance(wind_effect, "image_alpha", 0, 1, 15); c_var_lerp_instance(wind_effect, "spd_multiplier", 0.5, 4.5, 15); c_wait(5); c_sel(ra); c_autowalk(0); c_sprite(spr_ralsei_shock_overworld_left); c_walk("l", 15, 45); c_sel(su); c_autowalk(0); c_sprite(spr_susie_sheeh); c_walk("l", 15, 45); c_sel(kr); c_autowalk(0); c_walk("l", 15, 45); c_wait(20); c_var_lerp_instance(wind_effect, "image_alpha", 1, 0, 15); c_var_lerp_instance(wind_effect, "spd_multiplier", 4.5, 2, 15); c_customfunc(function() { snd_volume(wind_sound, 0, 15); }); c_wait(30); c_sel(fl); c_sprite(spr_flowery_walk_right_jacket_hand_up); c_addxy(-4, 0); c_speaker("flowery"); c_msgsetloc(0, "\\E0\\Vx* Watch this^1. It's good for you./%", "obj_ch5_DW05_slash_Step_0_gml_590_0"); c_talk_wait(); c_customfunc(function() { mus_fade(global.currentsong[1], 30); }); c_wait(15); c_customfunc(function() { layer_set_visible(layer_get_id("ASSETS_BUSHES"), true); }); c_sel(ra); c_setxy(layer_sprite_get_x(ralbush) + 8, layer_sprite_get_y(ralbush) + 4); c_facing("r"); c_sel(su); c_setxy(layer_sprite_get_x(subush) + 4, layer_sprite_get_y(subush)); c_facing("r"); c_sel(kr); c_setxy(layer_sprite_get_x(krisbush) + 4, layer_sprite_get_y(krisbush) + 4); c_facing("r"); skateboard_marker = scr_dark_marker_fancy(room_width + 100, 250, spr_skateboard); c_customfunc(function() { skateboard_marker.y = flowery_actor.bbox_bottom - 20; scr_lerp_instance_var(skateboard_marker, "x", skateboard_marker.x, flowery_actor.x, 20); }); c_sound_play(snd_drive); c_wait(17); c_var_instance(white_flash, "visible", true); c_lerp_var_instance(white_flash, "image_alpha", 0, 1, 3); c_wait(3); c_var_instance(skateboard_marker, "visible", false); c_sel(fl); c_sprite(spr_flowery_skateboard); c_autowalk(false); c_autofacing(false); c_sound_play(snd_equip); c_wait(3); c_lerp_var_instance(white_flash, "image_alpha", 1, 0, 25); c_sound_play(snd_badexplosion); c_wait(40); for (var i = 0; i < instance_number(obj_glowtile_new); i++) { var _tile = instance_find(obj_glowtile_new, i); if (_tile.puzzle_id == 0) array_push(glowtiles, _tile); } array_sort(glowtiles, function(arg0, arg1) { var _r1 = arg0.y - arg1.y; var _r2 = arg0.x - arg1.x; if (_r1 != 0) return _r1; return _r2; }); flowerytileorder = [0, 6, 1, 9, 2, 8, 3, 7, 5, 4]; c_wait(5); c_sound_play(snd_noise); c_customfunc(function() { glowtile_active = true; with (obj_glowtile_new) cutscene_mode = 1; with (obj_glowtile_puzzle_new) { cutscene_mode = 1; failtimer = failtimer_max_frames; } }); c_wait(15); c_mus2("initplay", "flowery_skateboard.ogg", 0); c_customfunc(function(arg0) { with (flowery_actor) { scr_rainbow_sparkles(arg0, 3, 8, depth + 50); scr_afterimager(arg0 div 2, 2, true); } }, array_length(flowerytileorder) * 9); var _flip = false; repeat (array_length(flowerytileorder)) { _flip = !_flip; _speed = _flip ? 6 : 12; var _orderindex = array_pop(flowerytileorder); var _tile = glowtiles[_orderindex]; var _xtarget = (_tile.x - (flowery_actor.sprite_width * 0.5)) + 20; c_walkdirect(_xtarget, (_tile.y - flowery_actor.sprite_height) + 20, _speed); c_sound_play(snd_spearappear); c_wait(_speed); } c_sprite(spr_flowery_skateboard_jump); c_walk("l", 6, 24); c_customfunc(function() { with (flowery_actor) { scr_rainbow_sparkles(24, 3, 8, depth + 50); scr_afterimager(12, 2, true); } }); c_snd_play(snd_pirouette); c_autowalk(false); c_var_instance(flowery_actor, "image_index", 0); c_wait(4); c_var_instance(flowery_actor, "image_index", 1); c_wait(4); c_var_instance(flowery_actor, "image_index", 2); c_wait(4); c_var_instance(flowery_actor, "image_index", 3); c_wait(4); c_var_instance(flowery_actor, "image_index", 4); c_wait(4); c_var_instance(flowery_actor, "image_index", 5); c_wait(2); c_sprite(spr_flowery_pose); c_customfunc(function() { with (skateboard_marker) { x = other.flowery_actor.x + (other.flowery_actor.sprite_width * 0.5); y = other.flowery_actor.bbox_bottom; visible = true; xTo = (other.door_sprite.bbox_left + other.door_sprite.bbox_right) * 0.5; yTo = other.door_sprite.bbox_top + 40; dir = point_direction(x, y, xTo, yTo); spd = 26; door_sprite = other.door_sprite; repeat (2) { x += lengthdir_x(spd, dir); y += lengthdir_y(spd, dir); } step_func = function() { if (x == xTo && y == yTo) { snd_play(snd_badexplosion); scr_vfxsprite(4209, x, y, -9999, 1, 0, 0, 0); with (door_sprite) visible = false; instance_destroy(); } image_angle -= 44; if (point_distance(x, y, xTo, yTo) <= spd) { x = xTo; y = yTo; } else { x += lengthdir_x(spd, dir); y += lengthdir_y(spd, dir); } }; } }); c_wait(50); c_customfunc(function() { snd_stop(snd_badexplosion); snd_play(snd_badexplosion); scr_vfxsprite(4209, (obj_glowtile_puzzle_new.bbox_left + obj_glowtile_puzzle_new.bbox_right) * 0.5, obj_glowtile_puzzle_new.bbox_top, -9999, 1, 0, 0, 0); with (obj_glowtile_puzzle_new) visible = false; with (obj_glowtile_new) cutscene_mode = 0; }); c_wait(15); c_wait(15); c_mus2("volume", 0, 15); c_customfunc(function() { global.writersnd[0] = snd_flowery_voiceclip_stingus; }); c_sel(fl); c_sprite(spr_flowery_shrug_downleft); c_speaker("flowery"); c_msgsetloc(0, "\\E2\\Vz* How was that?/%", "obj_ch5_DW05_slash_Step_0_gml_807_0"); c_talk_wait(); c_sel(asg); c_spriteimage(6302, 0, 0); c_autowalk(false); c_autofacing(false); c_visible(true); pos_cam_off = scr_charmarker(undefined, "cut1"); c_pannable(1); c_pan(pos_cam_off.x, pos_cam_off.y, 30); c_wait(31); c_msgstay(6); c_speaker("asgore"); c_msgsetloc(0, "\\E7* It really is..^1. a different color^1, isn't it?/", "obj_ch5_DW05_slash_Step_0_gml_827_0"); c_facenext("flowery", "0"); if (global.lang == "ja") { c_customfunc(function() { global.writersnd[0] = snd_flowery_voiceclip_chou_exciting_ja; }); } c_msgnextloc("\\E0\\Vz* Hey^1, Goregore^1! What'd you think of my zazz?/", "obj_ch5_DW05_slash_Step_0_gml_829_0"); c_facenext("asgore", "B"); c_msgnextloc("\\EB* ..^1. oh!/%", "obj_ch5_DW05_slash_Step_0_gml_831_0"); c_msgsprite(asg, 6302, 1, 0); c_talk_wait(); if (global.lang == "ja") { c_customfunc(function() { global.writersnd[0] = snd_flowery_voiceclip_stingus; }); } c_sel(asg); c_sprite(spr_asgore_clap_dw); c_autowalk(false); c_autofacing(false); c_imagespeed(0.3); c_msgstay(5); c_speaker("asgore"); c_msgsetloc(0, "\\Ec* Just amazing^1, Flowery^1! You certainly are^1, er^1, always were talented!/", "obj_ch5_DW05_slash_Step_0_gml_844_0"); c_facenext("flowery", "0"); c_msgnextloc("\\E0\\VY* Skateboarding with the youth^1. It's a great style^1, right?/%", "obj_ch5_DW05_slash_Step_0_gml_846_0"); c_talk(); c_wait_box(2); c_sel(fl); c_sprite(spr_flowery_shrug_downright_jacket); c_waittalk(); c_sprite(spr_flowery_walk_downleft_jacket); c_msgstay(5); c_speaker("flowery"); c_msgsetloc(0, "\\E2\\VT* Gorey^1. You always wanted to \"ride the board\" too^1, right?/%", "obj_ch5_DW05_slash_Step_0_gml_857_0"); c_talk_wait(); c_msgstay(5); c_speaker("asgore"); c_msgsetloc(0, "\\E3* Err^1, yes!/%", "obj_ch5_DW05_slash_Step_0_gml_863_0"); c_talk_wait(); c_var_lerp_instance(as_actor, "image_speed", 0.3, 0.05, 30); c_wait(30); c_wait_if(as_actor, "image_index", ">=", 1); c_sel(asg); c_imagespeed(0); c_wait(15); c_sprite(spr_asgore_sad); c_msgstay(5); c_speaker("asgore"); c_msgsetloc(0, "\\E2* Along with Azzy^1, but.../%", "obj_ch5_DW05_slash_Step_0_gml_877_0"); c_talk_wait(); c_sel(fl); c_sprite(spr_flowery_pose_point_cooler); c_speaker("flowery"); c_msgsetloc(0, "\\E0\\VL* Woah^1! Here it comes^1! Hold on tight!!/%", "obj_ch5_DW05_slash_Step_0_gml_888_0"); c_talk_wait(); skateboard_marker_asgore = scr_dark_marker(pos_cam_off.x - 100, as_actor.bbox_bottom - sprite_get_height(spr_skateboard), spr_skateboard); var _flowerx = 910; var _asgorex = (as_actor.bbox_left + as_actor.bbox_right) * 0.5; c_lerp_var_instance(skateboard_marker_asgore, "x", skateboard_marker_asgore.xstart, _asgorex, 20); c_sound_play(snd_drive); var _speed = point_distance(skateboard_marker_asgore.xstart, 0, _asgorex, 0) / 20; c_wait(20); c_var_instance(skateboard_marker_asgore, "visible", false); c_sel(asg); c_autofacing(false); c_autowalk(false); c_sprite(spr_asgore_shredding); c_sound_play(snd_item); c_walk("r", _speed, 60); c_wait_if(as_actor, "x", ">", _flowerx); c_sel(fl); c_facing("r"); c_sel(fl); c_facing("r"); c_wait(60); c_customfunc(function() { var bushlayer = layer_get_id("ASSETS_BUSHES"); layer_hspeed(bushlayer, -3); }); c_wait(60); c_sel(fl); c_facing("l"); c_speaker("flowery"); c_msgsetloc(0, "\\E2\\V2* Hey^1, how'd you like the show?/", "obj_ch5_DW05_slash_Step_0_gml_944_0"); c_msgnextloc("\\E3\\VZ* Your dad's loving it up./", "obj_ch5_DW05_slash_Step_0_gml_945_0"); c_msgnextloc("\\E0\\VK* Anyways^1, let's kick it up^1. I think the exit's up.../%", "obj_ch5_DW05_slash_Step_0_gml_946_0"); c_talk_wait(); c_autowalk(true); c_autofacing(true); c_walk("r", 5, 30); c_pan((layer_sprite_get_x(krisbush) - 320) + 23, pos_cam_off.y, 30); c_wait(30); c_wait(15); c_sel(ra); c_sprite(spr_ralseir_slightannoyed); c_speaker("ralsei"); c_msgsetloc(0, "\\EE* ..^1. I could've done that./", "obj_ch5_DW05_slash_Step_0_gml_958_0"); c_facenext("susie", "3"); c_msgnextloc("\\E3* Yeah^1. Uh^1, definitely./%", "obj_ch5_DW05_slash_Step_0_gml_960_0"); c_talk_wait(); c_customfunc(function() { var bushlayer = layer_get_id("ASSETS_BUSHES"); layer_hspeed(bushlayer, -9); }); c_actortokris(); c_pannable(0); c_customfunc(function() { scr_makecaterpillar(su_actor.x, su_actor.y, 2, 0); scr_makecaterpillar(ra_actor.x, ra_actor.y, 3, 1); }); c_terminatekillactors(); } if (con == 8 && !i_ex(obj_cutscene_master)) { with (obj_glowtile_puzzle_new) instance_destroy(); scr_caterpillar_interpolate("all"); with (door_block) instance_destroy(); global.interact = 0; global.facing = 0; global.plot = plotvalueB; snd_free(global.currentsong[1]); global.flag[1306] = 1; mus_play_ext("field_of_hopes_insaneintherain_loop.ogg", true, 0.7, 1, 30); con = 999; } if (glowtile_active) { with (obj_glowtile_new) { if (cutscene_mode == 1 && position_meeting((other.flowery_actor.bbox_left + other.flowery_actor.bbox_right) / 2, other.flowery_actor.bbox_bottom, id)) { cutscene_mode = 2; snd_stop(snd_noise); snd_play(snd_noise); } } }