with (obj_sunshadows) { if (instance_exists(obj_battlealphaer) && instance_exists(obj_mainchara_dash)) subtract_highlights = obj_battlealphaer.battlealpha > 0; else subtract_highlights = true; } scr_populatechars(); if (!init) { with (obj_torigate_dash) scr_addtosunshadows(id, undefined, false); removebridge = function(arg0 = false) { with (obj_solidblocksized) { if (variable_instance_exists(id, "bridgesolid")) instance_destroy(); } bridgesprite = scr_marker_fromasset(findsprite(spr_bridge_together, "NPCs"), bridgeswitch.depth); with (bridgesprite) image_index = 1; }; init = 1; if (global.plot < sethaqua_plot) { npc_aqua = scr_makenpc_fromasset(findsprite(spr_aqua_grab_jump, "NPCs")); npc_seth = instance_create(0, 0, obj_marker); with (npc_seth) { sprite_index = spr_seth_carried; scr_darksize(); image_xscale = -2; scr_addtosunshadows(id); scr_depth(self, 1000); } with (npc_aqua) { marker.image_index = 0; con = -2; timer = 0; press_grass = true; jump_index = 0; jumper = -4; scr_addtosunshadows(marker.id); } } if (global.plot >= starwalker_plot) { with (obj_plat_loopboundary) instance_destroy(); with (obj_dynamicshadowmask) instance_destroy(); with (obj_trigger) { if (extflag == "regrow_offscreen_grass") instance_destroy(); } with (obj_overworld_dashbullet_spawner) instance_destroy(); with (obj_bulletarea_neo) instance_destroy(); } } if (global.plot < starwalker_plot && scr_trigcheck("starwalker_end")) { global.plot = starwalker_plot; with (obj_dynamicshadowmask) instance_destroy(); } if (scr_trigcheck("aqua_start")) { with (npc_aqua) { if (con == -2) { con = 0; timer = 31; } } } with (npc_aqua) { if (con == -1) { jump_index++; marker.image_index = 0; var gm = scr_genmarker("aquajump_" + string(jump_index)); with (marker) other.jumper = scr_jump_to_point(gm.x, gm.y, 12, 30, true); marker.image_index = 1; press_grass = false; con = 0; } else if (con == 0) { timer += 1; scr_depth(marker); other.depth = marker.depth - 1; if (instance_exists(jumper)) { x = jumper.x; y = jumper.y; } if (timer == 30) { image_index = 0; press_grass = true; } if (timer >= 36) { con = -1; timer = 0; if (jump_index >= 4) { with (marker) instance_destroy(); with (other.npc_seth) instance_destroy(); instance_destroy(); other.npc_aqua = -4; global.plot = max(global.plot, other.sethaqua_plot); } } } } if (bridgeinit == 0) { if (bridgeswitched) { removebridge(); } else { var sol = findspriteinfo(spr_bridge_together); with (instance_create(sol.x, sol.y, obj_solidblocksized)) { sprite_index = sol.sprite_index; image_xscale = sol.image_xscale; image_yscale = sol.image_yscale; bridgesolid = true; } } bridgeinit = 1; } if (scr_trigcheck_ext("regrow_offscreen_grass", 1660)) { var grasslist = ds_list_create(); var cx = camerax(); var cy = cameray(); var cw = camerawidth(); var ch = cameraheight(); collision_rectangle_list(cx - 50, cy, cx - 40, cy + ch, obj_dw_cliffs_tallgrass, false, true, grasslist, false); for (var i = 0; i < ds_list_size(grasslist); i++) { if (ds_list_find_value(grasslist, i).was_cut) { ds_list_find_value(grasslist, i).was_cut = false; ds_list_find_value(grasslist, i).sprite_index = choose(spr_dw_cliffs_tallgrass_lightbake, spr_dw_cliffs_tallgrass_lightbake2); } } ds_list_clear(grasslist); collision_rectangle_list(cx + cw + 20, cy, cx + cw + 600, cy + ch, obj_dw_cliffs_tallgrass, false, true, grasslist, false); for (var i = 0; i < ds_list_size(grasslist); i++) { if (ds_list_find_value(grasslist, i).was_cut) { ds_list_find_value(grasslist, i).was_cut = false; ds_list_find_value(grasslist, i).sprite_index = choose(spr_dw_cliffs_tallgrass_lightbake, spr_dw_cliffs_tallgrass_lightbake2); } } ds_list_destroy(grasslist); } if (instance_exists(obj_mainchara_dash)) { should_check_wheat = true; } else if (should_check_wheat) { should_check_wheat = false; check_all_wheat_gone(); } if (reminder_scene_con == 0 && scr_trigcheck("action_reminder")) { if (global.flag[1888] == 0) { global.flag[1888] = 1; global.choicemsg[0] = stringsetloc("I forgot", "obj_dw_cliff_kawkawdash_slash_Step_0_gml_183_0"); global.choicemsg[1] = stringsetloc("I just#like ACTing#with you more", "obj_dw_cliff_kawkawdash_slash_Step_0_gml_184_0"); global.choicemsg[2] = stringset(""); global.choicemsg[3] = stringset(""); global.msc = -99; global.choice = -1; global.interact = 1; reminder_scene_con = 1; scr_speaker("ralsei"); msgsetloc(0, "\\EJ* (Umm^1, Kris...? About S-Action and R-Action...)/", "obj_dw_cliff_kawkawdash_slash_Step_0_gml_196_0"); scr_anyface_next("susie", "A"); msgnextloc("\\EA* Kris^1, you remember we can ACT alone too^1, right?/", "obj_dw_cliff_kawkawdash_slash_Step_0_gml_198_0"); msgnext("\\C2"); d_make(undefined, undefined, undefined, 1); } else { reminder_scene_con = -1; } } if (reminder_scene_con == 1 && global.choice >= 0) { reminder_scene_con = 2; k_d(3); if (global.choice == 0) { scr_speaker("susie"); msgsetloc(0, "\\E3* Okay^1, well^1, uh..^1. remember./%", "obj_dw_cliff_kawkawdash_slash_Step_0_gml_213_0"); d_make(); } else { if (global.lang == "ja") { scr_speaker("no_name"); msgsetloc(0, "\\f0^1\\f1/%", "obj_dw_cliff_kawkawdash_slash_Step_0_gml_224_0"); var sustr = stringsetloc("忘れたんだな。", "obj_dw_cliff_kawkawdash_slash_Step_0_gml_225_0"); var rastr = stringsetloc("忘れたんだね。", "obj_dw_cliff_kawkawdash_slash_Step_0_gml_226_0"); var sf = { x: 77, y: 6 }; scr_smallface(0, 143, 60, sf.x, sf.y, sustr); sf = { x: 154, y: 51 }; scr_smallface(1, 269, 20, sf.x, sf.y, rastr); } else { scr_speaker("ralsei"); global.typer = 79; global.fc = 1; msgsetloc(0, "\\Ez* (They forgot.)/%", "obj_dw_cliff_kawkawdash_slash_Step_0_gml_219_0"); with (instance_create_depth(0, 0, -1, obj_object)) { con = 0; draw_func = function() { if (instance_exists(obj_face)) { con = 1; with (obj_face) x = room_width * 4; var cam = scr_getcam(); var _x = cam.x; var _y = cam.y; draw_sprite_ext(spr_face_r_nohat, 20, _x + 468, _y + 342, 2, 2, 0, c_white, 1); draw_sprite_ext(spr_face_susie_alt, 60, _x + 69, _y + 350, 2, 2, 0, c_white, 1); } else if (con == 1) { con = 2; } if (con == 2 && !instance_exists(obj_writer)) instance_destroy(); }; } } d_make(); } } if (reminder_scene_con == 2 && !d_ex()) { reminder_scene_con = -1; global.interact = 0; }