scr_enemy_object_init(); recruitcount = 5; talkmax = 90; custom_draw_example = 0; turn = 0; image_speed = 0.16666666666666666; idlesprite = spr_enemy_aqua_idle; hurtsprite = spr_enemy_aqua_hurt; sparedsprite = spr_enemy_aqua_idle; myattackchoice = -1; rr = 0; damaged = false; rtimer = 0; fight_type = "solo"; last_act = 0; boredom = 0; bored_switch = false; act_list = ds_list_create(); flattery_id = 4; omega_switch = false; already_checked = false; friend_mentioned = false; phase = "intro"; phasehit = false; previous_attack = -1; seth_counter = 0; violence_end = false; state_string = ""; attack_chain_hits = 0; attack_fan_hits = 0; attack_petal_hits = 0; attack_omega_hits = 0; aqua_is_BORED = function() { boredom = scr_approach(boredom, 3, 1); bored_switch = true; switch (boredom) { case 1: msgsetloc(1, "* ... but the enemy was not amused./%", "obj_aqua_enemy_slash_Create_0_gml_54_0"); break; case 2: msgsetloc(1, "* ... but the enemy seemed bored./%", "obj_aqua_enemy_slash_Create_0_gml_58_0"); break; case 3: msgsetloc(1, "* ... but the enemy seemed very bored./%", "obj_aqua_enemy_slash_Create_0_gml_62_0"); omega_switch = true; break; } }; evaluate = function() { if (attack_omega_hits == 0 && attack_fan_hits == 0 && attack_chain_hits == 0 && attack_petal_hits == 0) exit; if (attack_omega_hits >= attack_fan_hits && attack_omega_hits >= attack_chain_hits && attack_omega_hits >= attack_petal_hits) global.flag[1313] = 4; else if (attack_chain_hits >= attack_fan_hits && attack_chain_hits >= attack_petal_hits) global.flag[1313] = 1; else if (attack_fan_hits >= attack_petal_hits) global.flag[1313] = 2; else global.flag[1313] = 3; }; callback_on_damage = function(arg0 = -1) { if (fight_type == "solo") { if (!damaged) { damaged++; scr_mercyadd(myself, 20); idlesprite = spr_enemy_aqua_hurt; sparedsprite = spr_enemy_aqua_hurt; } } var _maxhp = global.monstermaxhp[global.chartarget[arg0.myself]]; var _hp = global.monsterhp[global.chartarget[arg0.myself]]; if (_hp <= (_maxhp * 0.1)) { global.monsterhp[global.chartarget[arg0.myself]] = _maxhp * 0.1; violence_end = true; if (fight_type == "seth") aqua_sprite(4551, 0, 0); } }; aqua_balloon = function(arg0 = x - 20, arg1 = y + 25) { if (i_ex(obj_balloon_queue)) { msgset_fromqueue(); } else { global.typer = 50; scr_enemyblcon(arg0, arg1, 10); talktimer = 0; rtimer = 0; } }; aqua_balloon_control = function() { if ((button3_p() && talktimer > 15) || !instance_exists(obj_writer)) { with (obj_writer) instance_destroy(); if (i_ex(obj_balloon_queue)) msgset_fromqueue(); } }; aqua_sprite = function(arg0 = 2001, arg1 = siner, arg2 = image_speed) { idlesprite = arg0; sparesprite = arg0; siner = arg1; image_speed = arg2; }; aqua_actflash = function() { with (scr_oflash()) { sprite_index = other.idlesprite; image_index = other.siner; } with (scr_afterimage()) { sprite_index = other.idlesprite; image_index = other.siner; hspeed = -2.5; depth = other.depth + 1; } with (scr_afterimage()) { sprite_index = other.idlesprite; image_index = other.siner; image_alpha = 0.6; hspeed = -5; depth = other.depth + 2; } };