var recruited = function(arg0 = "name") { with (obj_dw_fcastle_cafe) { var recruited = false; for (var i = 0; i < array_length(recNPCs); i++) { if (recNPCs[i].extflag == arg0) return recNPCs[i].recruited; } return recruited; } }; with (floradinn.inst) { if (myinteract == 3) { if (!talked) { scr_speaker("no_name"); msgsetloc(0, "* Boss^1. Meeting you..^1. really bloomed friendship into our hearts./", "obj_dw_fcastle_cafe_slash_Other_11_gml_31_0"); msgnextloc("* After everything..^1. I couldn't be more proud to be on your side./%", "obj_dw_fcastle_cafe_slash_Other_11_gml_32_0"); } else { scr_speaker("no_name"); msgsetloc(0, "* Also^1, weird your hair isn't yellow anymore but I'll ignore it./%", "obj_dw_fcastle_cafe_slash_Other_11_gml_37_0"); } d_make(); global.interact = 1; myinteract = 999; talked++; } if (myinteract > 3 && d_ex()) { var trig = 0; with (obj_writer) { if (halt) trig = 1; } if (!i_ex(obj_writer)) trig = 1; if (!trig) marker.image_index += 0.25; } if (myinteract == 999 && !d_ex()) { myinteract = 0; marker.image_index = 0; global.interact = 0; } } with (sheary.inst) { marker.sprite_index = spr_scissordancer_idle; if (!instance_exists(obj_cutscene_master)) marker.image_index += 0.25; if (myinteract == 3) { npc_con = 1; scr_speaker("no_name"); msgsetloc(0, "* (She's cutting the tablecloth into various useful shapes)/%", "obj_dw_fcastle_cafe_slash_Other_11_gml_64_0"); d_make(); global.interact = 1; myinteract = 999; talked++; } if (myinteract > 3 && d_ex()) { var trig = 0; with (obj_writer) { if (halt) trig = 1; } if (!i_ex(obj_writer)) trig = 1; } if (myinteract == 999 && !d_ex()) { if (npc_con == 1) { npc_con = -1; snd_play(snd_wing); var puff_marker = scr_dark_marker(marker.x - 20, marker.y + 70, spr_smokepuff); with (puff_marker) { image_blend = merge_color(c_black, c_white, 0.7); image_speed = 1; depth = 95360; scr_doom(id, 7); } with (other) sheary_table.sprite_index = (sheary_table.sprite_index == spr_dw_cafe_table_heart) ? spr_dw_cafe_table : spr_dw_cafe_table_heart; } if (npc_con == -1) { myinteract = 0; global.interact = 0; } } } with (leafling.inst) { if (myinteract == 3) { if (!talked) { scr_speaker("no_name"); msgsetloc(0, "* Boss^1, I've realized sticking with you is a safe investment./%", "obj_dw_fcastle_cafe_slash_Other_11_gml_113_0"); } else { scr_speaker("no_name"); msgsetloc(0, "* I guess \"stick\" was a pun..^1. but I mean it./%", "obj_dw_fcastle_cafe_slash_Other_11_gml_118_0"); } var d = d_make(); d.side = 0; global.interact = 1; myinteract = 999; talked++; } if (myinteract > 3 && d_ex()) { var trig = 0; with (obj_writer) { if (halt) trig = 1; } if (!i_ex(obj_writer)) trig = 1; if (!trig) marker.image_index += 0.25; } if (myinteract == 999 && !d_ex()) { myinteract = 0; marker.image_index = 0; global.interact = 0; } } with (netskie.inst) { if (myinteract == 3) { npc_con = -1; if (!talked) { npc_con = 1; scr_speaker("no_name"); msgsetloc(0, "* Kee kee^1! You recognized me^1, and now..^1. I will follow you!/", "obj_dw_fcastle_cafe_slash_Other_11_gml_150_0"); msgnextloc("* ..^1. if you can find me!/%", "obj_dw_fcastle_cafe_slash_Other_11_gml_151_0"); } else { scr_speaker("no_name"); msgsetloc(0, "* I wanted you to find me.../%", "obj_dw_fcastle_cafe_slash_Other_11_gml_158_0"); var blush = instance_create(marker.x, marker.y, obj_afterimage); blush.sprite_index = spr_tree_fox_blush; blush.image_xscale = 2; blush.image_yscale = 2; blush.image_alpha = 3; } var d = d_make(); d.side = 0; global.interact = 1; myinteract = 999; talked++; } if (myinteract > 3 && d_ex()) { var trig = 0; with (obj_writer) { if (halt) trig = 1; } if (!i_ex(obj_writer)) trig = 1; if (!trig) marker.image_index += 0.25; } if (myinteract == 999 && !d_ex()) { if (npc_con == 1) { npc_con = 2; marker.sprite_index = spr_tree_fox_laugh; marker.image_speed = 0.2; scr_delay_var("npc_con", 3, 30); } if (npc_con == 3) { npc_con = 4; snd_play(snd_wing); var puff_marker = scr_dark_marker(marker.x + 40, marker.y + 40, spr_smokepuff); with (puff_marker) { image_blend = merge_color(c_black, c_white, 0.7); image_speed = 1; scr_doom(id, 7); } marker.visible = 0; scr_delay_var("npc_con", 5, 60); } if (npc_con == 5) { npc_con = -1; snd_play(snd_wing); var puff_marker = scr_dark_marker(marker.x + 40, marker.y + 40, spr_smokepuff); with (puff_marker) { image_blend = merge_color(c_black, c_white, 0.7); image_speed = 1; scr_doom(id, 7); } marker.sprite_index = spr_tree_fox_idle; marker.visible = 1; } if (npc_con == -1) { myinteract = 0; marker.image_index = 0; global.interact = 0; } } } with (kawkaw.inst) { if (myinteract == 3) { var chance = random(1); if (chance < 0.5) { var nyon_snd = choose(38, 222); snd_play(nyon_snd); scr_speaker("no_name"); msgsetloc(0, "* Nyon!/%", "obj_dw_fcastle_cafe_slash_Other_11_gml_241_0"); } else { var lick_snd = choose(230, 758, 199); snd_play(lick_snd); scr_speaker("no_name"); msgsetloc(0, "* Ueueleuleuleue/%", "obj_dw_fcastle_cafe_slash_Other_11_gml_249_0"); } d_make(); global.interact = 1; myinteract = 999; talked++; } if (myinteract > 3 && d_ex()) { var trig = 0; with (obj_writer) { if (halt) trig = 1; } if (!i_ex(obj_writer)) trig = 1; if (!trig) marker.image_index += 0.25; } if (myinteract == 999 && !d_ex()) { myinteract = 0; marker.image_index = 0; global.interact = 0; } } with (shinobeetle.inst) { if (myinteract == 3) { if (!talked) { scr_speaker("no_name"); msgsetloc(0, "* Masters^1! Thank you for allowing me to abandon the way of the ninja...!/", "obj_dw_fcastle_cafe_slash_Other_11_gml_277_0"); msgnextloc("* My true passion is..^1. making small and hidden trains!/%", "obj_dw_fcastle_cafe_slash_Other_11_gml_278_0"); } else { global.writersnd[0] = snd_choo_choo; scr_speaker("no_name"); msgsetloc(0, "* Masters^1. Are you sure you want to take a sip?/", "obj_dw_fcastle_cafe_slash_Other_11_gml_284_0"); msgnextloc("* (He makes a small and knowing smile^1. You feel your cup trembling...)\\S0/%", "obj_dw_fcastle_cafe_slash_Other_11_gml_285_0"); } d_make(); global.interact = 1; myinteract = 999; talked++; } if (myinteract > 3 && d_ex()) { var trig = 0; with (obj_writer) { if (halt) trig = 1; } if (!i_ex(obj_writer)) trig = 1; if (!trig) marker.image_index += 0.25; } if (myinteract == 999 && !d_ex()) { myinteract = 0; marker.image_index = 0; global.interact = 0; } } with (shi.inst) { if (myinteract == 3) { if (!talked) { scr_speaker("no_name"); msgsetloc(0, "* Boss. Thanks you^1, I was able to relocate here./", "obj_dw_fcastle_cafe_slash_Other_11_gml_314_0"); msgnextloc("* Now I can do big uppercuts at the dinner table all day long./%", "obj_dw_fcastle_cafe_slash_Other_11_gml_315_0"); } else { scr_speaker("no_name"); msgsetloc(0, "* HYAAAAAAAAAHHHH!!^1! But quietly to not bother the other customers./%", "obj_dw_fcastle_cafe_slash_Other_11_gml_320_0"); } if (scr_flag_get(674) == 1) { if (!talked) { scr_speaker("no_name"); msgsetloc(0, "* Boss!^1? I'm trapped at a table with this crembulous dog!?/", "obj_dw_fcastle_cafe_slash_Other_11_gml_328_0"); msgnextloc("* Fine..^1. I guess I'll use my special attack^1, \"falling in love.\"/%", "obj_dw_fcastle_cafe_slash_Other_11_gml_329_0"); } else { scr_speaker("no_name"); msgsetloc(0, "* Who's a cute little guy!^1? Who's a special little guy!?/", "obj_dw_fcastle_cafe_slash_Other_11_gml_334_0"); msgnextloc("* ..^1. that's my problem with this blumbo^1, he never tells me the answer.../%", "obj_dw_fcastle_cafe_slash_Other_11_gml_335_0"); } } d_make(); global.interact = 1; myinteract = 999; talked++; } if (myinteract > 3 && d_ex()) { var trig = 0; with (obj_writer) { if (halt) trig = 1; } if (!i_ex(obj_writer)) trig = 1; if (!trig) marker.image_index += 0.25; } if (myinteract == 999 && !d_ex()) { myinteract = 0; marker.image_index = 0; global.interact = 0; } } with (terracotta.inst) { if (myinteract == 3) { if (!talked) { scr_speaker("no_name"); msgsetloc(0, "* FRAIND..^1. MADE BLOOM^1. NOW I PROTECT FRAIND./%", "obj_dw_fcastle_cafe_slash_Other_11_gml_364_0"); } else { scr_speaker("no_name"); msgsetloc(0, "* MY FRAIND NAME IS \"CUP OF WATER\"/%", "obj_dw_fcastle_cafe_slash_Other_11_gml_369_0"); } d_make(); global.interact = 1; myinteract = 999; talked++; } if (myinteract > 3 && d_ex()) { var trig = 0; with (obj_writer) { if (halt) trig = 1; } if (!i_ex(obj_writer)) trig = 1; } if (myinteract == 999 && !d_ex()) { myinteract = 0; marker.image_index = 0; global.interact = 0; } }