if (leave_enabled) { var triggered = false; with (obj_trigger) { if (place_meeting(x, y, obj_mainchara)) { if (y >= 200) triggered = true; } } if (triggered && global.interact == 0 && !d_ex()) { leave_con = 0; global.interact = 1; } if (leave_con == 0) { leave_con = 1; scr_delay_var("leave_con", 2, 30); with (instance_create(0, 0, obj_fadeout)) fadespeed = 1/15; } if (leave_con == 2) { leave_con = 3; scr_delay_var("leave_con", 4, 30); snd_play(snd_escaped); } if (leave_con == 4) { leave_con = -1; room_goto(room_town_north); } } if (con < 0) exit; if (con == 0) { con = 1; alarm[0] = 1; global.interact = 1; global.facing = 0; } if (con == 2) { con = 10; cutscene_master = scr_cutscene_make(); scr_maincharacters_actors(); su = actor_count + 1; su_actor = instance_create(-100, -100, obj_actor); scr_actor_setup(su, su_actor, "susie"); su_actor.sprite_index = spr_susie_walk_up_lw; c_mus2("initloop", "wind_highplace.ogg", 0); c_mus2("volume", 0, 0); c_mus2("volume", 0.25, 60); var kr_x = 130; var kr_y = 177; var su_x = 156; var su_y = 171; c_sel(kr); c_setxy(kr_x, kr_y); c_sprite(spr_kris_kneel); c_sel(su); c_setxy(su_x, su_y); c_sprite(spr_susie_kneel); c_var_lerp_instance(kris_marker, "image_alpha", 0, 1, 30); c_var_lerp_instance(susie_marker, "image_alpha", 0, 1, 30); c_var_instance(kris_marker, "depth", blackall.depth - 1); c_var_instance(kris_marker, "x", kr_x); c_var_instance(kris_marker, "y", kr_y); c_var_instance(susie_marker, "depth", blackall.depth - 1); c_var_instance(susie_marker, "x", su_x); c_var_instance(susie_marker, "y", su_y); c_wait(60); c_var_lerp_instance(kris_marker, "image_alpha", 1, 0, 90); c_var_lerp_instance(susie_marker, "image_alpha", 1, 0, 90); c_var_lerp_instance(blackall, "image_alpha", 1, 0, 90); c_wait(120); c_var_instance(kris_marker, "visible", 0); c_var_instance(susie_marker, "visible", 0); c_sel(su); c_sprite(spr_susie_walk_down_lw_unhappy); c_sel(kr); c_facing("d"); c_wait(8); c_sel(su); c_sprite(spr_susie_walk_up_lw); c_emote("!", 30); c_sel(kr); c_facing("u"); c_wait(30); c_sel(su); c_walkdirect(su_x, 145, 8); c_delaycmd(9, "sprite", spr_susie_up_kneel_stand); c_delaycmd(9, "addxy", 0, -5); c_speaker("susie"); c_msgsetloc(0, "\\EJ* F..^1. Flowery!/%", "obj_ch5_LWF01_slash_Step_0_gml_135_0"); c_talk_wait(); c_wait(5); c_sel(su); c_autowalk(0); c_sprite(spr_susie_walk_down_lw_unhappy); c_addxy(0, 5); c_imagespeed(0.2); c_walkdirect(su_x, su_y, 8); c_delaycmd(9, "sprite", spr_susie_surprised_left_lw); c_delaycmd(9, "imagespeed", 0); c_delaycmd(9, "imageindex", 0); c_sel(kr); c_delayfacing(5, "r"); c_speaker("susie"); c_msgsetloc(0, "\\Eh* Kris^1, stay here^1! I'm..^1. gonna find something to help!/%", "obj_ch5_LWF01_slash_Step_0_gml_154_0"); c_talk(); c_wait(9); c_wait_talk(); c_sel(su); c_autowalk(0); c_sprite(spr_susie_run_right_lw); c_imagespeed(0.2); c_walkdirect_wait(265, su_y, 20); c_sprite(spr_susie_run_down_lw); c_walkdirect_wait(265, room_height + 80, 20); c_customfunc(function() { regain_control(); create_shine(); }); c_waitcustom(); } if (con == 10 && customcon == 1) { var triggered = false; with (obj_trigger) { if (place_meeting(x, y, obj_mainchara)) triggered = true; } if (triggered && global.interact == 0 && !d_ex()) { con = 11; global.interact = 1; if (obj_mainchara.y < 80) obj_mainchara.y = 45; else obj_mainchara.y = 191; } } if (con == 11) { con = 12; scr_speaker("no_name"); msgsetloc(0, "* (It's not the right way.)/%", "obj_ch5_LWF01_slash_Step_0_gml_208_0"); var d = d_make(); } if (con == 12 && !d_ex()) { con = 10; prev_con = 10; global.interact = 0; } if (_slow_text_active) { if (i_ex(obj_writer)) { var _rate = _slow_text_rate; with (obj_writer) { skippable = 0; rate = _rate; preventcskip = true; } } } if (con == 20 && customcon == 1 && !d_ex()) { con = 90; customcon = 0; lose_control(); remove_shine(); c_waitcustom_end(); c_sel(kr); c_walkdirect_wait(148, 141, 8); c_facing("u"); c_wait(30); c_sprite(spr_kris_up_kneel_stand); c_wait(15); c_var_instance(id, "_slow_text_active", true); c_speaker("no_name"); c_msgsetloc(0, "* (It's a broken container for a golden flower.)/", "obj_ch5_LWF01_slash_Step_0_gml_259_0"); c_msgnextloc("* (You dug through the soil.)/", "obj_ch5_LWF01_slash_Step_0_gml_260_0"); c_msgnextloc("* (In the soil were two things...)/", "obj_ch5_LWF01_slash_Step_0_gml_261_0"); c_msgnextloc("* (One^1, a packet of seeds^1, from the golden flower.)/", "obj_ch5_LWF01_slash_Step_0_gml_262_0"); c_msgnextloc("* (..^1. they are covered in warning labels.)/", "obj_ch5_LWF01_slash_Step_0_gml_263_0"); c_msgnextloc("* (You took the seeds.)/", "obj_ch5_LWF01_slash_Step_0_gml_264_0"); c_msgnextloc("* (The second thing was a piece of paper.)/", "obj_ch5_LWF01_slash_Step_0_gml_265_0"); c_msgnextloc("* (On the piece of paper was a code...)/", "obj_ch5_LWF01_slash_Step_0_gml_266_0"); c_msgnextloc("* (It says \"SHELTER\".)/%", "obj_ch5_LWF01_slash_Step_0_gml_267_0"); c_talk_wait(); c_wait(30); c_var_instance(id, "_slow_text_rate", 4); c_sel(kr); c_sprite(spr_kris_kneel_paper_rip); c_speaker("no_name"); c_msgsetloc(0, "* (You gripped the paper.)/", "obj_ch5_LWF01_slash_Step_0_gml_279_0"); c_msgnextloc("* (And with both hands^1, began to tear it to%%", "obj_ch5_LWF01_slash_Step_0_gml_280_0"); c_talk(); c_wait_box(1); c_sel(kr); c_autowalk(0); c_var_lerp("image_index", 0, 3, 12); c_wait_talk(); c_var_instance(id, "_slow_text_active", false); c_sel(kr); c_autowalk(1); c_halt(); c_speaker("susie"); c_msgsetloc(0, "\\Eh* Kris!/%", "obj_ch5_LWF01_slash_Step_0_gml_298_0"); c_talk_wait(); c_sel(kr); c_sprite(spr_kris_look_paper); c_sel(su); c_autowalk(1); c_walkdirect_wait(su_actor.x, 171, 30); c_facing("l"); c_speaker("susie"); c_msgsetloc(0, "\\Eg* Hey^1, I got tape^1! Help him out a sec!/%", "obj_ch5_LWF01_slash_Step_0_gml_310_0"); c_talk_wait(); c_sel(su); c_walkdirect_wait(146, 171, 30); c_facing("u"); c_wait(5); c_emote("!", 30); c_wait(30); c_speaker("susie"); c_msgsetloc(0, "\\EZ* Hey^1, is that...!?/%", "obj_ch5_LWF01_slash_Step_0_gml_322_0"); c_talk_wait(); c_sel(su); c_walkdirect_wait(146, 141, 12); c_halt(); c_autowalk(0); c_sprite(spr_susie_paper_grab); c_wait(15); c_snd_play(snd_wing); c_imageindex(1); c_wait(6); c_imageindex(2); c_wait(15); c_sel(kr); c_autowalk(0); c_sprite(spr_krisr); c_imagespeed(0.2); c_walkdirect(123, kr_actor.y, 12); c_delaycmd(13, "imagespeed", 0); c_sel(su); c_autowalk(0); c_sprite(spr_susie_paper_walk_left); c_imageindex(0); c_imagespeed(0.2); c_walkdirect_wait(165, 135, 12); c_halt(); c_speaker("susie"); c_msgsetloc(0, "\\El* It's a bit ripped^1, but I can still read it...!/", "obj_ch5_LWF01_slash_Step_0_gml_356_0"); c_msgnextloc("\\EN* \"0915199X\".../", "obj_ch5_LWF01_slash_Step_0_gml_357_0"); c_msgnextloc("\\E7* Kris^1! We got another code!/%", "obj_ch5_LWF01_slash_Step_0_gml_358_0"); c_talk(); c_wait_box(1); c_sel(su); c_sprite(spr_susie_paper_look_left_neutral); c_wait_box(2); c_sel(su); c_sprite(spr_susie_paper_look_left_up); c_wait_talk(); c_wait(30); c_sel(su); c_sprite(spr_susie_walk_left_lw_lookback); c_speaker("susie"); c_msgsetloc(0, "\\El* ..^1. hey^1, don't just stand there^1, tape him up!/%", "obj_ch5_LWF01_slash_Step_0_gml_378_0"); c_talk_wait(); c_var_lerp_instance(blackall, "image_alpha", 0, 1, 30); c_wait(30); c_var_instance(flower_marker, "visible", 0); c_customfunc(function() { _flower_yellow.sprite_index = spr_flowercontainer_together; _flower_blue.sprite_index = spr_flowercontainer; _flower_blue.x = 145; _flower_blue.y = 105; _flower_blue.image_index = 0; }); c_sel(kr); c_facing("u"); c_setxy(130, 131); c_sel(su); c_facing("u"); c_setxy(155, 123); c_wait(30); c_var_lerp_instance(blackall, "image_alpha", 1, 0, 30); c_wait(60); c_speaker("susie"); c_msgsetloc(0, "\\ED* Sorry guys^1, you're gonna have to share for now.../%", "obj_ch5_LWF01_slash_Step_0_gml_413_0"); c_talk_wait(); c_sel(su); c_facing("l"); c_sel(kr); c_facing("r"); c_speaker("susie"); c_msgsetloc(0, "\\E0* ..^1. oh^1, yeah^1, I should explain./", "obj_ch5_LWF01_slash_Step_0_gml_424_0"); c_msgnextloc("\\E1* Before we sealed the first Fountain..^1. Flowery talked to me./", "obj_ch5_LWF01_slash_Step_0_gml_425_0"); c_msgnextloc("\\EN* ..^1. and told me that Asgore used to be the police chief.../", "obj_ch5_LWF01_slash_Step_0_gml_426_0"); c_msgnextloc("\\EA* And still had his shelter code buried in Flowery's soil!/", "obj_ch5_LWF01_slash_Step_0_gml_427_0"); c_msgnextloc("\\ED* He..^1. told me not to tell anybody about it^1, but.../", "obj_ch5_LWF01_slash_Step_0_gml_428_0"); c_msgnextloc("\\EN* ..^1. guess he told you^1, too^1, huh?/", "obj_ch5_LWF01_slash_Step_0_gml_429_0"); c_msgnextloc("\\ED* ..^1. anyway^1, let's get out of here^1. Fast./%", "obj_ch5_LWF01_slash_Step_0_gml_430_0"); c_talk(); c_wait_box(1); c_sel(su); c_facing("u"); c_wait_box(2); c_sel(su); c_sprite(spr_susie_head_down_right_more); c_wait_box(3); c_sel(su); c_facing("u"); c_wait_box(4); c_sel(su); c_sprite(spr_susie_head_down_left_more); c_wait_box(5); c_sel(su); c_facing("l"); c_wait_box(6); c_sel(su); c_facing("d"); c_wait_talk(); c_sel(kr); c_facing("d"); c_sel(su); c_autowalk(1); c_walkdirect_wait(157, 168, 16); c_walkdirect_wait(266, 168, 30); c_walkdirect_wait(266, room_height + 80, 30); c_waitcustom(); } if (con == 90 && !d_ex() && customcon == 1) { con = 100; customcon = 0; global.facing = 0; c_waitcustom_end(); c_actortokris(); c_terminatekillactors(); } if (con == 100 && !d_ex() && !i_ex(obj_cutscene_master)) { con = -1; prev_con = con; global.interact = 0; global.plot = 560; leave_enabled = true; scr_flag_set(1324, 3); if (scr_litemcheck(21) == 0) scr_litemget(21); } if (con == 200 && !d_ex() && global.interact == 0) { con = 12; global.interact = 1; scr_speaker("no_name"); msgsetloc(0, "* (Pink^1, fuzzy bedsheet.)/%", "obj_ch5_LWF01_slash_Step_0_gml_514_0"); d_make(); } if (con == 210 && !d_ex() && global.interact == 0) { con = 12; global.interact = 1; scr_speaker("no_name"); msgsetloc(0, "* (TV^1. It's turned face down.)/", "obj_ch5_LWF01_slash_Step_0_gml_526_0"); msgnextloc("* (On top of it is an anime-style comic.)/%", "obj_ch5_LWF01_slash_Step_0_gml_527_0"); d_make(); } if (con == 220 && !d_ex() && global.interact == 0) { con = 12; global.interact = 1; scr_speaker("no_name"); msgsetloc(0, "* (It's too dark to look closely.)/%", "obj_ch5_LWF01_slash_Step_0_gml_539_0"); d_make(); } if (con == 230 && !d_ex() && global.interact == 0) { con = 12; global.interact = 1; scr_speaker("no_name"); msgsetloc(0, "* (Papers^1. Looking closely^1, it's not just receipts.)/", "obj_ch5_LWF01_slash_Step_0_gml_551_0"); msgnextloc("* (..^1. but you never liked looking closely.)/%", "obj_ch5_LWF01_slash_Step_0_gml_552_0"); d_make(); } if (con == 235 && !d_ex() && global.interact == 0) { con = 12; global.interact = 1; scr_speaker("no_name"); msgsetloc(0, "* (It's too dark to read in more detail.)/%", "obj_ch5_LWF01_slash_Step_0_gml_562_0"); d_make(); }