1 |
function scr_enemy_timer_attacks_know_cone_insomnitot_duoscr_enemy_timer_attacks_know_cone_insomnitot_duofunction scr_enemy_timer_attacks_know_cone_insomnitot_duo()
{
var enemy_attack = global.enemy_attack;
if (instance_exists(obj_dialogue_box_battle_transformation_any) && obj_heart_battle_fighting_parent.moveable == true)
{
if (enemy_attack == "Know Cone Blueberries ZZZ")
{
script_execute(scr_enemy_attack_know_cone_blueberries_zzz);
if (global.attack_counter >= 0)
{
global.attack_counter -= 1;
if (global.attack_counter < 0)
global.attack_counter = global.attack_counter_max;
}
}
else if (enemy_attack == "Know Cone Oranges Stars")
{
script_execute(scr_enemy_attack_know_cone_oranges_stars);
if (global.attack_counter >= 0)
{
global.attack_counter -= 1;
if (global.attack_counter < 0)
global.attack_counter = global.attack_counter_max;
}
}
else if (enemy_attack == "Know Cone Blueberries" || enemy_attack == "Know Cone Oranges" || enemy_attack == "Know Cone Cherries" || enemy_attack == "Know Cone Fig")
{
script_execute(scr_enemy_timer_attacks_know_cone_solo);
}
else if (enemy_attack == "Insomnitot Sheep" || enemy_attack == "Insomnitot ZZZ" || enemy_attack == "Insomnitot Stars")
{
script_execute(scr_enemy_timer_attacks_insomnitot_solo);
}
}
} () |
2 |
{ |
3 |
var enemy_attack = global.enemy_attack; |
4 |
if (instance_exists(obj_dialogue_box_battle_transformation_any) && obj_heart_battle_fighting_parent.moveable == true) |
5 |
{ |
6 |
if (enemy_attack == "Know Cone Blueberries ZZZ") |
7 |
{ |
8 |
script_execute(scr_enemy_attack_know_cone_blueberries_zzz); |
9 |
if (global.attack_counter >= 0) |
10 |
{ |
11 |
global.attack_counter -= 1; |
12 |
if (global.attack_counter < 0) |
13 |
global.attack_counter = global.attack_counter_max; |
14 |
} |
15 |
} |
16 |
else if (enemy_attack == "Know Cone Oranges Stars") |
17 |
{ |
18 |
script_execute(scr_enemy_attack_know_cone_oranges_stars); |
19 |
if (global.attack_counter >= 0) |
20 |
{ |
21 |
global.attack_counter -= 1; |
22 |
if (global.attack_counter < 0) |
23 |
global.attack_counter = global.attack_counter_max; |
24 |
} |
25 |
} |
26 |
else if (enemy_attack == "Know Cone Blueberries" || enemy_attack == "Know Cone Oranges" || enemy_attack == "Know Cone Cherries" || enemy_attack == "Know Cone Fig") |
27 |
{ |
28 |
script_execute(scr_enemy_timer_attacks_know_cone_solo); |
29 |
} |
30 |
else if (enemy_attack == "Insomnitot Sheep" || enemy_attack == "Insomnitot ZZZ" || enemy_attack == "Insomnitot Stars") |
31 |
{ |
32 |
script_execute(scr_enemy_timer_attacks_insomnitot_solo); |
33 |
} |
34 |
} |
35 |
} |