if (global.monster[myself] == 1) { if (scr_isphase("enemytalk") && talked == 0 && aquabattle == true && aquascene1con == 0 && global.mercymod[myself] >= 0) { aquascene1con = 1; aquacon = 1; talked = 1; } if (scr_isphase("enemytalk") && talked == 0 && aquacon == 0 && (aquascene1con == 0 || aquascene1con == 2)) { scr_randomtarget(); setbattlemsg = false; myattackchoice = 0; myattackpriority = 1; if (!instance_exists(obj_darkener)) instance_create(0, 0, obj_darkener); var str1 = choose("fluffy tail", "fluffy ears", "fluffy snout"); global.typer = 50; rr = choose(0, 1, 2, 3); if (global.flag[1752] == 0 && faker_type > 0) { msgsetloc(0, "I'M the Original!&Kon^1, kon^1, kee kee!", "obj_netskie_enemy_slash_Step_0_gml_26_0"); global.flag[1752] = 1; } else { if (rr == 0) msgsetloc(0, "Kon kon~&Kee kee~", "obj_netskie_enemy_slash_Step_0_gml_31_0"); if (rr == 1) msgsetloc(0, "(Swisches my big&fluffy $$$$-ing&tail)", "obj_netskie_enemy_slash_Step_0_gml_32_0"); if (rr == 2) msgsetloc(0, "(Stamp!)&Approved as&gullible...", "obj_netskie_enemy_slash_Step_0_gml_33_0"); if (rr == 3) msgsetloc(0, "A fox would never&enjoy tricking&anyone~", "obj_netskie_enemy_slash_Step_0_gml_34_0"); } scr_enemyblcon(x - 0, y + 50, 10); talked = 1; talktimer = 0; rtimer = 0; } if (talked == 1 && scr_isphase("enemytalk") && aquacon == 0) scr_blconskip(15); if (global.mnfight == 1.5) { if (scr_attackpriority(myattackpriority)) { if (!instance_exists(obj_growtangle)) instance_create(__view_get(e__VW.XView, 0) + 320, __view_get(e__VW.YView, 0) + 170, obj_growtangle); if (!instance_exists(obj_moveheart)) scr_moveheart(); global.mnfight = 2; scr_turntimer(90); } } if (scr_isphase("bullets") && attacked == 0) { if (faker_type > 0 && rtimer == 1) { for (var i = 0; i < 8; i++) { with (instance_create_depth(x + 44, y + 48, depth - 1, obj_shinobeetle_smokecloud)) { image_xscale = 2; image_yscale = 2; image_index = i; image_speed = 0; direction = 45 + (i * 90); speed = 2 + random(1); image_alpha -= random(0.07); fadespeed = 0.06; } } for (var i = 0; i < 8; i++) { with (instance_create_depth(x + 44, y + 48, depth - 1, obj_shinobeetle_smokecloud)) { image_xscale = 2; image_yscale = 2; image_index = i; image_speed = 0; direction = 10 + (i * 90); speed = 2 + random(1); image_alpha -= random(0.07); fadespeed = 0.06; } } snd_play(snd_magicsprinkle); } rtimer += 1; if (faker_type > 0 && rtimer == 12) { draw_type = faker_type; faker_type = 0; } if (rtimer == 12) { netskie_count = 0; if (aquacon > 0) { } else if (draw_type == 1) { global.monsterattackname[myself] = "netskie floradinn"; dc = scr_bulletspawner(x, y, obj_dbulletcontroller); dc.type = 140; dc.special = 1; scr_turntimer(200); } else if (draw_type == 2) { global.monsterattackname[myself] = "netskie shadowman"; dc = scr_bulletspawner(x, y, obj_dbulletcontroller); dc.type = 62; scr_turntimer(200); } else if (draw_type == 3) { global.monsterattackname[myself] = "netskie rabbick"; dc = scr_bulletspawner(x, y, obj_dbulletcontroller); dc.type = 30.1; dc.timepoints = 3; scr_turntimer(300); } else { global.monsterattackname[myself] = "pawprint"; dc = scr_bulletspawner(x, y, obj_dbulletcontroller); dc.type = 149; dc.damage = 92; dc.target = 4; scr_turntimer(240); } scr_turntimer(200); turns += 1; attacked = 1; } } if (global.turntimer > 1 && global.turntimer < 4 && failcon == 0 && draw_type > 0) { for (var i = 0; i < 8; i++) { with (instance_create_depth(x + 44, y + 48, depth - 1, obj_shinobeetle_smokecloud)) { image_xscale = 2; image_yscale = 2; image_index = i; image_speed = 0; direction = 45 + (i * 90); speed = 2 + random(1); image_alpha -= random(0.07); fadespeed = 0.06; } } for (var i = 0; i < 8; i++) { with (instance_create_depth(x + 44, y + 48, depth - 1, obj_shinobeetle_smokecloud)) { image_xscale = 2; image_yscale = 2; image_index = i; image_speed = 0; direction = 10 + (i * 90); speed = 2 + random(1); image_alpha -= random(0.07); fadespeed = 0.06; } } if (draw_type == 2) { with (obj_shinobeetle_smokecloud) y += 10; } snd_play(snd_magicsprinkle); var aa = 0; for (var i = 0; i < instance_number(obj_spike_bullet); i++) { enemy[i] = instance_find(obj_spike_bullet, i); if (enemy[i].slowcon == 1) aa++; } for (var i = 0; i < instance_number(obj_rabbitbullet); i++) { enemy[i] = instance_find(obj_rabbitbullet, i); if (enemy[i].slowcon == 1) aa++; } for (var i = 0; i < instance_number(obj_tommygun_bullet); i++) { enemy[i] = instance_find(obj_tommygun_bullet, i); if (enemy[i].slowcon == 1) aa++; } if (aa >= 2) { failcon = 1; global.turntimer = 64; with (obj_dbulletcontroller) instance_destroy(); with (obj_shadowman_tommygun) instance_destroy(); with (obj_dbullet_maker) times++; } else { failcon = 2; } } if (failcon == 1 || failcon == 2) { failtimer++; if (failtimer == 11) draw_type = 0; if (failtimer == 11 && failcon == 2) { failcon = 0; failtimer = 0; } if (failtimer == 45) { snd_play_x(snd_boost, 0.9, 1.2); with (obj_spike_bullet) { if (image_alpha > 0) oflash = scr_oflash(); } with (obj_tommygun_bullet) { if (image_alpha > 0) oflash = scr_oflash(); } with (obj_rabbitbullet) { if (image_alpha > 0) oflash = scr_oflash(); } state = 1; } if (failtimer == 55) { with (obj_bulletparent) { if (image_alpha > 0) { for (var i = 0; i < 8; i++) { with (instance_create_depth(x, y, depth - 1, obj_shinobeetle_smokecloud)) { image_xscale = 0.3; image_yscale = 0.3; image_index = i; image_speed = 0; direction = 45 + (i * 90); speed = 1 + random(1); image_alpha -= random(0.07); fadespeed = 0.06; } } } } with (obj_bulletparent) instance_destroy(); } if (failtimer == 60) { failtimer = 0; failcon = 0; state = 0; } } if (global.mnfight == 2 && global.turntimer <= 1) { if (setbattlemsg == false) { global.typer = 6; global.fc = 0; rr = choose(0, 1, 2, 3); if (scr_messagepriority(random(2))) { var substring = string(myself); if (rr == 0) global.battlemsg[0] = stringsetsubloc("* Netskie swisches its big fluffy tail (which it has).", "obj_netskie_enemy_slash_Step_0_gml_266_0"); if (rr == 1) global.battlemsg[0] = stringsetsubloc("* Netskie stamps (kan) and stomps (kon).", "obj_netskie_enemy_slash_Step_0_gml_267_0"); if (rr == 2) global.battlemsg[0] = stringsetsubloc("* Netskie scratches where a heart had been carved in it.", "obj_netskie_enemy_slash_Step_0_gml_268_0"); if (rr == 3) global.battlemsg[0] = stringsetsubloc("* Netskie does a tricky trick^1! (Kickflip?)", "obj_netskie_enemy_slash_Step_0_gml_269_0"); if (irandom(100) < 3) global.battlemsg[0] = stringsetsubloc("* Smells like wood.", "obj_netskie_enemy_slash_Step_0_gml_270_0"); } if (global.monsterstatus[myself] == 1) { if (scr_messagepriority(100)) global.battlemsg[0] = stringsetloc("* Netskie is snoring like a log.", "obj_netskie_enemy_slash_Step_0_gml_286_0"); } if (global.monsterhp[myself] <= (global.monstermaxhp[myself] / 4)) { if (scr_messagepriority(101)) { var substring = string(myself); global.battlemsg[0] = stringsetloc("* Netskie is peeling.", "obj_netskie_enemy_slash_Step_0_gml_276_0"); } } if (global.mercymod[myself] >= 100) { if (scr_messagepriority(102)) global.battlemsg[0] = stringsetloc("* Netskie laughs spareably.", "obj_netskie_enemy_slash_Step_0_gml_281_0"); } setbattlemsg = true; if (aquascene1con == 1 && aquabattle == true && global.mercymod[myself] >= 100) aquacon = 10; } } } if (global.myfight == 3) { xx = __view_get(e__VW.XView, 0); yy = __view_get(e__VW.YView, 0); if (acting == 1 && actcon == 0) { actcon = 1; draw_kitsune_tail = true; msgsetloc(0, "* NETSKIE - Tail looks like this/%", "obj_netskie_enemy_slash_Step_0_gml_308_0"); scr_battletext_default(); } if (acting == 2 && actcon == 0) { actcon = 1; msgsetloc(0, "* You tried to break the enemy's ruse!&* Touch the FAKE BULLETS!/%", "obj_netskie_enemy_slash_Step_0_gml_315_0"); scr_battletext_default(); if (global.encounterno != 229) faker_type = choose(1, 2, 3); } if (acting == 3 && actcon == 0) { var rand = choose(0, 1, 2); with (obj_herokris) x += 80; if (rand == 0) { with (obj_herokris) y += 12; msgsetloc(0, "* Your Berdly impression!", "obj_netskie_enemy_slash_Step_0_gml_328_0"); krissprite = scr_act_charsprite("kris", spr_kris_chicken, 0.16666666666666666, 1); } if (rand == 1) { msgsetloc(0, "* Your Jockington impression!", "obj_netskie_enemy_slash_Step_0_gml_333_0"); krissprite = scr_act_charsprite("kris", spr_krisb_wiggle, 0.16666666666666666, true); } if (rand == 2) { msgsetloc(0, "* Your Susie impression!", "obj_netskie_enemy_slash_Step_0_gml_338_0"); krissprite = scr_act_charsprite("kris", spr_kris_susie_pose, 0.16666666666666666, false); } scr_simultext("kris"); if (global.hp[2] < 1 && global.hp[3] < 1) scr_mercyadd(myself, 30); else scr_mercyadd(myself, 10); if (simulorderkri == 0) actcon = 20; else actcon = 1; } if (actingsus == 1 && actconsus == 1) { var rand = choose(0, 1, 2); if (rand == 0) { with (obj_herosusie) x -= 18; with (obj_herosusie) y += 25; msgsetloc(0, "* Susie's Lancer impression!", "obj_netskie_enemy_slash_Step_0_gml_358_0"); scr_act_charsprite("susie", spr_susie_laugh_spin, 0.1, 1); } if (rand == 1) { msgsetloc(0, "* Susie's Kris impression!", "obj_netskie_enemy_slash_Step_0_gml_363_0"); scr_act_charsprite("susie", spr_susie_kris_pose, 0.16666666666666666, 1); } if (rand == 2) { msgsetloc(0, "* Susie's Ralsei impression!", "obj_netskie_enemy_slash_Step_0_gml_368_0"); scr_act_charsprite("susie", spr_susie_ralsei_pose, 0.16666666666666666, 1); } scr_simultext("susie"); if (global.hp[1] < 1 && global.hp[3] < 1) scr_mercyadd(myself, 29); else scr_mercyadd(myself, 9); global.flag[1888] = 1; if (simulordersus == 0) actconsus = 20; else actconsus = 0; } if (actingral == 1 && actconral == 1) { var rand = choose(0, 1); with (obj_heroralsei) x += 80; if (rand == 0) { msgsetloc(0, "* Ralsei's Impressionist art!", "obj_netskie_enemy_slash_Step_0_gml_387_0"); if (global.flag[1311] == 0) { obj_heroralsei.y -= 30; if (global.lang == "ja") ralseisprite = scr_act_charsprite("ralsei", spr_ralsei_nohat_money_ja, 0.16666666666666666, 1); else ralseisprite = scr_act_charsprite("ralsei", spr_ralsei_nohat_impressionist_painting, 0.16666666666666666, 1); } else { obj_heroralsei.y -= 30; if (global.lang == "ja") ralseisprite = scr_act_charsprite("ralsei", spr_ralsei_hat_money_ja, 0.16666666666666666, 1); else ralseisprite = scr_act_charsprite("ralsei", spr_ralsei_hat_impressionist_painting, 0.16666666666666666, 1); } } if (rand == 1) { msgsetloc(0, "* Ralsei's impression fossil!", "obj_netskie_enemy_slash_Step_0_gml_401_0"); if (global.flag[1311] == 0) { obj_heroralsei.y -= 30; ralseisprite = scr_act_charsprite("ralsei", spr_ralsei_nohat_impressionist_fossil, 0.16666666666666666, 1); } else { obj_heroralsei.y -= 30; ralseisprite = scr_act_charsprite("ralsei", spr_ralsei_hat_impressionist_fossil, 0.16666666666666666, 1); } } with (obj_marker) { if (sprite_index == spr_ralsei_nohat_impressionist_painting || sprite_index == spr_ralsei_hat_impressionist_painting || sprite_index == spr_ralsei_nohat_impressionist_fossil || sprite_index == spr_ralsei_hat_impressionist_fossil || sprite_index == spr_ralsei_nohat_money_ja || sprite_index == spr_ralsei_hat_money_ja) { obj_heroralsei.x -= 10; depth -= 9999; } } scr_simultext("ralsei"); if (global.hp[1] < 1 && global.hp[2] < 1) scr_mercyadd(myself, 29); else scr_mercyadd(myself, 9); global.flag[1888] = 1; if (simulorderral == 0) actconral = 20; else actconral = 0; } if (actcon == 20 || actconsus == 20 || actconral == 20) { if (scr_terminate_writer()) { with (obj_heroparent) { x = xstart; y = ystart; } scr_act_charsprite_end(); scr_battle_sprite_reset("kris"); scr_battle_sprite_reset("susie"); scr_battle_sprite_reset("ralsei"); actconsus = -1; actconral = -1; actcon = 1; } } if (actcon == 1 && !instance_exists(obj_writer)) { with (obj_heroparent) { x = xstart; y = ystart; } scr_act_charsprite_end(); scr_battle_sprite_reset("kris"); scr_battle_sprite_reset("susie"); scr_battle_sprite_reset("ralsei"); scr_nextact(); draw_kitsune_tail = false; } } if (state == 3) { if (global.monster[myself] == 0) hurtsprite = spr_tree_fox_hurt_w_tail; scr_enemyhurt_tired_after_damage(0.5); scr_enemy_hurt(); } if (aquacon == 1) { aquatimer++; if (aquatimer == 1) { if (global.mercymod[myself] < 66) global.mercymod[myself] = 66; with (aquamarker) scr_jump_to_point(camerax() + 320, obj_netskie_enemy.y + 10, 50, 10); snd_play(snd_jump); } if (aquatimer == 11) { snd_play(snd_impact); scr_shakescreen(); } if (aquatimer == 20) { aquatimer = 0; aquacon = 2; with (aquamarker) { global.typer = 50; msgsetloc(0, "Ooo^1, what&are we playing?!/%", "obj_netskie_enemy_slash_Step_0_gml_516_0"); scr_enemyblcon(x + 21, y - 8, 13); } } } if (aquacon == 2) { aquatimer++; if ((button3_p() && aquatimer > 15) || !i_ex(obj_writer)) { with (obj_writer) instance_destroy(); aquatimer = 0; aquacon = 3; } } if (aquacon == 3) { aquatimer++; if (aquatimer == 1) { for (var i = 0; i < 8; i++) { with (instance_create_depth(x + 44, y + 48, depth - 1, obj_shinobeetle_smokecloud)) { image_xscale = 2; image_yscale = 2; image_index = i; image_speed = 0; direction = 45 + (i * 90); speed = 2 + random(1); image_alpha -= random(0.07); fadespeed = 0.06; } } for (var i = 0; i < 8; i++) { with (instance_create_depth(x + 44, y + 48, depth - 1, obj_shinobeetle_smokecloud)) { image_xscale = 2; image_yscale = 2; image_index = i; image_speed = 0; direction = 10 + (i * 90); speed = 2 + random(1); image_alpha -= random(0.07); fadespeed = 0.06; } } snd_play(snd_magicsprinkle); } if (aquatimer == 12) { draw_type = 4; aquatimer = 0; aquacon = 4; global.typer = 50; msgsetloc(0, "What are we&playing~/%", "obj_netskie_enemy_slash_Step_0_gml_574_0"); scr_enemyblcon(x + 30, global.monstery[myself] - 40, 13); with (aquamarker) image_xscale *= -1; } } if (aquacon == 4) { aquatimer++; if ((button3_p() && aquatimer > 15) || !i_ex(obj_writer)) { with (obj_writer) instance_destroy(); aquatimer = 0; aquacon = 5; if (i_ex(obj_netskie_enemy)) { with (aquamarker) scr_jump_to_point(obj_netskie_enemy.x + 10, obj_netskie_enemy.y - 50, 50, 10); } snd_play(snd_jump); with (aquamarker) { sprite_index = spr_enemy_aqua_spin; image_xscale *= -1; image_index = other.siner + 0.5; } } } if (aquacon == 5) { aquatimer++; if (aquatimer >= 11) { snd_play(snd_item); draw_type = 5; with (aquamarker) { global.typer = 50; msgsetloc(0, "Uuu^1, copy game,© game!/%", "obj_netskie_enemy_slash_Step_0_gml_610_0"); scr_enemyblcon(x - 16, y + 30, 10); } aquatimer = 0; aquacon = 6; } } if (aquacon == 6) { aquatimer++; if ((button3_p() && aquatimer > 15) || !i_ex(obj_writer)) { with (obj_writer) instance_destroy(); global.typer = 50; msgsetloc(0, "Don't touch&the originals~/%", "obj_netskie_enemy_slash_Step_0_gml_624_0"); scr_enemyblcon(x - 18, global.monstery[myself], 10); aquatimer = 0; aquacon = 7; } } if (aquacon == 7) { aquatimer++; if ((button3_p() && aquatimer > 15) || !i_ex(obj_writer)) { with (obj_writer) instance_destroy(); aquatimer = 0; aquacon = 8; } } if (aquacon == 8) { aquatimer++; if (aquatimer == 1) { scr_move_to_point_over_time(x + 21, y + 45, 5); sprite_index = spr_enemy_aqua_idle; draw_type = 4; with (aquamarker) { scr_move_to_point_over_time(x + 10, y - 5, 5); sprite_index = spr_enemy_aqua_idle; } } if (aquatimer == 6) { with (obj_writer) instance_destroy(); aquatimer = 0; aquacon = 9; global.mnfight = 2; scr_randomtarget(); setbattlemsg = false; myattackchoice = 0; myattackpriority = 1; if (!instance_exists(obj_darkener)) instance_create(0, 0, obj_darkener); if (!instance_exists(obj_growtangle)) instance_create(__view_get(e__VW.XView, 0) + 320, __view_get(e__VW.YView, 0) + 170, obj_growtangle); if (!instance_exists(obj_moveheart)) scr_moveheart(); global.hittarget[myself] = 0; global.monsterattackname[myself] = "fan of knives"; dc = scr_bulletspawner(x, y, obj_dbulletcontroller); dc.type = 309; dc.special = 1; scr_turntimer(99999); aquascene1con = 1; } } if (aquacon == 9) { global.turntimer = 99999; if (global.mercymod[myself] >= 100) { global.turntimer = -1; with (obj_battlecontroller) noreturn = 1; aquacon = 10; aquatimer = -30; } } if (aquacon == 10) { aquatimer++; if (aquatimer == 1) { seth = instance_create_depth(camerax() + 300, (cameray() + cameraheight()) - 52, obj_battlecontroller.depth + 1000, obj_marker); seth.sprite_index = spr_seth_walk_up; seth.speed = 5; seth.direction = 90; seth.image_speed = 0.16666666666666666; seth.image_xscale = 2; seth.image_yscale = 2; } if (aquatimer >= 54) { seth.sprite_index = spr_seth_adjust_glasses; seth.speed = 0; global.typer = 50; msgsetloc(0, "Hey^1, have you&guys seen.../%", "obj_netskie_enemy_slash_Step_0_gml_712_0"); scr_enemyblcon(seth.x + 28, seth.y - 14, 13); aquatimer = 0; aquacon = 11; } } if (aquacon == 11) { aquatimer++; if ((button3_p() && aquatimer > 15) || !i_ex(obj_writer)) { with (obj_writer) instance_destroy(); aquatimer = 0; aquacon = 12; seth.sprite_index = spr_seth_panic_centered_flipped; seth.y += 60; with (seth) scr_shakeobj(); global.typer = 50; msgsetloc(0, "Have we&seen what?/%", "obj_netskie_enemy_slash_Step_0_gml_734_0"); scr_enemyblcon(x - 14, global.monstery[myself] + 43, 10); } } if (aquacon == 12) { aquatimer++; if ((button3_p() && aquatimer > 15) || !i_ex(obj_writer)) { with (obj_writer) instance_destroy(); aquatimer = 0; aquacon = 12.5; } } if (aquacon == 12.5) { aquatimer++; if (aquatimer == 1) { draw_type = 4.5; y -= 64; scr_lerpvar("x", x, ((seth.x + 31) - 50 - 26) + lengthdir_x(len1, dir1), 20, 1, "out"); scr_lerpvar("y", y, ((seth.y + 31) - 124 - 30) + lengthdir_y(len1, dir1), 20, 1, "out"); with (aquamarker) { sprite_index = spr_enemy_aqua_spin; image_speed = 1/3; scr_lerpvar("x", x, ((other.seth.x + 11) - 26) + lengthdir_x(other.len2, other.dir2), 20, 1, "out"); scr_lerpvar("y", y, (other.seth.y - 11 - 30) + lengthdir_y(other.len2, other.dir2), 20, 1, "out"); } } if (aquatimer == 21) { with (obj_writer) instance_destroy(); aquatimer = -30; circletimer = -10; aquacon = 13; } } if (aquacon == 13) { aquatimer++; circletimer++; x = lerp(x, ((seth.x + seth.speed + 31) - 50 - 26) + lengthdir_x(len1, dir1), 0.4); y = lerp(y, ((seth.y + 31) - 124 - 30) + other.yy1 + lengthdir_y(len1, dir1), 0.4); with (aquamarker) { x = lerp(x, ((other.seth.x + other.seth.speed + 11) - 26) + lengthdir_x(other.len2, other.dir2), 0.4); y = lerp(y, ((other.seth.y + other.yy1) - 11 - 30) + lengthdir_y(other.len2, other.dir2), 0.4); } dir1 += 7; dir2 += 7; if (aquacon != 14) { if ((circletimer >= 1 && circletimer < 11) || (circletimer >= 21 && circletimer < 31)) { with (obj_writer) instance_destroy(); global.typer = 50; msgsetloc(0, "What?", "obj_netskie_enemy_slash_Step_0_gml_824_0"); inst = scr_enemyblcon(x + 46, y + 70, 13); inst.target = id; with (aquamarker) { msgsetloc(0, "What?", "obj_netskie_enemy_slash_Step_0_gml_829_0"); inst = scr_enemyblcon(x + 21, y - 10, 13); inst.target = id; } with (obj_writer) pos = 100; with (obj_battleblcon) aquafollowballoon = true; } else { with (obj_writer) instance_destroy(); } } if (circletimer == 40) circletimer = 0; if (circletimer == 1 || circletimer == 21) { if (seth.image_xscale == -2) seth.image_xscale = 2; else seth.image_xscale = -2; if (seth.hspeed == 0) { with (seth) scr_shakeobj(); snd_play(snd_wing); } } if (aquatimer == 50) { seth.sprite_index = spr_seth_dizzy_flipped; seth.x -= 0; seth.y -= 8; seth.image_xscale = -2; seth.gravity = 0.5; seth.gravity_direction = 0; exit; } if (aquatimer >= 100) { aquacon = 15; scr_wincombat(); exit; } } vsp += grav; yy1 += vsp; if (yy1 > 0) { yy1 = 0; vsp = 0; grav = 0; } enum e__VW { XView, YView, WView, HView, Angle, HBorder, VBorder, HSpeed, VSpeed, Object, Visible, XPort, YPort, WPort, HPort, Camera, SurfaceID }