global.monsterhp[myself] = global.monstermaxhp[myself]; if (datecount == 3) global.monsterhp[myself] = global.monstermaxhp[myself] * 0.33; if (datecount >= 2) { dokimax = 20; with (obj_date_ui) dokimax = 20; } if (scr_debug() && keyboard_check_pressed(vk_f1)) { doki = dokimax; with (obj_date_ui) { current = dokimax; show_doki_bar = true; } } if (scr_debug() && keyboard_check_pressed(vk_f7)) { with (obj_tensionbar) { maxtensionlimitpercent = 100; maxtensionlimit = 250; } } if (scr_debug() && keyboard_check_pressed(ord("I"))) { datecount++; if (datecount > 3) datecount = 3; if (datecount == 2) { with (obj_heroralsei) defeatsprite = spr_ralsei_kneel; } if (datecount >= 2 && ghostintrocon == 0) ghostintrocon = 1; phaseturns = 0; if (datecount == 3) { turnredcon = 1; mus_volume(global.batmusic[0], 0, 15); mus_volume(global.batmusic[1], 0, 15); global.actsimul[myself][1] = 0; global.actsimulsus[myself][0] = 0; global.actsimulral[myself][0] = 0; global.actsimul[myself][2] = 0; global.actsimulsus[myself][1] = 0; global.actsimulral[myself][1] = 0; } } if (introcon == 0) { global.typer = 50; msgset(0, pink_battle_dialogue1); scr_enemyblcon(x, global.monstery[myself] - 20, 10); talked = 0.4; ballooncon = 1; introcon = 1; global.charturn = 3; } if (damagedialogue == 1) { talktimer++; if (talktimer >= 10) { snd_stop(snd_pink_laugh_short); snd_stop(snd_pink_laugh_long); snd_play_x(snd_pink_laugh_short, 1, 1); global.typer = 50; msgsetloc(0, "This body is&invincible^1, you fool!!!/%", "obj_pink_enemy_slash_Step_0_gml_29_0"); scr_enemyblcon(x - 10, global.monstery[myself] - 10, 10); idlesprite = spr_pink_front_ohoho; damagedialogue = 2; talktimer = 0; } } if (damagedialogue == 2) { talktimer++; if ((button3_p() && talktimer > 15) || !i_ex(obj_writer)) { with (obj_writer) instance_destroy(); idlesprite = spr_pink_idle; damagedialogue = 3; } } if (phase4introcon == 1) { phase4introtimer++; if (phase4introtimer == 1) global.charturn = 3; if (phase4introtimer == 30) { global.typer = 50; msgset(0, pink_battle_dialogue42); blcon = scr_enemyblcon(x - 200, global.monstery[myself] - 30, 18); blcon.mywriter.shake = 2; idlesprite = spr_pink_very_hurt; electricity_con = 1; ballooncon = 24; balloonend = 0; talked = 0.6; phase4introcon = 2; } } if (phase4introcon == 3 && !i_ex(obj_writer)) phase4introcon = 0; if (datecount > 0 || (datecount == 0 && phaseturns >= 3)) { with (obj_date_ui) show_doki_bar = true; } if (global.monster[myself] == 1) { if (scr_isphase("enemytalk") && talked == 0 && explosioncon == 0 && ghostintrocon != 1 && (damagedialogue == 0 || damagedialogue == 3)) { if (i_ex(obj_date_ui) && obj_date_ui.con == 1) exit; global.typer = 50; if (looping == false && datecount == 1 && phaseturns == 2 && doki < dokimax) { if (balloon_timer == 0) { msgset(0, pink_battle_dialogue26); blcon = scr_enemyblcon(x - 30, global.monstery[myself] - 70, 18); blcon.notail = true; } if (balloon_timer == 20) { msgset(0, pink_battle_dialogue27); blcon = scr_enemyblcon(x + 17, global.monstery[myself] - 30, 18); blcon.notail = true; pink_bg_con = 3; } balloon_timer++; if (balloon_timer == 40) balloon_timer = 0; else exit; } var __len = 70; if (looping == false && datecount == 1 && phaseturns == 3) { if (balloon_timer == 0) { msgset(0, pink_battle_dialogue28); blcon = scr_enemyblcon((x + lengthdir_x(__len, 0)) - 14, (global.monstery[myself] - 20) + lengthdir_y(__len, 0), 18); blcon.shakecon = 1; blcon.notail = true; } if (balloon_timer == 10) { msgset(0, pink_battle_dialogue29); blcon = scr_enemyblcon((x + lengthdir_x(__len, 40)) - 14, (global.monstery[myself] - 20) + lengthdir_y(__len, 40), 18); blcon.shakecon = 1; blcon.notail = true; } if (balloon_timer == 20) { msgset(0, pink_battle_dialogue30); blcon = scr_enemyblcon((x + lengthdir_x(__len, 80)) - 14, (global.monstery[myself] - 20) + lengthdir_y(__len, 80), 18); blcon.shakecon = 1; blcon.notail = true; } if (balloon_timer == 30) { msgset(0, pink_battle_dialogue31); blcon = scr_enemyblcon((x + lengthdir_x(__len, 120)) - 14, (global.monstery[myself] - 20) + lengthdir_y(__len, 120), 18); blcon.shakecon = 1; blcon.notail = true; } if (balloon_timer == 40) { msgset(0, pink_battle_dialogue32); blcon = scr_enemyblcon((x + lengthdir_x(__len, 160)) - 14, (global.monstery[myself] - 20) + lengthdir_y(__len, 160), 18); blcon.shakecon = 1; blcon.notail = true; } if (balloon_timer == 50) { msgset(0, pink_battle_dialogue32b); blcon = scr_enemyblcon((x + lengthdir_x(__len, 200)) - 14, (global.monstery[myself] - 20) + lengthdir_y(__len, 200), 18); blcon.shakecon = 1; blcon.notail = true; } if (balloon_timer == 60) { msgset(0, pink_battle_dialogue32c); blcon = scr_enemyblcon((x + lengthdir_x(__len, 240)) - 14, (global.monstery[myself] - 20) + lengthdir_y(__len, 240), 18); blcon.shakecon = 1; blcon.notail = true; } if (balloon_timer == 70) { msgset(0, pink_battle_dialogue32d); blcon = scr_enemyblcon((x + lengthdir_x(__len, 280)) - 14, (global.monstery[myself] - 20) + lengthdir_y(__len, 280), 18); blcon.shakecon = 1; blcon.notail = true; } if (balloon_timer == 20) { idlesprite = spr_mew_stomp; siner = 0; scr_shakeobj(); snd_play(snd_pink_throw2); } if (balloon_timer == 90) { idlesprite = spr_mew_stomp_angrier; siner = 1; scr_shakeobj(); snd_play(snd_impact); scr_shakescreen(); snd_stop(snd_punchweak); snd_play_x(snd_punchweak, 1, 1.3); with (obj_battleblcon) { instance_destroy(); with (mywriter) instance_destroy(); if (sprite_index == spr_pink_balloon1) { inst = instance_create_depth(x + 47, y + 30, -99999999, obj_animation); inst.sprite_index = spr_heart_pop; inst.image_blend = make_color_rgb(255, 181, 153); inst.image_speed = 0.5; inst.image_xscale = 3; inst.image_yscale = 3; } } } balloon_timer++; if (balloon_timer == 150) balloon_timer = 0; else exit; } scr_randomtarget(); event_user(0); if (!instance_exists(obj_darkener)) instance_create(0, 0, obj_darkener); var _who_is_talking = "pink"; if (looping == false || doki >= dokimax) { if (datecount == 0) { if (doki >= dokimax) { msgset(0, pink_battle_dialogue19h); ballooncon = 9.6; balloonend = 0; dateflashsiner = 0; electricity_con = 1; dateflashcon = 1; idlesprite = spr_pink_shocked; siner = 0; scr_shakeobj(); with (obj_date_ui) blushcon = 1; _who_is_talking = "body"; } else if (phaseturns == 0) { msgset(0, pink_battle_dialogue10); ballooncon = 5; balloonend = 0; idlesprite = spr_pink_laugh; snd_stop(snd_pink_laugh_short); snd_stop(snd_pink_laugh_long); snd_play_x(snd_pink_laugh_short, 1, 1); } else if (phaseturns == 1) { msgset(0, pink_battle_dialogue12); ballooncon = 6; balloonend = 0; } else if (phaseturns == 2) { msgset(0, pink_battle_dialogue14); ballooncon = 7; balloonend = 0; } else if (phaseturns == 3 && doki > 0) { msgset(0, pink_battle_dialogue17); ballooncon = 8; balloonend = 0; idlesprite = spr_pink_front_angry; scr_shakeobj(); snd_play(snd_pink_throw2); } else if (phaseturns == 3 && doki == 0) { msgset(0, pink_battle_dialogue19b); ballooncon = 9.2; balloonend = 0; idlesprite = spr_pink_front_ohoho; snd_stop(snd_pink_throw2); snd_stop(snd_pink_laugh_short); snd_stop(snd_pink_laugh_long); snd_play(snd_pink_laugh_short); } else if (phaseturns == 4) { msgset(0, pink_battle_dialogue19e); ballooncon = 9.4; balloonend = 0; idlesprite = spr_pink_shocked; scr_shakeobj(); snd_stop(snd_pink_laugh_short); snd_stop(snd_pink_laugh_long); snd_play(snd_pink_gasp); } } if (datecount == 1) { if (doki >= dokimax) { msgset(0, pink_battle_dialogue32g); ballooncon = 17; balloonend = 0; electricity_con = 1; idlesprite = spr_pink_shocked; siner = 1; scr_shakeobj(); _who_is_talking = "body"; } else if (phaseturns == 0) { msgset(0, pink_battle_dialogue20); ballooncon = 10; balloonend = 0; idlesprite = spr_pink_yelling; siner = 1; scr_shakeobj(); snd_play_x(snd_pink_gasp, 1, 1); } else if (phaseturns == 1) { msgset(0, pink_battle_dialogue23); ballooncon = 12; balloonend = 0; idlesprite = spr_mew_stomp; siner = 0; scr_shakeobj(); _who_is_talking = "body"; } else if (phaseturns == 2) { msgset(0, pink_battle_dialogue27b); ballooncon = 14; balloonend = 0; blcon = scr_enemyblcon(x - 36, global.monstery[myself] + 25, 18); blcon.x -= 10; blcon.shakecon = 1; blcon.notail = true; _who_is_talking = ""; } else if (phaseturns == 3) { msgset(0, pink_battle_dialogue32e); scr_shakeobj(); ballooncon = 15; balloonend = 0; idlesprite = spr_mew_stomp; siner = 0; } } if (datecount == 2) { if (doki >= dokimax) { msgset(0, pink_battle_dialogue_new_p3_1); tripleghostcon = 1; ballooncon = 23.3; balloonend = 0; _who_is_talking = "ghost"; with (obj_date_ui) con = 1; } else if (phaseturns == 0) { msgset(0, pink_battle_dialogue33); ballooncon = 19; balloonend = 0; turnredcon = 1; turnredtimer = 0; _who_is_talking = "ghost"; } else if (phaseturns == 1) { msgset(0, pink_battle_dialogue36); ballooncon = 21; balloonend = 0; _who_is_talking = "body"; } else if (phaseturns == 2) { msgset(0, pink_battle_dialogue41); ballooncon = 22; balloonend = 0; _who_is_talking = "ralsei"; } else if (phaseturns == 3) { msgset(0, pink_battle_dialogue41d); ballooncon = 23.1; balloonend = 0; _who_is_talking = "ghost"; looping = true; } } if (datecount == 3) { if (phaseturns > 2) phaseturns = 2; if (phaseturns == 2) { doki = 20; with (obj_date_ui) electricity_con = 1; msgset(0, pink_battle_dialogue62); ballooncon = 38; balloonend = 0; _who_is_talking = "ghost"; } else if (phaseturns == 0) { msgset(0, pink_battle_dialogue49); ballooncon = 30; balloonend = 0; _who_is_talking = "body"; idlesprite = spr_pink_very_hurt; } else if (phaseturns == 1) { msgset(0, pink_battle_dialogue52); ballooncon = 32; balloonend = 0; _who_is_talking = "ghost"; } } } else if (datecount == 2) { var _rr = choose(0, 1, 2, 3, 4, 5, 6, 7); if (_rr == 0) { msgset(0, pink_battle_dialogue6b); ballooncon = 0; balloonend = 1; _who_is_talking = "ghost"; } if (_rr == 1) { msgset(0, pink_battle_dialogue6c); ballooncon = 0; balloonend = 1; _who_is_talking = "ghost"; } if (_rr == 2) { msgset(0, pink_battle_dialogue6d); ballooncon = 0; balloonend = 1; _who_is_talking = "ghost"; } if (_rr == 3) { msgset(0, pink_battle_dialogue6e); ballooncon = 0; balloonend = 1; _who_is_talking = "ghost"; } if (_rr == 4) { msgset(0, pink_battle_dialogue6f); ballooncon = 0; balloonend = 1; _who_is_talking = "body"; } if (_rr == 5) { msgset(0, pink_battle_dialogue6g); ballooncon = 0; balloonend = 1; _who_is_talking = "body"; } if (_rr == 6) { msgset(0, pink_battle_dialogue6h); ballooncon = 0; balloonend = 1; _who_is_talking = "body"; } if (_rr == 7) { msgset(0, pink_battle_dialogue6i); ballooncon = 0; balloonend = 1; _who_is_talking = "body"; } } else { var _rr = choose(0, 1, 2, 3); if (_rr == 0) { msgset(0, pink_battle_dialogue6); ballooncon = 0; balloonend = 1; } if (_rr == 1) { msgset(0, pink_battle_dialogue7); ballooncon = 0; balloonend = 1; } if (_rr == 2) { msgset(0, pink_battle_dialogue8); ballooncon = 0; balloonend = 1; } if (_rr == 3) { msgset(0, pink_battle_dialogue9); ballooncon = 0; balloonend = 1; } } phaseturns++; var __x = 0; if (idlesprite == spr_mew_pushing) __x = 12; if (_who_is_talking == "pink") { blcon = scr_enemyblcon((x - 10) + __x, y + 40, 10); if (datecount == 3) blcon.mywriter.shake = 2; } else if (_who_is_talking == "body") { blcon = scr_enemyblcon((x - 180) + __x, y - 10, 18); if (datecount == 3) blcon.mywriter.shake = 2; } else if (_who_is_talking == "ghost") { blcon = scr_enemyblcon(ghostmarker.x, ghostmarker.y - 60, 22); if (datecount == 3) blcon.mywriter.shake = 2; } else if (_who_is_talking == "ralsei") { global.typer = 74; scr_heroblcon("ralsei"); if (global.hp[3] > 0) scr_battle_sprite_set("ralsei", spr_ralsei_idle_mad_lookdown, 0.16666666666666666, true); } else if (_who_is_talking == "susie") { global.typer = 75; scr_heroblcon("susie"); scr_guardpeek(obj_herosusie); } if (ballooncon == 1) talked = 0.4; else if (ballooncon == 0) talked = 0.5; else talked = 0.6; talktimer = 0; rtimer = 0; setbattlemsg = false; } if (talked == 0.5) { talktimer++; if ((button3_p() && talktimer > 15) || !i_ex(obj_writer)) { with (obj_writer) instance_destroy(); alarm[6] = 1; } } if (talked == 0.6 && ghostintrocon != 1) { talktimer++; if (((button3_p() && talktimer > 15) || (!i_ex(obj_writer) && !i_ex(obj_shutupballoon))) || (ballooncon == 14 && talktimer >= 15) || (ballooncon == 14.1 && talktimer >= 15)) { var _who_is_talking = "pink"; if (ballooncon != 14 && ballooncon != 14.1) { with (obj_writer) instance_destroy(); } global.typer = 50; if (ballooncon == 9.3) { with (obj_marker_doomed) image_alpha = lerp(image_alpha, 0, 0.3); with (obj_pink_spotlight) image_alpha = lerp(image_alpha, 0, 0.3); with (obj_pink_dummy) { if (type == "bg") yoffset = lerp(yoffset, 0, 0.1); if (type == "fg") yoffset = lerp(yoffset, 0, 0.1); } with (obj_mewers_live) y = lerp(y, ystart - 90, 0.1); balloon_timer++; if (balloon_timer == 1) scr_dokiadd(myself, 1); if (balloon_timer > 1 && balloon_timer < 60) siner = 0; if (balloon_timer == 60) { idlesprite = spr_pink_sweat_drop; siner = 0; snd_play(snd_awkward); } if (balloon_timer == 60) balloon_timer = 0; else exit; } if (ballooncon == 9.7) { balloon_timer++; if (balloon_timer == 1) { with (obj_date_ui) con = 1; } if (balloon_timer == 14) { idlesprite = spr_pink_shocked_r; scr_shakeobj(); snd_stop(snd_pink_throw2); snd_stop(snd_pink_laugh_short); snd_stop(snd_pink_gasp); snd_stop(snd_pink_laugh_long); snd_play(snd_pink_gasp); } if (balloon_timer == 45) { idlesprite = spr_pink_run; speed = 10; direction = 180; friction = 1; } if (balloon_timer == 55) { speed = 20; direction = 0; friction = 0; } if (balloon_timer == 60) { idlesprite = spr_mew_pushing; speed = 0; x -= 8; siner = 0; } if (balloon_timer == 60) balloon_timer = 0; else exit; } if (ballooncon == 14.2) { balloon_timer++; if (balloon_timer == 1) { siner = 0; idlesprite = spr_mew_kick_r; x = xstart; scr_shakeobj(); snd_play(snd_wing); } if (balloon_timer == 11) { siner = 1; direction = 0; x = xstart; speed = 20; friction = 3; snd_stop(snd_pink_throw2); snd_stop(snd_pink_laugh_short); snd_stop(snd_pink_gasp); snd_stop(snd_pink_laugh_long); snd_play(snd_pink_throw2); } if (balloon_timer == 14) { siner = 2; speed = 0; snd_play(snd_impact); with (obj_date_ui) dokishaketimer = 8; } if (balloon_timer == 45) { balloon_timer = 0; idlesprite = spr_pink_idle; x = xstart; y = ystart; } else { exit; } } if (ballooncon == 18.1) { balloon_timer++; if (balloon_timer == 1) { with (obj_date_ui) con = 1; balloon_timer = 10; } if (balloon_timer == 10) { idlesprite = spr_pink_shocked_r; scr_shakeobj(); snd_stop(snd_pink_throw2); snd_stop(snd_pink_laugh_short); snd_stop(snd_pink_gasp); snd_stop(snd_pink_laugh_long); snd_play(snd_pink_gasp); } if (balloon_timer == 40) { siner = 0; idlesprite = spr_mew_kick; scr_shakeobj(); snd_stop(snd_pink_throw2); snd_stop(snd_pink_laugh_short); snd_stop(snd_pink_gasp); snd_stop(snd_pink_laugh_long); snd_play(snd_wing); } if (balloon_timer == 50) { siner = 1; direction = 225; speed = 10; friction = 1; snd_stop(snd_pink_throw2); snd_stop(snd_pink_laugh_short); snd_stop(snd_pink_gasp); snd_stop(snd_pink_laugh_long); snd_play(snd_pink_throw2); } if (balloon_timer == 53) { siner = 2; with (obj_date_ui) weatherkick_con = 1; } if (balloon_timer == 70) { siner = 0; idlesprite = spr_mew_kick; scr_shakeobj(); snd_stop(snd_pink_throw2); snd_stop(snd_pink_laugh_short); snd_stop(snd_pink_gasp); snd_stop(snd_pink_laugh_long); snd_play(snd_wing); } if (balloon_timer == 80) { siner = 1; direction = 110; speed = 21; friction = 2; snd_stop(snd_pink_throw2); snd_stop(snd_pink_laugh_short); snd_stop(snd_pink_gasp); snd_stop(snd_pink_laugh_long); snd_play(snd_pink_throw2); } if (balloon_timer == 85) { siner = 2; with (obj_date_ui) populationkick_con = 1; } if (balloon_timer >= 100) balloon_timer = 0; else exit; } if (ballooncon == 18.2) { balloon_timer++; if (balloon_timer == 1) { siner = 0; idlesprite = spr_pink_walk_right; } if (balloon_timer < 8) { x = lerp(camerax() + 434, camerax() + 490, balloon_timer / 7); y = lerp(cameray() + 70, cameray() + 162, balloon_timer / 7); } if (balloon_timer == 8) { siner = 0; idlesprite = spr_pink_yelling_r; } if (balloon_timer >= 8) balloon_timer = 0; else exit; } if (ballooncon == 2) { msgset(0, pink_battle_dialogue2); ballooncon = 3; balloonend = 0; scr_enemyblcon(x + 105, (global.monstery[myself] - 119) + 30, 14); _who_is_talking = "none"; scr_shakeobj(); } else if (ballooncon == 3) { msgset(0, pink_battle_dialogue3); ballooncon = 4; balloonend = 0; scr_enemyblcon(x + 105, (global.monstery[myself] - 119) + 30, 14); _who_is_talking = "none"; idlesprite = spr_mew_stomp; siner = 1; scr_shakeobj(); } else if (ballooncon == 4) { msgset(0, pink_battle_dialogue4); ballooncon = 0; balloonend = 1; scr_enemyblcon(x + 105, (global.monstery[myself] - 119) + 30, 14); _who_is_talking = "none"; introcon = 1; idlesprite = spr_pink_laugh; siner = 0; snd_stop(snd_pink_laugh_short); snd_stop(snd_pink_laugh_long); snd_play(snd_pink_laugh_short); } else if (ballooncon == 5) { msgset(0, pink_battle_dialogue11); ballooncon = 0; balloonend = 1; } else if (ballooncon == 6) { msgset(0, pink_battle_dialogue13); ballooncon = 6.1; balloonend = 0; idlesprite = spr_pink_kneeling_sad; siner = 1; snd_play(snd_pink_throw2); } else if (ballooncon == 6.1) { msgset(0, pink_battle_dialogue13b); ballooncon = 6.2; balloonend = 0; idlesprite = spr_pink_laugh; siner = 0; snd_stop(snd_pink_throw2); snd_play(snd_pink_laugh_long); } else if (ballooncon == 6.2) { msgset(0, pink_battle_dialogue13c); with (obj_date_ui) show_doki_bar = true; ballooncon = 6.3; balloonend = 0; idlesprite = spr_pink_sweat_drop; siner = 0; scr_shakeobj(); } else if (ballooncon == 6.3) { msgset(0, pink_battle_dialogue13d); ballooncon = 0; balloonend = 1; } else if (ballooncon == 7) { msgset(0, pink_battle_dialogue15); ballooncon = 7.1; balloonend = 0; } else if (ballooncon == 7.1) { msgset(0, pink_battle_dialogue16); ballooncon = 7.2; balloonend = 0; } else if (ballooncon == 7.2) { msgset(0, pink_battle_dialogue16b); electricity_con = 1; ballooncon = 0; balloonend = 1; _who_is_talking = "body"; idlesprite = spr_pink_shocked; siner = 0; scr_shakeobj(); } else if (ballooncon == 8) { msgset(0, pink_battle_dialogue18); ballooncon = 9; balloonend = 0; idlesprite = spr_pink_front_sweat; siner = 0; scr_shakeobj(); snd_play(snd_pink_throw2); } else if (ballooncon == 9) { msgset(0, pink_battle_dialogue19); ballooncon = 0; balloonend = 1; idlesprite = spr_pink_front_angry; siner = 0; scr_shakeobj(); snd_play(snd_pink_throw2); } else if (ballooncon == 9.2) { msgset(0, pink_battle_dialogue19c); ballooncon = 9.3; balloonend = 0; idlesprite = spr_pink_laugh; siner = 0; snd_stop(snd_pink_throw2); snd_stop(snd_pink_laugh_short); snd_stop(snd_pink_gasp); snd_stop(snd_pink_laugh_long); snd_play(snd_pink_laugh_long); } else if (ballooncon == 9.3) { msgset(0, pink_battle_dialogue19d); ballooncon = 0; balloonend = 1; } else if (ballooncon == 9.4) { msgset(0, pink_battle_dialogue19f); ballooncon = 9.5; balloonend = 0; } else if (ballooncon == 9.5) { msgset(0, pink_battle_dialogue19g); ballooncon = 0; balloonend = 1; } else if (ballooncon == 9.6) { msgset(0, pink_battle_dialogue19i); ballooncon = 9.7; balloonend = 0; electricity_con = 0; electricity_timer = 0; } else if (ballooncon == 9.7) { msgset(0, pink_battle_dialogue19j); ballooncon = 9.8; balloonend = 0; } else if (ballooncon == 9.8) { msgset(0, pink_battle_dialogue19k); ballooncon = 9.9; balloonend = 0; _who_is_talking = "body"; } else if (ballooncon == 9.9) { msgset(0, pink_battle_dialogue19l); global.mnfight = 1.5; ballooncon = 0; balloonend = 1; x -= 10; idlesprite = spr_pink_shocked; siner = 0; scr_shakeobj(); snd_play(snd_pink_throw2); } else if (ballooncon == 10) { msgset(0, pink_battle_dialogue21); ballooncon = 11; balloonend = 0; electricity_con = 1; idlesprite = spr_pink_shocked; _who_is_talking = "body"; } else if (ballooncon == 11) { msgset(0, pink_battle_dialogue22); ballooncon = 0; balloonend = 1; electricity_con = 0; electricity_timer = 0; idlesprite = spr_pink_front_sweat; scr_shakeobj(); snd_stop(snd_pink_throw2); snd_stop(snd_pink_laugh_short); snd_stop(snd_pink_gasp); snd_stop(snd_pink_laugh_long); snd_play(snd_pink_throw2); } else if (ballooncon == 12) { msgset(0, pink_battle_dialogue24); ballooncon = 13; balloonend = 0; siner = 1; scr_shakeobj(); snd_play(snd_impact); scr_shakescreen(); } else if (ballooncon == 13) { msgset(0, pink_battle_dialogue25); ballooncon = 13.1; balloonend = 1; siner = 1; idlesprite = spr_pink_yelling; scr_shakeobj(); } else if (ballooncon == 14) { msgset(0, pink_battle_dialogue27c); ballooncon = 14.1; balloonend = 0; idlesprite = spr_pink_front_angry_blink; scr_shakeobj(); snd_play_x(snd_pink_gasp, 1, 1); } else if (ballooncon == 14.1) { instance_create(x - 230, global.monstery[myself] - 40, obj_shutupballoon); ballooncon = 14.2; balloonend = 0; electricity_con = 1; idlesprite = spr_mew_stomp_angrier; scr_shakeobj(); scr_shakescreen(); snd_play_x(snd_punchheavythunder, 1, 1.3); snd_play_x(snd_punchweak, 1, 1.3); with (obj_battleblcon) { instance_destroy(); with (mywriter) instance_destroy(); if (sprite_index == spr_pink_balloon1) { inst = instance_create_depth(x + 47, y + 30, -99999999, obj_animation); inst.sprite_index = spr_heart_pop; inst.image_blend = make_color_rgb(255, 181, 153); inst.image_speed = 0.5; inst.image_xscale = 3; inst.image_yscale = 3; } } _who_is_talking = ""; } else if (ballooncon == 14.2) { msgset(0, pink_battle_dialogue27e); ballooncon = 0; balloonend = 1; siner = 1; electricity_con = 0; electricity_timer = 0; } else if (ballooncon == 15) { msgset(0, pink_battle_dialogue32f); ballooncon = 0; balloonend = 1; electricity_con = 1; siner = 1; scr_shakeobj(); snd_play(snd_pink_throw2); snd_play(snd_impact); scr_shakescreen(); } else if (ballooncon == 17) { msgset(0, pink_battle_dialogue32h); ballooncon = 18; balloonend = 0; idlesprite = spr_pink_yelling; siner = 0; scr_shakeobj(); snd_play(snd_pink_throw2); } else if (ballooncon == 18) { msgset(0, pink_battle_dialogue32i); ballooncon = 18.1; balloonend = 0; _who_is_talking = "body"; idlesprite = spr_pink_idle; siner = 0; } else if (ballooncon == 18.1) { msgset(0, pink_battle_dialogue32j); ballooncon = 18.2; balloonend = 0; talked = 0.6; scr_enemyblcon(x - 0, y + 40, 10); _who_is_talking = ""; } else if (ballooncon == 18.2) { msgset(0, pink_battle_dialogue32k); ballooncon = 18.3; balloonend = 1; scr_enemyblcon(x + 10, y + 34, 10); _who_is_talking = ""; } else if (ballooncon == 19) { msgset(0, pink_battle_dialogue34); ballooncon = 20; balloonend = 0; _who_is_talking = "body"; } else if (ballooncon == 20) { msgset(0, pink_battle_dialogue35); ballooncon = 0; balloonend = 1; _who_is_talking = "ghost"; } else if (ballooncon == 21) { msgset(0, pink_battle_dialogue37); ballooncon = 21.1; balloonend = 0; _who_is_talking = "ghost"; } else if (ballooncon == 21.1) { msgset(0, pink_battle_dialogue38); ballooncon = 21.2; balloonend = 0; _who_is_talking = "ralsei"; } else if (ballooncon == 21.2) { msgset(0, pink_battle_dialogue39); ballooncon = 21.3; balloonend = 0; _who_is_talking = "ralsei"; } else if (ballooncon == 21.3) { msgset(0, pink_battle_dialogue40); ballooncon = 0; balloonend = 1; _who_is_talking = "ghost"; } else if (ballooncon == 22) { msgset(0, pink_battle_dialogue41b); ballooncon = 23; balloonend = 0; _who_is_talking = "ralsei"; } else if (ballooncon == 23) { msgset(0, pink_battle_dialogue41c); ballooncon = 0; balloonend = 1; _who_is_talking = "ghost"; } else if (ballooncon == 23.1) { msgset(0, pink_battle_dialogue41e); ballooncon = 23.2; balloonend = 0; _who_is_talking = "ghost"; } else if (ballooncon == 23.2) { msgset(0, pink_battle_dialogue41f); ballooncon = 0; balloonend = 1; _who_is_talking = "body"; } else if (ballooncon == 23.3) { msgset(0, pink_battle_dialogue_new_p3_2); ballooncon = 23.4; balloonend = 0; _who_is_talking = "ghost"; } else if (ballooncon == 23.4) { msgset(0, pink_battle_dialogue_new_p3_3); ballooncon = 23.5; balloonend = 0; _who_is_talking = "ghost"; } else if (ballooncon == 23.5) { msgset(0, pink_battle_dialogue_new_p3_4); ballooncon = 0; balloonend = 1; _who_is_talking = "ghost"; } else if (ballooncon == 24) { msgset(0, pink_battle_dialogue43); ballooncon = 25; balloonend = 0; _who_is_talking = "ghost"; } else if (ballooncon == 25) { msgset(0, pink_battle_dialogue44); ballooncon = 26; balloonend = 0; _who_is_talking = "ralsei"; if (global.hp[3] < 1) { star = 2; scr_healitemspell(abs(global.hp[3]) + 1); global.hp[3] = 1; } } else if (ballooncon == 26) { msgset(0, pink_battle_dialogue45); ballooncon = 27; balloonend = 0; _who_is_talking = "ralsei"; } else if (ballooncon == 27) { msgset(0, pink_battle_dialogue46); ballooncon = 28; balloonend = 0; _who_is_talking = "ghost"; } else if (ballooncon == 28) { msgset(0, pink_battle_dialogue47); ballooncon = 29; balloonend = 0; _who_is_talking = "ralsei"; } else if (ballooncon == 29) { msgset(0, pink_battle_dialogue48); ballooncon = 0; balloonend = 1; _who_is_talking = "ralsei"; phase4introcon = 3; ralslookup = 1; } else if (ballooncon == 30) { msgset(0, pink_battle_dialogue50); ballooncon = 31; balloonend = 0; _who_is_talking = "body"; } else if (ballooncon == 31) { msgset(0, pink_battle_dialogue51); ballooncon = 0; balloonend = 1; _who_is_talking = "body"; idlesprite = spr_pink_very_hurt; } else if (ballooncon == 32) { msgset(0, pink_battle_dialogue53); ballooncon = 33; balloonend = 0; _who_is_talking = "ghost"; } else if (ballooncon == 33) { msgset(0, pink_battle_dialogue54); ballooncon = 0; balloonend = 1; _who_is_talking = "body"; idlesprite = spr_pink_very_hurt; } else if (ballooncon == 34) { msgset(0, pink_battle_dialogue56); ballooncon = 35; balloonend = 0; _who_is_talking = "body"; } else if (ballooncon == 35) { msgset(0, pink_battle_dialogue57); ballooncon = 0; balloonend = 1; _who_is_talking = "body"; idlesprite = spr_pink_very_hurt; } else if (ballooncon == 36) { msgset(0, pink_battle_dialogue59); ballooncon = 37; balloonend = 0; _who_is_talking = "ghost"; } else if (ballooncon == 37) { msgset(0, pink_battle_dialogue60); ballooncon = 0; balloonend = 1; _who_is_talking = "ghost"; idlesprite = spr_pink_very_hurt; } else if (ballooncon == 38) { msgset(0, pink_battle_dialogue63); ballooncon = 39; balloonend = 0; _who_is_talking = "ghost"; } else if (ballooncon == 39) { msgset(0, pink_battle_dialogue64); ballooncon = 0; balloonend = 1; _who_is_talking = "ghost"; with (obj_date_ui) con = 1; } var __x = 0; if (idlesprite == spr_mew_pushing) __x = 12; if (_who_is_talking == "pink") { blcon = scr_enemyblcon((x - 10) + __x, y + 40, 10); if (datecount == 3) blcon.mywriter.shake = 2; } else if (_who_is_talking == "body") { blcon = scr_enemyblcon((x - 180) + __x, y - 10, 18); if (datecount == 3) blcon.mywriter.shake = 2; } else if (_who_is_talking == "ghost") { blcon = scr_enemyblcon(ghostmarker.x, ghostmarker.y - 60, 22); if (datecount == 3) blcon.mywriter.shake = 2; } else if (_who_is_talking == "ralsei") { global.typer = 74; scr_heroblcon("ralsei"); if (global.hp[3] > 0) { scr_battle_sprite_set("ralsei", spr_ralsei_idle_mad_lookdown, 0.16666666666666666, true); if (ralslookup == 1) { scr_battle_sprite_set("ralsei", spr_ralsei_idle_mad, 0.16666666666666666, true); ralslookup = 0; } } } else if (_who_is_talking == "susie") { global.typer = 75; scr_heroblcon("susie"); scr_guardpeek(obj_herosusie); } talked = 0.7; if (ballooncon == 0) { talked = 0.5; talktimer = 0; } else { talked = 0.6; talktimer = 0; } alarm[6] = 1; } } if (talked == 1 && scr_isphase("enemytalk") && !i_ex(obj_writer)) { global.mnfight = 1.5; electricity_con = 0; electricity_timer = 0; if (datecount == 3 && doki != 20) { with (obj_darkener) instance_destroy(); } } if (global.mnfight == 1.5) { if (obj_heroralsei.state == 8) scr_battle_sprite_reset("ralsei"); if (datecount == 3) { } else if (doki < dokimax) { if (myattackchoice == 2 || myattackchoice == 3 || myattackchoice == 4 || myattackchoice == 5 || myattackchoice == 6) { } else { if (!instance_exists(obj_growtangle)) instance_create(__view_get(e__VW.XView, 0) + 320, __view_get(e__VW.YView, 0) + 170, obj_growtangle); with (obj_growtangle) { if (!instance_exists(obj_moveheart)) scr_moveheart(); } if (myattackchoice != 3) { with (obj_growtangle) instance_create_depth(x, y, 4, obj_purplecontrols); } } } global.mnfight = 2; scr_turntimer(90); } if (scr_isphase("bullets") && attacked == 0) { rtimer += 1; if (datecount == 3 && phaseturns < 3) rtimer = 12; if (rtimer == 5) { if (ghostintrocon == 2) { ghostintrocon = 3; with (ghostmarker) { hspeed = 0; vspeed = 0; } with (ghostmarker) scr_rememberxy(); with (ghostmarker) scr_move_to_point_over_time(other.x + 40, other.y + 40, 5); } } if (rtimer == 11 && ghostintrocon == 3) { with (ghostmarker) image_alpha = -1; } if ((rtimer == 12 && doki < dokimax) || (doki >= dokimax && rtimer == 15)) { if (doki >= dokimax || (datecount == 3 && phaseturns >= 3)) { datecount++; if ((datecount == 1 && i_ex(obj_writer)) || datecount > 1) instance_create_depth(x, y, obj_battlecontroller.depth - 9999999, obj_date_controller); if (datecount == 1) { if (i_ex(obj_date_controller)) { with (obj_battleblcon) depth = obj_date_controller.depth + 2; with (obj_writer) depth = obj_date_controller.depth + 1; } } } else if (datecount == 3) { } else { if (datecount != 3 && myattackchoice != 5) idlesprite = spr_pink_idle; if (myattackchoice == 1) { global.monsterattackname[myself] = "cat"; dc = scr_bulletspawner(x, y, obj_dbulletcontroller); dc.type = 200; dc.difficulty = difficulty; } if (myattackchoice == 2) { if (!instance_exists(obj_growtangle)) instance_create(__view_get(e__VW.XView, 0) + 320, __view_get(e__VW.YView, 0) + 170, obj_growtangle); with (obj_growtangle) { if (!instance_exists(obj_moveheart)) scr_moveheart(); } with (obj_growtangle) instance_create_depth(x, y, 4, obj_purplecontrols); obj_purplecontrols.mode = 2; global.monsterattackname[myself] = "bomb"; dc = scr_bulletspawner(x, y, obj_dbulletcontroller); dc.type = 206; dc.difficulty = difficulty; } if (myattackchoice == 3) { if (!instance_exists(obj_growtangle)) instance_create(__view_get(e__VW.XView, 0) + 320, __view_get(e__VW.YView, 0) + 170, obj_growtangle); if (datecount == 1) instance_create(camerax() + 300, cameray() + 210, obj_heartmarker); with (obj_growtangle) { if (!instance_exists(obj_moveheart)) scr_moveheart(); } global.monsterattackname[myself] = "rotating box"; dc = scr_bulletspawner(x, y, obj_dbulletcontroller); dc.type = 202; dc.difficulty = difficulty; } if (myattackchoice == 4) { if (!instance_exists(obj_growtangle)) instance_create(__view_get(e__VW.XView, 0) + 320, __view_get(e__VW.YView, 0) + 170, obj_growtangle); with (obj_growtangle) { if (!instance_exists(obj_moveheart)) scr_moveheart(); } with (obj_growtangle) { maxxscale = 3.75; maxyscale = 3.75; if (!i_ex(obj_purplecontrols)) instance_create_depth(x, y, 4, obj_purplecontrols); obj_purplecontrols.mode = 7; obj_purplecontrols.difficulty = other.difficulty; } global.monsterattackname[myself] = "3d tunnel"; dc = scr_bulletspawner(x, y, obj_dbulletcontroller); dc.type = 208; dc.difficulty = difficulty; } if (myattackchoice == 5) { if (!instance_exists(obj_growtangle)) instance_create(__view_get(e__VW.XView, 0) + 320, __view_get(e__VW.YView, 0) + 170, obj_growtangle); global.monsterattackname[myself] = "singing"; dc = scr_bulletspawner(x, y, obj_dbulletcontroller); dc.type = 209; dc.difficulty = difficulty; } if (myattackchoice == 6) { if (!instance_exists(obj_growtangle)) instance_create(__view_get(e__VW.XView, 0) + 320, __view_get(e__VW.YView, 0) + 170, obj_growtangle); instance_create(camerax() + 280, cameray() + 160, obj_heartmarker); if (i_ex(obj_heartmarker)) { obj_heartmarker.x = camerax() + 280; obj_heartmarker.y = cameray() + 160; } with (obj_growtangle) { if (!instance_exists(obj_moveheart)) scr_moveheart(); } with (obj_growtangle) instance_create_depth(x, y, 4, obj_purplecontrols); obj_purplecontrols.mode = 2; global.monsterattackname[myself] = "bomb"; dc = scr_bulletspawner(x, y, obj_dbulletcontroller); dc.type = 203; dc.difficulty = difficulty; } if (myattackchoice == 7) { global.monsterattackname[myself] = "vertical lanes"; dc = scr_bulletspawner(x, y, obj_dbulletcontroller); dc.type = 204; dc.difficulty = difficulty; } if (myattackchoice == 8) { global.monsterattackname[myself] = "vertical lanes"; dc = scr_bulletspawner(x, y, obj_dbulletcontroller); dc.type = 205; dc.difficulty = difficulty; } } scr_turntimer(300); if (datecount == 3) global.turntimer = 2; turns += 1; attacked = 1; } } if (global.mnfight == 2 && global.turntimer <= 1) { if (setbattlemsg == false) { global.typer = 6; global.fc = 0; idlesprite = spr_pink_idle; if (datecount == 3) idlesprite = spr_pink_very_hurt; rr = choose(0, 1, 2, 3); if (datecount == 0) { if (rr == 0) global.battlemsg[0] = stringsetloc("* Pink mews madly!", "obj_pink_enemy_slash_Step_0_gml_605_0"); if (rr == 1) global.battlemsg[0] = stringsetloc("* Pink spins her head around and laughs.", "obj_pink_enemy_slash_Step_0_gml_606_0"); if (rr == 2) global.battlemsg[0] = stringsetloc("* Pink stares at a mirror..^1. she doesn't turn around.", "obj_pink_enemy_slash_Step_0_gml_607_0"); } if (datecount == 1) { if (rr == 0) global.battlemsg[0] = stringsetloc("* Pink mutters to herself^1, and the smoke worsens.", "obj_pink_enemy_slash_Step_0_gml_611_0"); if (rr == 1) global.battlemsg[0] = stringsetloc("* Pink screams heart-censored magic words.", "obj_pink_enemy_slash_Step_0_gml_612_0"); if (rr == 2) global.battlemsg[0] = stringsetloc("* Pink's dummy bullets try to cheer her up.", "obj_pink_enemy_slash_Step_0_gml_613_0"); } if (datecount == 2) { if (rr == 0) global.battlemsg[0] = stringsetloc("* Pink's BODY winks!&* Pink's GHOST sticks out her tongue!", "obj_pink_enemy_slash_Step_0_gml_617_0"); if (rr == 1) global.battlemsg[0] = stringsetloc("* Pink's BODY holds out hands!&* Pink's GHOST slaps her BODY's hands away!", "obj_pink_enemy_slash_Step_0_gml_618_0"); if (rr == 2) global.battlemsg[0] = stringsetloc("* Pink's dummy bullets don't know who to cheer for!", "obj_pink_enemy_slash_Step_0_gml_619_0"); } if (datecount == 3) { rr = choose(0, 1, 2); if (rr == 0) global.battlemsg[0] = stringsetloc("* Pink's BODY shudders!&* Pink's GHOST looks worried^1, then turns away!", "obj_pink_enemy_slash_Step_0_gml_624_0"); if (rr == 1) global.battlemsg[0] = stringsetloc("* Pink's BODY emits smoke!&* Pink's GHOST reaches out^1, then stops!", "obj_pink_enemy_slash_Step_0_gml_625_0"); if (rr == 2) global.battlemsg[0] = stringsetloc("* Pink's BODY's voice falters!&* Pink's GHOST starts to say something^1, then stops!", "obj_pink_enemy_slash_Step_0_gml_626_0"); } else { if (rr == 3) global.battlemsg[0] = stringsetloc("* The air swirls in rosy chaos.", "obj_pink_enemy_slash_Step_0_gml_630_0"); if (irandom(100) < 3) global.battlemsg[0] = stringsetloc("* Smells like perfume and plastic.", "obj_pink_enemy_slash_Step_0_gml_631_0"); } if (doki >= 12) global.battlemsg[0] = stringsetloc("* The DOKI meter is almost full!", "obj_pink_enemy_slash_Step_0_gml_633_0"); if (firstphaseturn == 1) { if (datecount == 1) global.battlemsg[0] = stringsetloc("* Pink is reeling from the impact of the DATE.&* TP meter reset!", "obj_pink_enemy_slash_Step_0_gml_636_0"); if (datecount == 2) global.battlemsg[0] = stringsetloc("* Pink has split into GHOST and BODY!&* TP meter reset!", "obj_pink_enemy_slash_Step_0_gml_637_0"); if (datecount == 3) global.battlemsg[0] = stringsetloc("* Pink's BODY is heavily damaged...!", "obj_pink_enemy_slash_Step_0_gml_638_0"); firstphaseturn = 0; } setbattlemsg = true; lovelyboy = false; if (ghostintrocon == 3) { ghostintrocon = 4; ghostintrotimer = 0; with (ghostmarker) scr_lerpvar("image_alpha", -1, 0.5, 20, "in"); with (ghostmarker) scr_move_to_rememberxy(5); } } } } if (global.myfight == 3) { xx = __view_get(e__VW.XView, 0); yy = __view_get(e__VW.YView, 0); var noeffectstring = stringsetloc("* You flirted...&* But it had no effect!/%", "obj_pink_enemy_slash_Step_0_gml_685_0"); var susnoeffectstring = stringsetloc("* Susie flirted...&* But it had no effect!/%", "obj_pink_enemy_slash_Step_0_gml_686_0"); var ralnoeffectstring = stringsetloc("* Ralsei flirted...&* But it had no effect!/%", "obj_pink_enemy_slash_Step_0_gml_687_0"); if (acting == 1 && actcon == 0) { actcon = 1; if (datecount == 0) msgsetloc(0, "* PINK - A Lightner ghost in a magical girl's body^1. Doki her heart with flirts^1, and...!?/%", "obj_pink_enemy_slash_Step_0_gml_665_0"); else if (datecount == 1) msgsetloc(0, "* PINK - A Lightner ghost in a Darkner girl's body^1. Fill the DOKI METER to DATE!/%", "obj_pink_enemy_slash_Step_0_gml_666_0"); else if (datecount == 2) msgsetloc(0, "* PINK - A Lightner ghost^1, or a Darkner body!^1? Fill the DOKI METER to DATE them both!/%", "obj_pink_enemy_slash_Step_0_gml_667_0"); else msgsetloc(0, "* PINK - Without a spirit to control it^1, the body will break down..^1./%", "obj_pink_enemy_slash_Step_0_gml_668_0"); scr_battletext_default(); } if (acting == 2 && actcon == 0) { if (datecount == 3) { msgset(0, noeffectstring); scr_battletext_default(); actcon = 1; acting = 0; } else { var _kris_flirt_string = stringsetloc("* You flirted!", "obj_pink_enemy_slash_Step_0_gml_674_0"); if (simultotal == 1) { msgset(0, _kris_flirt_string + "/%"); scr_battletext_default(); actcon = 1; acting = 0; } else { msgset(0, _kris_flirt_string); scr_simultext("kris"); if (simulorderkri == 0) actcon = 20; else actcon = -1; acting = 0; } if (global.hp[3] < 1 && global.hp[2] < 1) scr_dokiadd(myself, 3); else if (global.hp[3] < 1 || global.hp[2] < 1) scr_dokiadd(myself, 2); else scr_dokiadd(myself, 1); krishearts = true; snd_play_x(snd_magicsprinkle, 0.6, 0.5); snd_play_x(snd_explosion_mmx3, 0.5, 0.5); if ((outfit_select % 2) == 0) scr_battle_sprite_set("kris", spr_kris_uniform1, 0, true); else scr_battle_sprite_set("kris", spr_kris_uniform2, 0, true); outfit_select++; with (obj_herokris) { _oflash = scr_oflash(); a = scr_afterimage(); a.hspeed = 2.5; a.depth = depth + 1; b = scr_afterimage(); b.image_alpha = 0.6; b.hspeed = 5; b.depth = depth + 2; } } } if (acting == 2.1 && actcon == 0 && !i_ex(obj_writer)) { datecount++; instance_create(x, y, obj_date_controller); acting = 2.2; } if (acting == 2.2 && actcon == 0 && !i_ex(obj_date_controller)) actcon = 1; if (acting == 3 && actcon == 0) { if (datecount == 3) { msgset(0, noeffectstring); scr_battletext_default(); actcon = 1; acting = 0; } else { var _kris_flirthard_string = stringsetloc("* You flirted hard!", "obj_pink_enemy_slash_Step_0_gml_795_0"); if (simultotal == 1) { msgset(0, _kris_flirthard_string + "/%"); scr_battletext_default(); actcon = 1; acting = 0; } else { msgset(0, _kris_flirthard_string); scr_simultext("kris"); if (simulorderkri == 0) actcon = 20; else actcon = -1; acting = 0; } scr_dokiadd(myself, 5); with (obj_herokris) { pinkflashtimer = 5; a = scr_afterimage(); a.hspeed = 2.5; a.depth = depth + 1; a.sprite_index = IMAGE_LOGO; a.parentid = id; } krishearts = true; snd_play_x(snd_magicsprinkle, 0.6, 0.5); snd_play_x(snd_explosion_mmx3, 0.5, 0.5); if ((outfit_select % 2) == 0) scr_battle_sprite_set("kris", spr_kris_uniform1, 0, true); else scr_battle_sprite_set("kris", spr_kris_uniform2, 0, true); with (obj_herokris) { _oflash = scr_oflash(); a = scr_afterimage(); a.hspeed = 2.5; a.depth = depth + 1; b = scr_afterimage(); b.image_alpha = 0.6; b.hspeed = 5; b.depth = depth + 2; } outfit_select++; } } if (acting == 4 && actcon == 0) { if (datecount == 3) { msgset(0, noeffectstring); scr_battletext_default(); actcon = 1; acting = 0; } else { actcon = 1; msgsetloc(0, "* Everyone flirted hard!/%", "obj_pink_enemy_slash_Step_0_gml_718_0"); scr_battletext_default(); scr_dokiadd(myself, 5); with (obj_heroparent) { pinkflashtimer = 5; a = scr_afterimage(); a.hspeed = 2.5; a.depth = depth + 1; a.sprite_index = IMAGE_LOGO; a.parentid = id; b = scr_afterimage(); b.image_alpha = 0.6; b.hspeed = 5; b.depth = depth + 2; b.parentid = id; } krishearts = true; susiehearts = true; ralseihearts = true; snd_play_x(snd_magicsprinkle, 0.6, 0.5); snd_play_x(snd_explosion_mmx3, 0.5, 0.5); if ((outfit_select % 2) == 0) { scr_battle_sprite_set("kris", spr_kris_uniform1, 0, true); scr_battle_sprite_set("susie", spr_susie_uniform1, 0, true); scr_battle_sprite_set("ralsei", spr_ralsei_uniform1, 0, true); } else { scr_battle_sprite_set("kris", spr_kris_uniform2, 0, true); scr_battle_sprite_set("susie", spr_susie_uniform2, 0, true); scr_battle_sprite_set("ralsei", spr_ralsei_uniform2, 0, true); } outfit_select++; with (obj_herokris) { _oflash = scr_oflash(); a = scr_afterimage(); a.hspeed = 2.5; a.depth = depth + 1; b = scr_afterimage(); b.image_alpha = 0.6; b.hspeed = 5; b.depth = depth + 2; } with (obj_herosusie) { _oflash = scr_oflash(); a = scr_afterimage(); a.hspeed = 2.5; a.depth = depth + 1; b = scr_afterimage(); b.image_alpha = 0.6; b.hspeed = 5; b.depth = depth + 2; } with (obj_heroralsei) { _oflash = scr_oflash(); a = scr_afterimage(); a.hspeed = 2.5; a.depth = depth + 1; b = scr_afterimage(); b.image_alpha = 0.6; b.hspeed = 5; b.depth = depth + 2; } } } if (acting == 5 && actcon == 0) { if (datecount == 3) { msgset(0, noeffectstring); scr_battletext_default(); actcon = 1; acting = 0; } else { actcon = 1; msgsetloc(0, "* Everyone used GIGA FLIRT!/%", "obj_pink_enemy_slash_Step_0_gml_746_0"); scr_battletext_default(); with (obj_writer) special = 0; scr_dokiadd(myself, 10); with (obj_heroparent) { pinkflashtimer = 5; a = scr_afterimage(); a.hspeed = 2.5; a.depth = depth + 1; a.sprite_index = IMAGE_LOGO; a.parentid = id; b = scr_afterimage(); b.image_alpha = 0.6; b.hspeed = 5; b.depth = depth + 2; b.parentid = id; } krishearts = true; susiehearts = true; ralseihearts = true; instance_create(obj_herosusie.x + 100, obj_herosusie.y + 30, obj_gigaheart); if ((outfit_select % 2) == 0) { scr_battle_sprite_set("kris", spr_kris_uniform1, 0, true); scr_battle_sprite_set("susie", spr_susie_uniform1, 0, true); scr_battle_sprite_set("ralsei", spr_ralsei_uniform1, 0, true); } else { scr_battle_sprite_set("kris", spr_kris_uniform2, 0, true); scr_battle_sprite_set("susie", spr_susie_uniform2, 0, true); scr_battle_sprite_set("ralsei", spr_ralsei_uniform2, 0, true); } outfit_select++; with (obj_herokris) { _oflash = scr_oflash(); a = scr_afterimage(); a.hspeed = 2.5; a.depth = depth + 1; b = scr_afterimage(); b.image_alpha = 0.6; b.hspeed = 5; b.depth = depth + 2; } with (obj_herosusie) { _oflash = scr_oflash(); a = scr_afterimage(); a.hspeed = 2.5; a.depth = depth + 1; b = scr_afterimage(); b.image_alpha = 0.6; b.hspeed = 5; b.depth = depth + 2; } with (obj_heroralsei) { _oflash = scr_oflash(); a = scr_afterimage(); a.hspeed = 2.5; a.depth = depth + 1; b = scr_afterimage(); b.image_alpha = 0.6; b.hspeed = 5; b.depth = depth + 2; } } } if (acting == 5.1 && actcon == 0 && !i_ex(obj_writer) && !i_ex(obj_gigaheart)) { acting = 5.2; actcon = 1; } if (actingsus == 1 && actconsus == 1) { if (datecount == 3) { msgset(0, susnoeffectstring); scr_battletext_default(); actingsus = 0; actcon = 1; actconsus = 0; } else { var _s_actstring = stringsetloc("* Susie flirted!", "obj_pink_enemy_slash_Step_0_gml_757_0"); if (simultotal == 1) { msgset(0, _s_actstring + "/%"); scr_battletext_default(); actconsus = 20; } else { msgset(0, _s_actstring); scr_simultext("susie"); if (simulordersus == 0) actconsus = 20; else actconsus = 0; } if (global.hp[1] < 1 && global.hp[3] < 1) scr_dokiadd(myself, 3); else if (global.hp[1] < 1 || global.hp[3] < 1) scr_dokiadd(myself, 2); else scr_dokiadd(myself, 1); susiehearts = true; snd_stop(snd_magicsprinkle); snd_stop(snd_explosion_mmx3); snd_play_x(snd_magicsprinkle, 0.6, 0.5); snd_play_x(snd_explosion_mmx3, 0.5, 0.5); if ((outfit_select % 2) == 0) scr_battle_sprite_set("susie", spr_susie_uniform1, 0, true); else scr_battle_sprite_set("susie", spr_susie_uniform2, 0, true); outfit_select++; with (obj_herosusie) { _oflash = scr_oflash(); a = scr_afterimage(); a.hspeed = 2.5; a.depth = depth + 1; b = scr_afterimage(); b.image_alpha = 0.6; b.hspeed = 5; b.depth = depth + 2; } } } if (actingsus == 2 && actconsus == 1) { if (datecount == 3) { msgset(0, susnoeffectstring); scr_battletext_default(); actingsus = 0; actcon = 1; actconsus = 0; } else { var _s_actstring = stringsetloc("* Susie flirted hard!", "obj_pink_enemy_slash_Step_0_gml_778_0"); if (simultotal == 1) { msgset(0, _s_actstring + "/%"); scr_battletext_default(); actconsus = 20; } else { msgset(0, _s_actstring); scr_simultext("susie"); if (simulordersus == 0) actconsus = 20; else actconsus = 0; } scr_dokiadd(myself, 5); susiehearts = true; snd_stop(snd_magicsprinkle); snd_stop(snd_explosion_mmx3); snd_play_x(snd_magicsprinkle, 0.6, 0.5); snd_play_x(snd_explosion_mmx3, 0.5, 0.5); if ((outfit_select % 2) == 0) scr_battle_sprite_set("susie", spr_susie_uniform1, 0, true); else scr_battle_sprite_set("susie", spr_susie_uniform2, 0, true); outfit_select++; with (obj_herosusie) { _oflash = scr_oflash(); a = scr_afterimage(); a.hspeed = 2.5; a.depth = depth + 1; b = scr_afterimage(); b.image_alpha = 0.6; b.hspeed = 5; b.depth = depth + 2; } } } if (actingsus == 3 && actconsus == 1) { msgsetloc(0, "* Susie decided to share an item with Pink!/%", "obj_pink_enemy_slash_Step_0_gml_797_0"); scr_battletext_default(); actingsus = 3.1; } if (actingsus == 3.1 && actconsus == 1) { sharefoodtimer++; if (sharefoodtimer == 1) scr_battle_sprite_set("susie", spr_susieb_item, 1/3, false); if (sharefoodtimer == 9) instance_create(obj_herosusie.x + 60, obj_herosusie.y + 60, obj_sharefood_act); if (sharefoodtimer >= 60) { sharefoodtimer = 0; actingsus = 3.2; } } if (actingsus == 3.2 && actconsus == 1 && !i_ex(obj_writer) && !i_ex(obj_sharefood_act)) { with (obj_pink_enemy) { if (scr_item_to_doki(sharefood_item_number) == 0) msgsetsubloc(0, "* ~1&* Pink hated it! No DOKI increase!/%", scr_item_to_dokitext(sharefood_item_number), "obj_pink_enemy_slash_Step_0_gml_821_0"); if (scr_item_to_doki(sharefood_item_number) == 1) msgsetsubloc(0, "* ~1&* Pink tolerated it! +1 DOKI!/%", scr_item_to_dokitext(sharefood_item_number), "obj_pink_enemy_slash_Step_0_gml_824_0"); if (scr_item_to_doki(sharefood_item_number) == 2) msgsetsubloc(0, "* ~1&* Pink liked it! +2 DOKI!/%", scr_item_to_dokitext(sharefood_item_number), "obj_pink_enemy_slash_Step_0_gml_827_0"); if (scr_item_to_doki(sharefood_item_number) == 3) msgsetsubloc(0, "* ~1&* Pink loved it! +3 DOKI!/%", scr_item_to_dokitext(sharefood_item_number), "obj_pink_enemy_slash_Step_0_gml_830_0"); if (scr_item_to_doki(sharefood_item_number) == 4) msgsetsubloc(0, "* ~1&* ! +4 DOKI!/%", scr_item_to_dokitext(sharefood_item_number), "obj_pink_enemy_slash_Step_0_gml_833_0"); if (scr_item_to_doki(sharefood_item_number) == 15) msgsetsubloc(0, "* ~1&* Pink was in ecstasy! +15 DOKI!/%", scr_item_to_dokitext(sharefood_item_number), "obj_pink_enemy_slash_Step_0_gml_836_0"); scr_battletext_default(); } actingsus = 3.3; } if (actingsus == 3.3 && actconsus == 1 && !i_ex(obj_writer)) { actingsus = 3.4; actcon = 1; actconsus = 0; if (datecount == 3) idlesprite = spr_pink_very_hurt; } if (actingral == 1 && actconral == 1) { if (datecount == 3) { msgset(0, ralnoeffectstring); scr_battletext_default(); actingral = 0; actcon = 1; actconral = 0; } else { var _r_actstring = stringsetloc("* Ralsei flirted!", "obj_pink_enemy_slash_Step_0_gml_853_0"); if (simultotal == 1) { msgset(0, _r_actstring + "/%"); scr_battletext_default(); actconral = 20; } else { msgset(0, _r_actstring); scr_simultext("ralsei"); if (simulorderral == 0) actconral = 20; else actconral = 0; } if (global.hp[1] < 1 && global.hp[2] < 1) scr_dokiadd(myself, 3); else if (global.hp[1] < 1 || global.hp[2] < 1) scr_dokiadd(myself, 2); else scr_dokiadd(myself, 1); ralseihearts = true; snd_stop(snd_magicsprinkle); snd_stop(snd_explosion_mmx3); snd_play_x(snd_magicsprinkle, 0.6, 0.5); snd_play_x(snd_explosion_mmx3, 0.5, 0.5); if ((outfit_select % 2) == 0) scr_battle_sprite_set("ralsei", spr_ralsei_uniform1, 0, true); else scr_battle_sprite_set("ralsei", spr_ralsei_uniform2, 0, true); outfit_select++; with (obj_heroralsei) { _oflash = scr_oflash(); a = scr_afterimage(); a.hspeed = 2.5; a.depth = depth + 1; b = scr_afterimage(); b.image_alpha = 0.6; b.hspeed = 5; b.depth = depth + 2; } } } if (actingral == 2 && actconral == 1) { if (datecount == 3) { msgset(0, ralnoeffectstring); scr_battletext_default(); actingral = 0; actcon = 1; actconral = 0; } else { var _r_actstring = stringsetloc("* Ralsei flirted hard!", "obj_pink_enemy_slash_Step_0_gml_874_0"); if (simultotal == 1) { msgset(0, _r_actstring + "/%"); scr_battletext_default(); actconral = 20; } else { msgset(0, _r_actstring); scr_simultext("ralsei"); if (simulorderral == 0) actconral = 20; else actconral = 0; } scr_dokiadd(myself, 5); ralseihearts = true; snd_stop(snd_magicsprinkle); snd_stop(snd_explosion_mmx3); snd_play_x(snd_magicsprinkle, 0.6, 0.5); snd_play_x(snd_explosion_mmx3, 0.5, 0.5); if ((outfit_select % 2) == 0) scr_battle_sprite_set("ralsei", spr_ralsei_uniform1, 0, true); else scr_battle_sprite_set("ralsei", spr_ralsei_uniform2, 0, true); outfit_select++; with (obj_heroralsei) { _oflash = scr_oflash(); a = scr_afterimage(); a.hspeed = 2.5; a.depth = depth + 1; b = scr_afterimage(); b.image_alpha = 0.6; b.hspeed = 5; b.depth = depth + 2; } } } if (actingral == 3 && actconral == 1) { instance_create(x, y, obj_lovelyboy); lovelyboy = true; snd_play(snd_drumroll); if (lovelyboycount == 0) actingral = 3.1; if (lovelyboycount > 0) { msgsetloc(0, "* Gathered adoration^1! Max TP went up!", "obj_pink_enemy_slash_Step_0_gml_900_0"); scr_simultext("ralsei"); with (obj_lovelyboy) faster = true; if (simulorderral == 0) actconral = 20; else actconral = 0; actingral = 3.5; } lovelyboycount++; } if (actingral == 3.1 && actconral == 1) { acttimer++; if (acttimer == 1) { acttimer = 0; actingral = 3.2; } } if (actingral == 3.2 && actconral == 1 && !i_ex(obj_lovelyboy)) { msgsetloc(0, "* Ralsei looked adorable!&* HEARTS came out!&* MAX TP up!/%", "obj_pink_enemy_slash_Step_0_gml_933_0"); scr_battletext_default(); actingral = 3.4; } if (actingral == 3.4 && actconral == 1 && !i_ex(obj_writer)) { actingral = 3.5; actcon = 1; actconral = 0; global.actsimulral[myself][2] = 1; } if (actcon == 20 || actconsus == 20 || actconral == 20) { if (scr_terminate_writer()) { actconsus = -1; actconral = -1; actcon = 1; } } if (actcon == 1 && !instance_exists(obj_writer) && !i_ex(obj_lovelyboy) && !i_ex(obj_gigaheart)) { scr_nextact(); if (obj_herokris.state == 8) scr_battle_sprite_reset("kris"); if (obj_herosusie.state == 8) scr_battle_sprite_reset("susie"); if (obj_heroralsei.state == 8) scr_battle_sprite_reset("ralsei"); krishearts = false; susiehearts = false; ralseihearts = false; if (idlesprite == spr_pink_front_sweat || idlesprite == spr_pink_front_angry) { if (datecount != 3) idlesprite = spr_pink_idle; else idlesprite = spr_pink_very_hurt; } if (resetralsei == true) { resetralsei = false; snd_play(snd_wing); obj_heroralsei.x = obj_heroralsei.xstart; obj_heroralsei.y = obj_heroralsei.ystart; with (obj_heroralsei) { normalsprite = spr_ralsei_walk_right; idlesprite = spr_ralsei_idle; defendsprite = spr_ralsei_defend; hurtsprite = spr_ralsei_hurt_fixed; attackreadysprite = spr_ralsei_attackready; attacksprite = spr_ralsei_attack; itemsprite = spr_ralsei_item; itemreadysprite = spr_ralsei_itemready; spellreadysprite = spr_ralsei_spellready; spellsprite = spr_ralsei_spell; defeatsprite = spr_ralsei_defeat; victorysprite = spr_ralsei_victory; actreadysprite = spr_ralsei_actready; actsprite = spr_ralsei_act; } repeat (26) { puff = instance_create(((obj_heroralsei.x + 50) - 60) + irandom(80), (obj_heroralsei.y - 90) + 90 + irandom(100), obj_animation); puff.depth = obj_heroralsei.depth - 1; puff.sprite_index = spr_susiezilla_houseexplosion; puff.image_speed = 0.5; puff.image_xscale = 1; puff.image_yscale = 1; } } } } if (state == 3) scr_enemy_hurt(); with (obj_afterimage) { if (hspeed > 0 && parentid != -1) { sprite_index = parentid.sprite_index; image_index = parentid.index; } } if (tripleghostcon == 1) { tripleghosttimer++; if (ghostintrotimer == 1) { } if (tripleghosttimer == 60) { } } if (ghostintrocon == 1) { ghostintrotimer++; with (obj_pink_dummy) shocktimer = 30; if (ghostintrotimer == 1) idlesprite = spr_pink_front_surprised_topleftorign; if (ghostintrotimer < 16) { if (x == xstart) x = xstart + 1 + irandom(4); if (x > xstart) x = xstart - 1 - irandom(4); if (x < xstart) x = xstart + 1 + irandom(4); } if (ghostintrotimer == 14) { snd_play(snd_ghostappear); ghostmarker.x = x + 30; ghostmarker.y = y + 30; ghostmarker.image_xscale = 0; ghostmarker.image_yscale = 0; ghostmarker.image_alpha = 0.5; instance_create_depth(ghostmarker.x, ghostmarker.y, depth - 1, obj_ghostburst); with (ghostmarker) { scr_lerpvar("image_xscale", 0, 2, 8, 1, "out"); scr_lerpvar("image_yscale", 0, 2, 8, 1, "out"); scr_move_to_point_over_time(x - 55, y - 55, 8); } } if (ghostintrotimer == 60) { idlesprite = spr_pink_idle; ghostintrotimer = 0; ghostintrocon = 2; ghostmarker.image_alpha = 0.5; } } if (ghostintrocon == 2) { saturation_effect_enabled = true; pos = lerp(pos, -0.55, 0.05); ghosttimer++; ghostmarker.hspeed = sin(ghosttimer / 12) * 3; ghostmarker.vspeed = cos(ghosttimer / 12) * 3; } if (ghostintrocon == 4) { ghostintrotimer++; if (ghostintrotimer == 6) { ghostintrotimer = 0; ghostintrocon = 2; } } if (explosioncon == 1) { explosiontimer++; if ((explosiontimer % 6) == 0) { inst = instance_create(x + random(sprite_width), y + random(sprite_height), obj_animation); inst.sprite_index = spr_realisticexplosion; snd_stop(snd_explosion); snd_play_x(snd_explosion, 1, 1); scr_shakeobj(); } if (explosiontimer >= 60 || explode_after_date == true) { explode_after_date = false; after_date_battlemsg = true; idlesprite = spr_pink_idle; if (datecount == 3) idlesprite = spr_pink_very_hurt; explosiontimer = 0; explosioncon = 0; phaseturns = 0; scr_mercyadd(myself, 25); if (datecount != 3) { with (obj_date_ui) { con = 3; timer = 0; } } if (datecount == 2) ghostintrocon = 1; if (datecount == 3) { mus_volume(global.batmusic[0], 0, 15); mus_volume(global.batmusic[1], 0, 15); global.actsimul[myself][1] = 0; global.actsimulsus[myself][0] = 0; global.actsimulral[myself][0] = 0; global.actsimul[myself][2] = 0; global.actsimulsus[myself][1] = 0; global.actsimulral[myself][1] = 0; } } } if (datecount == 3 && explosioncon == 0) { explosiontimer++; if ((explosiontimer % 40) == 0 && playheartbeatsfx) snd_play(snd_heartbeat, 0.8, 1); if ((explosiontimer % 90) == 0 && phaseturns < 3) { doki = irandom(19); with (obj_date_ui) electricity_con = 1; } } if (resetralsei == true) { plushiehearttimer++; if (plushiehearttimer >= 7) { plushiehearttimer = 0; ralseiheart = instance_create(obj_heroralsei.x + 20 + random(50), obj_heroralsei.y + 25 + random(40), obj_marker); ralseiheart.sprite_index = spr_dokiheart; ralseiheart.vspeed = -3; ralseiheart.friction = 0.08; ralseiheart.image_blend = #FF88AA; with (ralseiheart) scr_lerpvar("image_alpha", 2, 0, 20, "in"); } } if (krishearts == true) { krisheartstimer++; if (krisheartstimer >= 10) { krisheartstimer = 0; krisheart = instance_create(obj_herokris.x + random(40), obj_herokris.y + 25 + random(50), obj_marker); krisheart.sprite_index = spr_dokiheart; krisheart.vspeed = -3; krisheart.friction = 0.08; krisheart.image_blend = #FF88AA; krisheart.image_xscale = 0.5; krisheart.image_yscale = 0.5; with (krisheart) scr_lerpvar("image_alpha", 2, 0, 20, "in"); } } if (susiehearts == true) { susieheartstimer++; if (susieheartstimer >= 10) { susieheartstimer = 0; susieheart = instance_create(obj_herosusie.x + random(40), obj_herosusie.y + 25 + random(50), obj_marker); susieheart.sprite_index = spr_dokiheart; susieheart.vspeed = -3; susieheart.friction = 0.08; susieheart.image_blend = #FF88AA; susieheart.image_xscale = 0.5; susieheart.image_yscale = 0.5; with (susieheart) scr_lerpvar("image_alpha", 2, 0, 20, "in"); } } if (ralseihearts == true) { ralseiheartstimer++; if (ralseiheartstimer >= 10) { ralseiheartstimer = 0; ralseiheart = instance_create(obj_heroralsei.x + random(40), obj_heroralsei.y + 25 + random(50), obj_marker); ralseiheart.sprite_index = spr_dokiheart; ralseiheart.vspeed = -3; ralseiheart.friction = 0.08; ralseiheart.image_blend = #FF88AA; ralseiheart.image_xscale = 0.5; ralseiheart.image_yscale = 0.5; with (ralseiheart) scr_lerpvar("image_alpha", 2, 0, 20, "in"); } } with (obj_marker) { if (sprite_index == spr_board_loveheart && image_alpha <= 0) instance_destroy(); } if (talked == 0.4 && ballooncon == 1 && !i_ex(obj_writer)) { introtimer++; if (introtimer == -16) { 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(); } if (introtimer == -4) snd_play_x(snd_jump, 1, 1.3); if (introtimer == 1) idlesprite = spr_pink_ball; if (introtimer >= 1 && introtimer < 15) { var ytarget = lerp(-360, 40, introtimer / 15); x = lerp(xstart + 40, camerax() + 280, introtimer / 15); y = lerp(ystart + 40, cameray() + ytarget, introtimer / 15); } if (introtimer == 15) { snd_stop(snd_pink_laugh_long); snd_play_x(snd_pink_laugh_long, 1, 1); idlesprite = spr_pink_laugh_pouring; image_yscale = 2; x = camerax() + 268; y = cameray() + 10; scr_lerpvar("y", cameray() + 10, cameray() + 40, 7, 1, "out"); with (obj_growtangle) scr_lerpvar("y", ystart, ystart + 30, 7, 1, "out"); with (obj_heart) scr_lerpvar("y", y, y + 30, 7, 1, "out"); } if (introtimer == 30) { msgset(0, pink_battle_dialogue5); global.typer = 50; scr_enemyblcon(x + 80 + 30, (global.monstery[myself] - 119) + 30, 14); introtimer = 0; talked = 0.41; } } if (talked == 0.41 && ballooncon == 1 && !i_ex(obj_writer)) { introtimer++; if (introtimer == 1) snd_play_x(snd_slidewhistle, 1, 1.5); if (introtimer == 9) scr_lerpvar("x", x, x + 50, 11, 2, "out"); if ((introtimer % 4) == 0 && introtimer > 16 && introtimer < 70) droplet = instance_create(x + 2, y + 50, obj_purple_tea); if (introtimer == 35) intropurple_y = -25; if (introtimer == 45) intropurple_y = -50; if (introtimer == 55) intropurple_y = -75; if (introtimer == 65) intropurple_y = -100; if (introtimer == 75) intropurple_y = -125; if (introtimer == 85) intropurple_y = -141; if (introtimer >= 80 && introtimer <= 100 && introalpha < 1) introalpha += 0.04; if (introtimer >= 100) introalpha -= 0.04; if (introtimer == 100) { global.monsterattackname[myself] = "purple intro"; dc = scr_bulletspawner(x, y, obj_dbulletcontroller); dc.type = 199; } if (introtimer == 120) { idlesprite = spr_pink_shocked; scr_shakeobj(); snd_play(snd_pink_gasp); x += 0; y = cameray() + 42; scr_shakeobj(); snd_play(snd_wing); snd_play(snd_pink_throw2); } if (introtimer == 120) { ballooncon = 2; balloonend = 0; talked = 0.6; introtimer = 0; } } if (introcon == 2 && !i_ex(obj_writer)) { introtimer++; if (introtimer == 1) snd_play_x(snd_jump, 1, 1.3); if (introtimer == 1) idlesprite = spr_pink_ball; var ytarget = lerp(-360, 0, introtimer / 15); x = lerp(camerax() + 320, xstart + 40, introtimer / 15); y = lerp(cameray() + 50 + 30, ystart + 40 + ytarget, introtimer / 15); if (introtimer == 15) { snd_play(snd_impact); scr_shakescreen(); idlesprite = spr_pink_idle; introtimer = 0; introcon = 3; talked = 0; x = xstart; y = ystart; depth = depthstart; global.charturn = 0; with (obj_growtangle) growcon = 3; with (obj_heart) { instance_create(x, y, obj_returnheart); instance_destroy(); } } } if (doki > dokimax) doki = dokimax; if (spotlightinit == false) { spotlightinit = true; if (i_ex(obj_herokris)) { pink_spotlight_kris = instance_create_depth(obj_herokris.x + 22, obj_herokris.y + 106, obj_herokris.depth + 1, obj_pink_spotlight); pink_spotlight_kris.sprite_index = spr_pink_spotlight_kris; pink_spotlight_kris.image_xscale = 2; pink_spotlight_kris.image_yscale = 2; pink_spotlight_kris.image_alpha = 0; } if (i_ex(obj_herosusie)) { pink_spotlight_susie = instance_create_depth(obj_herosusie.x + 52, obj_herosusie.y + 126, obj_herosusie.depth + 1, obj_pink_spotlight); pink_spotlight_susie.sprite_index = spr_pink_spotlight_susie; pink_spotlight_susie.image_xscale = 2; pink_spotlight_susie.image_yscale = 2; pink_spotlight_susie.image_alpha = 0; } if (i_ex(obj_heroralsei)) { pink_spotlight_ralsei = instance_create_depth(obj_heroralsei.x + 53, obj_heroralsei.y + 92, obj_heroralsei.depth + 1, obj_pink_spotlight); pink_spotlight_ralsei.sprite_index = spr_pink_spotlight_ralsei; pink_spotlight_ralsei.image_xscale = 2; pink_spotlight_ralsei.image_yscale = 2; pink_spotlight_ralsei.image_alpha = 0; } pink_spotlight_pink = instance_create_depth(x + 28, y + 82, depth + 1, obj_pink_spotlight); pink_spotlight_pink.sprite_index = spr_pink_spotlight_pink; pink_spotlight_pink.image_xscale = 2; pink_spotlight_pink.image_yscale = 2; pink_spotlight_pink.image_alpha = 0; instance_create_depth(camerax() + (camerawidth() / 2), cameray() - 120, depth - 1, obj_mewers_live); var __a = 0; repeat (16) { dummyinst = instance_create_depth(camerax() + (__a * 51), cameray() - 62, depth + 1000, obj_pink_dummy); dummyinst.sprite_index = spr_pink_bg_dummy; dummyinst.image_xscale = 2; dummyinst.image_yscale = 2; dummyinst.type = "bg"; dummyinst.wavetimer = __a * 4; dummyinst.wavecon = __a; __a++; } __a = 0; repeat (8) { dummyinst = instance_create_depth(camerax() + (__a * 121), cameray() + 480 + 140, obj_battlecontroller.depth + 1, obj_pink_dummy); dummyinst.sprite_index = spr_pink_fg_dummy; dummyinst.image_xscale = 2; dummyinst.image_yscale = 2; dummyinst.type = "fg"; dummyinst.wavetimer = __a * 8; dummyinst.wavecon = __a; __a++; } } var spread_range = 500; var _cx = camerax() + 100; var _cy = cameray() - 100; var _mcx = camerax() + camerawidth(); var _random = random(spread_range); freezable++; if (freezable == 5 && datecount < 3) { drop_petal(((_cx + 640) - (spread_range * 0.65)) + _random, (_cy - (spread_range * 0.5)) + _random, true, -12, 1); freezable = 0; } if (global.mnfight == 0) { if (pink_bg_con != 1) mewerslive_y_con = 2; pink_bg_con = 1; } if ((global.mnfight != 0 && global.turntimer > 0) || (i_ex(obj_date_ui) && obj_date_ui.con > 0)) pink_bg_con = 3; var _hide = false; if (introcon == 2 || (introcon == 1 && idlesprite == spr_pink_laugh) || ballooncon == 2 || ballooncon == 3 || ballooncon == 4 || talked == 0.41 || (talked == 0.4 && ballooncon == 1 && !i_ex(obj_writer) && introtimer > 2) || scr_isphase("enemytalk")) _hide = true; if (pink_bg_con == 1 && !_hide) { if (datecount != 3) { with (obj_marker_doomed) image_alpha = lerp(image_alpha, 1, 0.3); } with (pink_spotlight_kris) image_alpha = lerp(image_alpha, 1, 0.3); with (pink_spotlight_susie) image_alpha = lerp(image_alpha, 1, 0.3); with (pink_spotlight_ralsei) image_alpha = lerp(image_alpha, 1, 0.3); with (pink_spotlight_pink) image_alpha = lerp(image_alpha, 1, 0.3); with (obj_pink_dummy) { if (vspeed == 0) { if (type == "bg") yoffset = lerp(yoffset, 124, 0.1); if (type == "fg") yoffset = lerp(yoffset, -300, 0.1); } } if (introcon == 3 && datecount < 3) { with (obj_mewers_live) y = lerp(y, ystart + other.mewerslive_y_target, 0.1); } } if (mewerslive_y_con == 1) { mewerslive_y_timer++; mewerslive_y_target = lerp(400, 120, mewerslive_y_timer / 8); if (mewerslive_y_timer == 8) { mewerslive_y_timer = 0; mewerslive_y_con = 0; } } if (mewerslive_y_con == 2) { mewerslive_y_timer++; mewerslive_y_target = lerp(460, 120, mewerslive_y_timer / 8); if (mewerslive_y_timer == 8) { mewerslive_y_timer = 0; mewerslive_y_con = 0; } } if (pink_bg_con == 3 || datecount == 3 || _hide) { pink_bg_timer++; with (obj_marker_doomed) image_alpha = lerp(image_alpha, 0, 0.3); with (obj_pink_spotlight) image_alpha = lerp(image_alpha, 0, 0.3); with (obj_pink_dummy) { if (type == "bg") yoffset = lerp(yoffset, 0, 0.1); if (type == "fg") yoffset = lerp(yoffset, 0, 0.1); } with (obj_mewers_live) y = lerp(y, ystart - 90, 0.1); } if (pink_bg_con == 0) { with (obj_marker_doomed) image_alpha = lerp(image_alpha, 0, 0.3); } dummy_pattern_timer++; if (dummy_pattern_timer >= 120) { dummy_pattern_timer = 0; with (obj_pink_dummy) wavetimer = 0; dummy_pattern = choose("wave", "wave", "wave", "every other jump", "glowstick up and down"); if (dummy_pattern == "glowstick up and down") { with (obj_pink_dummy) wavetimer = -10; } if (dummy_pattern == "wave") { with (obj_pink_dummy) wavetimer = -10; } if (dummy_pattern == "wave") { with (obj_pink_dummy) wavetimer = wavecon * 4; } if (dummy_pattern == "glowstick wave") { with (obj_pink_dummy) wavetimer = wavecon * 3; } } enum e__VW { XView, YView, WView, HView, Angle, HBorder, VBorder, HSpeed, VSpeed, Object, Visible, XPort, YPort, WPort, HPort, Camera, SurfaceID }