if (con < 0) exit; if (con == 0 && !d_ex() && global.interact == 0) { con = 100; global.interact = 1; scr_speaker("no_name"); msgsetloc(0, "* Oh^1, have you seen young master Susie^1? To assist her in her outing.../", "obj_castle_tutorial_slash_Step_0_gml_12_0"); msgnextloc("* We have turned this shabby stall into a bougie salon^1. Please bring her here./", "obj_castle_tutorial_slash_Step_0_gml_13_0"); msgnextloc("* With a small makeover^1, we believe we can make her look a bit more..^1. gentrified./%", "obj_castle_tutorial_slash_Step_0_gml_14_0"); d_make(); } if (con == 5 && !d_ex() && global.interact == 0) { con = 100; global.interact = 1; scr_speaker("no_name"); msgsetloc(0, "* Please hurry^1. We're doing our best to keep the property values high./", "obj_castle_tutorial_slash_Step_0_gml_25_0"); msgnextloc("* But they're under attack^1. Can't..^1. hold on..^1. much longer../%", "obj_castle_tutorial_slash_Step_0_gml_26_0"); d_make(); } if (con == 10 && !d_ex()) { con = 15; global.interact = 1; cutscene_master = scr_cutscene_make(); scr_maincharacters_actors(); c_pannable(1); c_pan(380, cameray(), 14); var kr_x_pos = 725; var kr_y_pos = 140; var kr_walktime = scr_calculate_move_distance(kr_actor.x, kr_actor.y, kr_x_pos, kr_y_pos, 6); c_sel(kr); c_walkdirect(kr_x_pos, kr_y_pos, kr_walktime); c_delayfacing(kr_walktime + 1, "u"); var su_x_pos = kr_x_pos - 56; var su_y_pos = kr_y_pos - 16; var su_walktime = scr_calculate_move_distance(su_actor.x, su_actor.y, su_x_pos, su_y_pos, 6); if (su_actor.y < su_y_pos) { c_sel(su); c_walkdirect_wait(su_actor.x, su_y_pos, 15); } c_sel(su); c_walkdirect(su_x_pos, su_y_pos, su_walktime); c_delayfacing(su_walktime + 1, "u"); var ra_x_pos = kr_x_pos - 100; var ra_y_pos = kr_y_pos - 12; var ra_walktime = scr_calculate_move_distance(ra_actor.x, ra_actor.y, ra_x_pos, ra_y_pos, 6); if (ra_actor.y < ra_y_pos) { c_sel(ra); c_walkdirect_wait(ra_actor.x, ra_y_pos, 15); } c_sel(ra); c_walkdirect(ra_x_pos, ra_y_pos, ra_walktime); c_delayfacing(ra_walktime + 1, "u"); c_wait(30); global.msc = -99; global.choice = -1; global.choicemsg = [stringsetloc("#Graceful style", "obj_castle_tutorial_slash_Step_0_gml_86_0"), stringsetloc("#Basic style", "obj_castle_tutorial_slash_Step_0_gml_87_0"), stringsetloc("Fashion style", "obj_castle_tutorial_slash_Step_0_gml_88_0"), stringsetloc("She's good", "obj_castle_tutorial_slash_Step_0_gml_89_0")]; scr_choiceradjust(undefined, 14, undefined, 14); if (scr_flag_get(1468) == 0) { scr_flag_set(1468, 1); c_speaker("no_name"); c_msgsetloc(0, "* Ah^1, if it isn't our Lady of Little Grace^1. (Young master Susie.)/", "obj_castle_tutorial_slash_Step_0_gml_97_0"); c_msgnextloc("* We heard of your romantic dreams^1, and we are dying to assist you./", "obj_castle_tutorial_slash_Step_0_gml_98_0"); c_msgnextloc("* While^1, I'm sure your current form is certainly passable^1, in some manner.../", "obj_castle_tutorial_slash_Step_0_gml_99_0"); c_msgnextloc("* Don't you think some makeup could serve to catch the young deer's eye?/", "obj_castle_tutorial_slash_Step_0_gml_100_0"); c_facenext("susie", "C"); c_msgnextloc("\\EC* Uhh^1, I mean^1, I think I'm good..^1. I mean.../", "obj_castle_tutorial_slash_Step_0_gml_102_0"); c_msgnextloc("\\ED* I don't even know if she thinks it's a date^1, y'know...?/", "obj_castle_tutorial_slash_Step_0_gml_103_0"); c_facenext("no_name", 0); c_msgnextloc("* Hmm..^1. very well then^1. Young blue master^1, what do you think?/", "obj_castle_tutorial_slash_Step_0_gml_105_0"); } else { c_speaker("no_name"); c_msgsetloc(0, "* Young blue master^1, what do you think?/", "obj_castle_tutorial_slash_Step_0_gml_109_0"); } c_msgnext("\\C4"); c_customfunc(function() { d_make(); }); c_waitcustom(); } if (con == 15 && global.choice != -1 && customcon == 1) { con = 90; customcon = 0; k_d(3); c_waitcustom_end(); if (global.choice == 3) { c_sel(su); c_sprite(spr_susie_face_up_annoyed); c_speaker("susie"); c_msgsetloc(0, "\\E5* Don't say it like that^1, dumb ass./%", "obj_castle_tutorial_slash_Step_0_gml_135_0"); c_talk_wait(); } else { c_speaker("no_name"); c_msgsetloc(0, "* An excellent choice!/", "obj_castle_tutorial_slash_Step_0_gml_142_0"); c_facenext("susie", "F"); c_msgnextloc("\\EF* H-Hey^1, I didn't say I--/%", "obj_castle_tutorial_slash_Step_0_gml_144_0"); c_talk_wait(); c_wait(15); c_sel(ra); c_sprite(spr_ralsei_shocked_right); c_addxy(-20, 0); c_shakeobj(); c_sel(su); c_sprite(spr_susie_shocked_behind); c_shakeobj(); c_snd_play(snd_wing); c_customfunc(function() { var _poof = instance_create(su_actor.x, su_actor.y + 20, obj_animation); _poof.image_xscale = 2; _poof.image_yscale = 2; _poof.sprite_index = spr_smokepuff; _poof.image_speed = 0.5; _poof.depth = su_actor.depth - 100; }); c_wait(30); if (global.choice == 0) { c_customfunc(function() { with (instance_create(0, 0, obj_object)) { sprite_index = scr_84_get_sprite("spr_face_susie_queen"); con = 0; visible = false; animindex = 0; image_speed = 0; image_xscale = 2; image_yscale = 2; begin_step_func = function() { x = camerax() + 58; y = cameray() + 346; with (obj_writer) other.depth = depth + 1; if (con == 0) { if (scr_getmsgno() > 0) { visible = true; con = 1; } } if (con > 0) { with (obj_face) x = room_width * 4; if (!instance_exists(obj_writer)) instance_destroy(); } }; draw_func = function() { draw_self(); }; } }); c_speaker("no_name"); c_msgsetloc(0, "* There..^1. an appearance most graceful^1, Lovable^1, and even nostalgic./", "obj_castle_tutorial_slash_Step_0_gml_215_0"); c_facenext("susie", 0); c_msgnextloc("* Yeah^1, I don't think this is gonna work./%", "obj_castle_tutorial_slash_Step_0_gml_217_0"); c_talk(); c_wait_box(2); c_sel(su); c_sprite(spr_susie_face_up_annoyed); c_sel(ra); c_sprite(spr_ralsei_walk_right_smile); c_addxy(20, 0); c_wait_talk(); c_var_instance(_susie_face_marker, "visible", false); } else if (global.choice == 1) { c_customfunc(function() { with (instance_create(0, 0, obj_object)) { sprite_index = spr_face_susie_jpeg; con = 0; visible = false; animindex = 0; image_speed = 0; image_xscale = 2; image_yscale = 2; begin_step_func = function() { x = camerax() + 58; y = cameray() + 332; with (obj_writer) other.depth = depth + 1; if (con == 0) { if (scr_getmsgno() > 0) { visible = true; con = 1; } } if (con > 0) { with (obj_face) x = room_width * 4; if (!instance_exists(obj_writer)) instance_destroy(); } }; draw_func = function() { draw_self(); }; } }); c_speaker("no_name"); c_msgsetloc(0, "* There..^1. a simple coat of foundation will bring out your inner beauty./", "obj_castle_tutorial_slash_Step_0_gml_275_0"); c_facenext("susie", 0); c_msgnextloc("* Yuck^1. Do people actually wear this?/%", "obj_castle_tutorial_slash_Step_0_gml_277_0"); c_talk(); c_wait_box(2); c_sel(su); c_sprite(spr_susie_face_up_annoyed); c_sel(ra); c_sprite(spr_ralsei_walk_right_smile); c_addxy(20, 0); c_wait_talk(); c_var_instance(_susie_face_marker, "visible", false); } else { var small_text = stringsetloc("More ads\nonly $9.99!", "obj_castle_tutorial_slash_Step_0_gml_294_0"); var sf = { x: 330, y: 72 }; if (global.lang == "ja") { sf.x = 312; sf.y = 69; } scr_smallface(0, "empty", 0, sf.x, sf.y, small_text); c_customfunc(function() { with (instance_create(0, 0, obj_object)) { sprite_index = spr_face_susie_dithered; con = 0; visible = false; animindex = 0; image_speed = 0; begin_step_func = function() { x = camerax() + 38; y = cameray() + 326; with (obj_writer) other.depth = depth + 1; if (con == 0) { if (scr_getmsgno() > 0) { visible = true; con = 1; } } if (con > 0) { with (obj_face) x = room_width * 4; if (!instance_exists(obj_writer)) instance_destroy(); } }; draw_func = function() { animindex += 0.4166666666666667; image_index = animindex; draw_self(); }; } }); c_speaker("no_name"); c_msgsetloc(0, "* A glamorous style^1, Purchased directly from Addison's^1, it's sure to catch anyone's eye./", "obj_castle_tutorial_slash_Step_0_gml_339_0"); c_facenext("susie", 0); c_msgnextloc("\\E0* I^1, uh^1, can't really see^1. Plus^1, it keeps playing ads.^1\\f0/%", "obj_castle_tutorial_slash_Step_0_gml_341_0"); c_talk(); c_wait_box(2); c_sel(su); c_sprite(spr_susie_face_up_annoyed); c_sel(ra); c_sprite(spr_ralsei_walk_right_smile); c_addxy(20, 0); c_wait_talk(); } c_wait(15); c_sel(su); c_autowalk(0); c_sprite(spr_susie_wipe_face); c_imagespeed(0.2); c_wait(30); c_facing("u"); c_halt(); } c_waitcustom(); } if (con == 90 && !d_ex() && customcon == 1) { con = 100; customcon = 0; global.facing = 0; global.flag[20] = 0; c_waitcustom_end(); c_pannable(1); c_panobj(kr_actor, 15); c_wait(16); c_pannable(0); c_sel(kr); c_facing("d"); c_actortokris(); c_actortocaterpillar(); c_terminatekillactors(); } if (con == 20 && !d_ex() && global.interact == 0) { con = 100; global.interact = 1; scr_speaker("no_name"); msgsetloc(0, "* Dis'll teach ya's to open a wimp-station^1, ya peachy keens!/", "obj_castle_tutorial_slash_Step_0_gml_405_0"); msgnextloc("* Boss^1, tell 'em Susie looks ruff and tuff and that's enuff!/%", "obj_castle_tutorial_slash_Step_0_gml_406_0"); d_make(); } if (con == 25 && !d_ex() && global.interact == 0) { con = 100; global.interact = 1; scr_speaker("no_name"); msgsetloc(0, "* Ya don't even NEED a face to be a nice piece-a-woik!/", "obj_castle_tutorial_slash_Step_0_gml_417_0"); msgnextloc("* Need proof^1? Look'it me^1, boss^1! I'm only wearin' FOUNDATION!/%", "obj_castle_tutorial_slash_Step_0_gml_418_0"); d_make(); } if (con == 30 && !d_ex() && global.interact == 0) { con = 100; global.interact = 1; scr_speaker("no_name"); msgsetloc(0, "* ..^1. hmph^1. I hate to say it^1, but even I have to agree with this brute./", "obj_castle_tutorial_slash_Step_0_gml_430_0"); msgnextloc("* All Susie needs is a little brushing off^1. Sukkiri./%", "obj_castle_tutorial_slash_Step_0_gml_431_0"); d_make(); } if (con == 35 && !d_ex() && global.interact == 0) { con = 100; global.interact = 1; scr_speaker("no_name"); msgsetloc(0, "* (I'll help^1. Sukkiri.)/%", "obj_castle_tutorial_slash_Step_0_gml_442_0"); d_make(); } if (con == 40 && !d_ex() && global.interact == 0) { con = 48; global.interact = 1; scr_speaker("no_name"); msgsetloc(0, "* Oo-la-la^1. The fashion make-shoot^1. You know I cannot miss./%", "obj_castle_tutorial_slash_Step_0_gml_454_0"); d_make(); } if (con == 45 && !d_ex() && global.interact == 0) { con = 48; global.interact = 1; scr_speaker("no_name"); msgsetloc(0, "* Everyone say the \"Cheese\"^1, and pose^1, but only for 5 frames./", "obj_castle_tutorial_slash_Step_0_gml_465_0"); msgnextloc("* For the challenge^1. Oo-la-la./%", "obj_castle_tutorial_slash_Step_0_gml_466_0"); d_make(); } if (con == 48 && !d_ex()) { con = -1; scr_delay_var("con", 100, 8); with (_shutta_marker) { image_speed = 0; image_index = 0; scr_lerpvar("y", ystart - 40, ystart, 6, 3, "out"); } } if (con == 50 && !d_ex() && global.interact == 0) { con = 100; global.interact = 1; scr_speaker("no_name"); msgsetloc(0, "* (The way..^1. of the worm...?)/", "obj_castle_tutorial_slash_Step_0_gml_492_0"); msgnextloc("* (Is..^1. this the way of the worm^1? To be totally caked up?)/%", "obj_castle_tutorial_slash_Step_0_gml_493_0"); d_make(); } if (con == 55 && !d_ex() && global.interact == 0) { con = 100; global.interact = 1; scr_speaker("no_name"); msgsetloc(0, "* (I wish I had another worm to show me the way...)/%", "obj_castle_tutorial_slash_Step_0_gml_504_0"); d_make(); } if (con == 60 && !d_ex() && global.interact == 0) { con = 100; global.interact = 1; scr_speaker("no_name"); msgsetloc(0, "* Huh^1. I think this is dressed and impress from Roblucks./%", "obj_castle_tutorial_slash_Step_0_gml_516_0"); d_make(); } if (con == 65 && !d_ex() && global.interact == 0) { con = 100; global.interact = 1; scr_speaker("no_name"); msgsetloc(0, "* Remember to obby for pink coins^1. Then it's catgirl time./%", "obj_castle_tutorial_slash_Step_0_gml_527_0"); d_make(); } if (con == 70 && !d_ex() && global.interact == 0) { con = 100; global.interact = 1; npc_animate = true; npc_animate_target = _rudinn_marker; scr_speaker("no_name"); msgsetloc(0, "* Can that Swatch guy..^1. really make me into a palette swap?/", "obj_castle_tutorial_slash_Step_0_gml_542_0"); msgnextloc("* H-Ha^1! I mean^1, more like palette SLOP^1! Who needs that!?/%", "obj_castle_tutorial_slash_Step_0_gml_543_0"); d_make(); } if (con == 75 && !d_ex() && global.interact == 0) { con = 100; global.interact = 1; npc_animate = true; npc_animate_target = _rudinn_marker; scr_speaker("no_name"); msgsetloc(0, "* ..^1. I don't need slop..^1. I don't need slop..^1. I don't.../%", "obj_castle_tutorial_slash_Step_0_gml_557_0"); d_make(); } if (con == 100 && !d_ex() && !i_ex(obj_cutscene_master)) { con = -1; global.interact = 0; } if (npc_animate) { if (i_ex(obj_writer)) { if (global.typer == 6) { if (obj_writer.halt >= 1) { with (npc_animate_target) { image_speed = 0; image_index = 0; } } else { with (npc_animate_target) image_speed = 0.2; } } else { with (npc_animate_target) { image_speed = 0; image_index = 0; } } } }