if (blockbuffer > 0) blockbuffer--; if (global.monster[myself] == 1) { if (scr_isphase("enemytalk") && talked == 0) { scr_randomtarget(); if (!instance_exists(obj_darkener)) instance_create(0, 0, obj_darkener); with (obj_poppup_ad) state = 2; global.typer = 50; var dialogText = stringsetloc("", "obj_poppup_enemy_slash_Step_0_gml_18_0"); if (random(100) >= 99) { dialogText = stringsetloc("GOKARMASHI&O INARY....?", "obj_poppup_enemy_slash_Step_0_gml_22_0"); } else { dialogText = stringsetloc("", "obj_poppup_enemy_slash_Step_0_gml_25_0"); rr = choose(0, 1, 2, 3); if (rr == 0) dialogText = stringsetloc(".....ASOBOH&......?", "obj_poppup_enemy_slash_Step_0_gml_27_0"); if (rr == 1) dialogText = stringsetloc("...OTANJOBY..&OMEDETOH...?", "obj_poppup_enemy_slash_Step_0_gml_28_0"); if (rr == 2) dialogText = stringsetloc("This application is only&supported by OS 2000.", "obj_poppup_enemy_slash_Step_0_gml_29_0"); if (rr == 3) dialogText = stringsetloc("Click Here! Click Here!&Click Here! Click Here!", "obj_poppup_enemy_slash_Step_0_gml_30_0"); if (global.monsterstatus[myself] == 1 && !becameTired) { becameTired = true; dialogText = stringsetloc("...NEMMUY...", "obj_poppup_enemy_slash_Step_0_gml_35_0"); } } if (avoiding) dialogText = stringsetloc("NEED...&LOOK...&ME...", "obj_poppup_enemy_slash_Step_0_gml_41_0"); if (global.mercymod[myself] >= global.mercymax[myself] && !becameSpareable) { becameSpareable = true; avoiding = false; dialogText = stringsetloc("...HAPPI...", "obj_poppup_enemy_slash_Step_0_gml_48_0"); } msgset(0, dialogText); scr_enemyblcon((x - 40 - 42) + 70, (global.monstery[myself] - 125 - 62) + 172, 10); talked = 1; talktimer = 0; } if (talked == 1 && scr_isphase("enemytalk")) { rtimer = 0; scr_blconskip(15); if (scr_isphase("bullets")) { if (!instance_exists(obj_moveheart)) scr_moveheart(); if (!instance_exists(obj_growtangle)) instance_create(__view_get(e__VW.XView, 0) + 320, __view_get(e__VW.YView, 0) + 170, obj_growtangle); } } if (scr_isphase("bullets") && attacked == 0) { rtimer += 1; if (rtimer == 12) { if (scr_monsterpop() == 0 || (myself != 0 && scr_attackprepcheck(myself, "Popups") > (myself - 1)) || allblocked) rr = 0; else rr = choose(0, 1); if (rr == 0) { global.monsterattackname[myself] = "Birds"; dc = scr_bulletspawner(x, y, obj_dbulletcontroller); dc.type = 11; if (avoiding) dc.special = 1; } else { global.monsterattackname[myself] = "Popups"; dc = scr_bulletspawner(x, y, obj_dbulletcontroller); dc.type = 12; if (avoiding) dc.special = 1; } scr_turntimer(140); turns += 1; global.typer = 6; global.fc = 0; var battleText = stringsetloc("", "obj_poppup_enemy_slash_Step_0_gml_110_0"); rr = choose(0, 1, 2, 3); if (rr == 0) battleText = stringsetloc("* Poppup is begging you to click on a broken link with puppy dog eyes.", "obj_poppup_enemy_slash_Step_0_gml_112_0"); if (rr == 1) battleText = stringsetloc("* Poppup is preening its weird rubbery flesh.", "obj_poppup_enemy_slash_Step_0_gml_113_0"); if (rr == 2) { var randomText = stringsetloc("", "obj_poppup_enemy_slash_Step_0_gml_116_0"); var randomChoice = choose(0, 1, 2, 3, 4, 5, 6); if (randomChoice == 0) randomText = stringsetloc("Liimo Berry", "obj_poppup_enemy_slash_Step_0_gml_120_0"); else if (randomChoice == 1) randomText = stringsetloc("PlayTime", "obj_poppup_enemy_slash_Step_0_gml_123_0"); else if (randomChoice == 2) randomText = stringsetloc("its tongue to be pressed in so it doesn't feel hunger anymore", "obj_poppup_enemy_slash_Step_0_gml_126_0"); else if (randomChoice == 3) randomText = stringsetloc("Scary Noise", "obj_poppup_enemy_slash_Step_0_gml_129_0"); else if (randomChoice == 4) randomText = stringsetloc("To Play With You In The Mystical Island Of Mysticisland", "obj_poppup_enemy_slash_Step_0_gml_132_0"); else if (randomChoice == 5) randomText = stringsetloc("Do Taxes At 7:44 AM", "obj_poppup_enemy_slash_Step_0_gml_135_0"); else if (randomChoice == 6) randomText = stringsetloc("Randomized String 1", "obj_poppup_enemy_slash_Step_0_gml_138_0"); battleText = stringsetsubloc("* Poppup wants ~1", randomText, "obj_poppup_enemy_slash_Step_0_gml_140_0"); } if (rr == 3) battleText = stringsetloc("* Smells like tropical candy.", "obj_poppup_enemy_slash_Step_0_gml_142_0"); if (global.monsterstatus[myself] == 1) battleText = stringsetloc("* Poppup feels like it's been put upside down in a closet.", "obj_poppup_enemy_slash_Step_0_gml_146_0"); if (global.mercymod[myself] >= global.mercymax[myself]) battleText = stringsetloc("* Poppup is popping with joy!", "obj_poppup_enemy_slash_Step_0_gml_151_0"); global.battlemsg[0] = battleText; attacked = 1; } else { scr_turntimer(120); } } } 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; msgsetloc(0, "* POPPUP - A rubbery mascot starved for attention. Click it and...?/%", "obj_poppup_enemy_slash_Step_0_gml_176_0"); scr_battletext_default(); } if (acting == 2 && actcon == 0) { if (avoiding) { avoiding = false; idlesprite = spr_poppup_idle; } if (scr_monsterpop() == 3) { staticOwner = true; actcon = 10; msgsetloc(0, "* You just kept clicking and clicking on ads!!/%", "obj_poppup_enemy_slash_Step_0_gml_192_0"); } else { actcon = 5; rr = choose(0, 1, 2); if (rr == 0) msgsetloc(0, "* You unconsciously clicked on a popup about \"monsters 4 humans\" \"in your area,\"/%", "obj_poppup_enemy_slash_Step_0_gml_198_0"); if (rr == 1) msgsetloc(0, "* You unconsciously clicked on an ad for a video about making knives out of spaghetti./%", "obj_poppup_enemy_slash_Step_0_gml_199_0"); if (rr == 2) msgsetloc(0, "* You unconsciously clicked on a popup about demon summoning classes for teens./%", "obj_poppup_enemy_slash_Step_0_gml_200_0"); } scr_battletext_default(); } if (actcon == 10 && !instance_exists(obj_writer)) { if (staticPoppup < 21) { staticPoppup++; cloning = true; snd_stop(snd_acquire_lancer); snd_play(snd_acquire_lancer); overload = instance_create(x, y, obj_poppup_overload); overload.image_index = siner; if (staticPoppup == 1) { overload.direction = 180; overload.speed = 14; overload.friction = 1; overload.depth = depth + 1; } if (staticPoppup == 2) { overload.direction = 110; overload.speed = 14; overload.friction = 1; overload.depth = depth + 1; } if (staticPoppup == 3) { overload.direction = 290; overload.speed = 10; overload.friction = 1; overload.depth = depth - 1; } if (staticPoppup > 3) { overload.direction = clonedirection; overload.speed = 28; overload.friction = 1 + (random(53) / 30); overload.depth = depth - 1; clonedirection += (197 + random(35)); } actcon = 9; if (staticPoppup < 3) alarm[4] = 9; if (staticPoppup > 2) alarm[4] = 6; if (staticPoppup > 5) alarm[4] = 3; } else { actcon = 5; } } if (actcon == 5 && !instance_exists(obj_writer)) { actcon = 1; if (staticPoppup > 20) { with (obj_poppup_overload) speed = 0; snd_stop(snd_acquire_lancer); msgsetloc(0, "* The Poppups crashed!/%", "obj_poppup_enemy_slash_Step_0_gml_239_0"); scr_battletext_default(); actcon = 5.1; with (obj_poppup_overload) image_speed = 0; with (obj_poppup_enemy) alarm[6] = 1; } else { cloning = true; snd_play(snd_acquire_lancer); newpopupid = scr_monster_add(31, obj_poppup_enemy); global.monsterinstance[newpopupid].cloning = true; global.monsterinstance[newpopupid].x = x; global.monsterinstance[newpopupid].y = y; global.monsterinstance[newpopupid].siner = siner; with (global.monsterinstance[newpopupid]) scr_move_to_point_over_time(global.monstermakex[myself], global.monstermakey[myself], 20); actcon = 6; alarm[4] = 20; } } if (actcon == 5.1) { with (obj_battleback) { siner -= 0.5; siner2 -= 1; } } if (actcon == 5.1 && !instance_exists(obj_writer)) { actcon = 5.2; with (obj_poppup_overload) con = 1; } if (actcon == 5.2 && !instance_exists(obj_poppup_overload)) { with (obj_poppup_enemy) { for (var __i = 1; __i < 3; __i++) { if (global.actingtarget[__i] == myself && global.char[__i] > 0) { global.acting[__i] = 0; global.actingsimul[__i] = 0; global.actingsingle[__i] = 0; global.faceaction[__i] = 0; } } scr_mercyadd(myself, 100); scr_spare(myself); } actcon = 1; } if (actcon == 7 && !instance_exists(obj_writer)) { cloning = false; global.monsterinstance[newpopupid].cloning = false; actcon = 1; msgsetloc(0, "* Huh...!? That made another one!?/%", "obj_poppup_enemy_slash_Step_0_gml_298_0"); scr_battletext_default(); } if (acting == 3 && actcon == 0) { blockAds = 5; blocked = 0; blockTimer = false; popupscreated = 0; msgsetsubloc(0, "* Press ~1 repeatedly to block the ads!!/%", scr_get_input_name(6), "obj_poppup_enemy_slash_Step_0_gml_309_0"); scr_battletext_default(); actcon = 20.5; var randomX = random_range(camerax() + 260, camerax() + 380); var randomY = random_range(cameray() + 170, cameray() + 230); ads[popupscreated] = instance_create(randomX, randomY, obj_poppup_ad); popupscreated++; } if (actcon == 20.5 && !instance_exists(obj_writer)) { if (poppupwait == 1) { poppupwait = 0; } else if (blockTimer == true && popupscreated < 10) { var randomX = random_range(camerax() + 190, camerax() + 450); var randomY = random_range(cameray() + 70, cameray() + 230); ads[popupscreated] = instance_create(randomX, randomY, obj_poppup_ad); popupscreated++; poppupwait = 1; } if (button3_p() && blockbuffer == 0) { blockbuffer = 2; if (blockTimer == false) { blockTimer = true; alarm[4] = 75; } if (blockAds >= 0) { with (obj_poppup_enemy) mercytotal += 10; with (ads[blocked]) blockstate = 1; blocked++; } if (blocked == 10) actcon = 21.5; } } if (actcon == 21.5) { actcon = 21.6; alarm[4] = 10; } if (actcon == 22.6) { actcon = 22.7; with (obj_poppup_enemy) { if (global.mercymod[myself] < global.mercymax[myself]) scr_mercyadd(myself, mercytotal); if (mercytotal > 0 && global.mercymod[myself] >= 100) allblocked = 1; } alarm[4] = 40; for (var i = 0; i < array_length_1d(ads); i++) { with (ads[i]) instance_destroy(); } if (!instance_exists(obj_blocked_total_fx)) { fx = instance_create(x - 50, y, obj_blocked_total_fx); fx.count = blocked; } snd_play(snd_coin); } if (actcon == 23.7) { actcon = 1; if (instance_exists(obj_writer)) { with (obj_writer) instance_destroy(); } } if (acting == 4 && actcon == 0) { actcon = 30; scr_speaker("no_name"); msgsetloc(0, "* Noelle got nervous and looked at the ground!/%", "obj_poppup_enemy_slash_Step_0_gml_415_0"); scr_battletext_default(); } if (actcon == 30 && !instance_exists(obj_writer)) { if (!avoiding) { with (obj_poppup_enemy) { avoiding = true; idlesprite = spr_poppup_shrivel_idle; } } with (obj_monsterparent) { if (global.monsterstatus[myself] != 1) scr_monster_make_tired(myself); } scr_speaker("no_name"); msgsetloc(0, "* The enemies got shrivelled and TIRED from lack of attention!/%", "obj_poppup_enemy_slash_Step_0_gml_438_0"); scr_battletext_default(); actcon = 1; } if (actingsus == 1 && actconsus == 1) { scr_speaker("no_name"); var a = choose(0, 1, 2); if (a == 0) msgsetloc(0, "* Susie accidentally clicked on an ad featuring a flaming eggplant holding a chainsaw!!/%", "obj_poppup_enemy_slash_Step_0_gml_449_0"); if (a == 1) { msgsetloc(0, "* Susie accidentally clicked on a picture of a steak./", "obj_poppup_enemy_slash_Step_0_gml_453_0"); msgnextloc("* It wasn't actually an ad, just a static image of a steak.../%", "obj_poppup_enemy_slash_Step_0_gml_454_0"); } if (a == 2) { msgsetloc(0, "* Susie missed clicking on an ad and ended up clicking on the word processor./", "obj_poppup_enemy_slash_Step_0_gml_458_0"); msgnextloc("* It got a virus somehow./%", "obj_poppup_enemy_slash_Step_0_gml_459_0"); } scr_battletext_default(); actconsus = 1.1; } if (actconsus == 1.1 && !instance_exists(obj_writer)) { scr_act_charsprite("susie", spr_susie_shock_r, 0, 0); scr_speaker("susie"); msgsetloc(0, "\\E5* D..^1. Damn!^1! They knew what I'd fall for!!/%", "obj_poppup_enemy_slash_Step_0_gml_470_0"); scr_battletext(); if (global.mercymod[myself] < global.mercymax[myself]) scr_mercyadd(myself, 50); actconsus = 0; actcon = 1; } if (actingral == 1 && actconral == 1 && !i_ex(obj_writer)) { scr_speaker("no_name"); var a = choose(0, 1, 2); if (a == 0) { msgsetloc(0, "* Ralsei moved to click on an ad with a bunny on it teaching you how to make friends.../", "obj_poppup_enemy_slash_Step_0_gml_484_0"); msgnextloc("* ...and accidentally clicked on an ad of a machine gun that appeared over it!/%", "obj_poppup_enemy_slash_Step_0_gml_485_0"); } if (a == 1) { msgsetloc(0, "* Ralsei tried to click on an ad with a castle on it.../", "obj_zpoppup_enemy_slash_Step_0_gml_489_0"); msgnextloc("* ...but it was actually an ad for a company that demolishes buildings with bazookas!/%", "obj_poppup_enemy_slash_Step_0_gml_490_0"); } if (a == 2) { msgsetloc(0, "* Ralsei accidentally clicked on an ad for \"lightners 4 darkners in ur area\" and was mortified./", "obj_poppup_enemy_slash_Step_0_gml_494_0"); msgnextloc("* He deleted the browser shortcut on the desktop entirely.../", "obj_poppup_enemy_slash_Step_0_gml_495_0"); msgnextloc("* ...but immediately felt guilty because he thought he had \"deleted the entire internet\"./%", "obj_poppup_enemy_slash_Step_0_gml_496_0"); } scr_battletext_default(); actconral = 1.1; } if (actconral == 1.1 && !instance_exists(obj_writer)) { scr_act_charsprite("ralsei", spr_ralsei_hurt_fixed, 0, 0); scr_speaker("ralsei"); msgsetloc(0, "\\EU* I... I didn't mean to do it... I... I'm sorry!!^1! I repent!!!/%", "obj_poppup_enemy_slash_Step_0_gml_507_0"); scr_battletext(); if (global.mercymod[myself] < global.mercymax[myself]) scr_mercyadd(myself, 50); actconral = 0; actcon = 1; } if (actingnoe == 1 && actconnoe == 1) { scr_mercyadd(myself, 50); var random_line = choose(0, 1, 2); var line = ""; if (random_line == 0) line = stringsetloc("* Noelle misclicked on a link to buy How To Draw Dragons!/", "obj_poppup_enemy_slash_Step_0_gml_524_0"); else if (random_line == 1) line = stringsetloc("* Noelle clicked on a link for creepy game glitch compilations!/", "obj_poppup_enemy_slash_Step_0_gml_527_0"); else if (random_line == 2) line = stringsetloc("* Noelle clicked on a link for Hot Female Santas In Your Area!/", "obj_poppup_enemy_slash_Step_0_gml_530_0"); scr_speaker("no_name"); msgset(0, line); scr_anyface_next("noelle", "8"); msgnextloc("\\E8* Wh-what!? What did I do wrong??/%", "obj_poppup_enemy_slash_Step_0_gml_536_0"); scr_battletext(); actconnoe = (simulordernoe == 0) ? 20 : 0; } if (actcon == 1 && !instance_exists(obj_writer)) { scr_act_charsprite_end(); scr_nextact(); } if (actcon == 20 || actconsus == 20 || actconral == 20 || actconnoe == 20) { if (scr_terminate_writer()) { actconsus = -1; actconral = -1; actconnoe = -1; actcon = 1; } } } enum e__VW { XView, YView, WView, HView, Angle, HBorder, VBorder, HSpeed, VSpeed, Object, Visible, XPort, YPort, WPort, HPort, Camera, SurfaceID }