1 |
function scr_enemy_timer_attacks_martlet_pacifistscr_enemy_timer_attacks_martlet_pacifistfunction scr_enemy_timer_attacks_martlet_pacifist() //gml_Script_scr_enemy_timer_attacks_martlet_pacifist
{
var enemy_attack = global.enemy_attack
if (global.last_text_move_select > -1 && enemy_attack != "Martlet Feather Finale")
{
if (!instance_exists(obj_attack_cycler_martlet))
instance_create(0, 0, obj_attack_cycler_martlet)
}
if (instance_exists(obj_dialogue_box_battle_transformation_any) && obj_heart_battle_fighting_parent.moveable == true)
{
if (!instance_exists(obj_quote_battle_martlet_pacifist_during_attack_parent))
{
if (enemy_attack == "Martlet Feather Fall" && (!instance_exists(obj_battle_enemy_attack_martlet_feather_fall_checker)))
instance_create(0, 0, obj_battle_enemy_attack_martlet_feather_fall_checker)
else if (enemy_attack == "Martlet Feather Flow" && (!instance_exists(obj_battle_enemy_attack_martlet_feather_flow_checker)))
instance_create(0, 0, obj_battle_enemy_attack_martlet_feather_flow_checker)
else if (enemy_attack == "Martlet Package" && (!instance_exists(obj_battle_enemy_attack_martlet_package_checker)))
instance_create(0, 0, obj_battle_enemy_attack_martlet_package_checker)
else if (enemy_attack == "Martlet Feather Circle" && (!instance_exists(obj_battle_enemy_attack_martlet_feather_circle_checker)))
instance_create(0, 0, obj_battle_enemy_attack_martlet_feather_circle_checker)
else if (enemy_attack == "Martlet Feather Spiral" && (!instance_exists(obj_battle_enemy_attack_martlet_feather_spiral_checker)))
instance_create(0, 0, obj_battle_enemy_attack_martlet_feather_spiral_checker)
else if (enemy_attack == "Martlet Wing Gust" && (!instance_exists(obj_battle_enemy_attack_martlet_wing_gust_body)))
instance_create(obj_martlet_body.x, obj_martlet_body.y, obj_battle_enemy_attack_martlet_wing_gust_body)
else if (enemy_attack == "Martlet Catapult")
{
}
else if (enemy_attack == "Martlet Tornado" && (!instance_exists(obj_battle_enemy_attack_martlet_tornado_checker)))
instance_create(0, 0, obj_battle_enemy_attack_martlet_tornado_checker)
else if (enemy_attack == "Martlet Feather Finale" && (!instance_exists(obj_battle_enemy_attack_martlet_feather_finale_checker)))
instance_create(0, 0, obj_battle_enemy_attack_martlet_feather_finale_checker)
}
}
} () //gml_Script_scr_enemy_timer_attacks_martlet_pacifist |
2 |
{ |
3 |
var enemy_attack = global.enemy_attack |
4 |
if (global.last_text_move_select > -1 && enemy_attack != "Martlet Feather Finale") |
5 |
{ |
6 |
if (!instance_exists(obj_attack_cycler_martlet)) |
7 |
instance_create(0, 0, obj_attack_cycler_martlet) |
8 |
} |
9 |
if (instance_exists(obj_dialogue_box_battle_transformation_any) && obj_heart_battle_fighting_parent.moveable == true) |
10 |
{ |
11 |
if (!instance_exists(obj_quote_battle_martlet_pacifist_during_attack_parent)) |
12 |
{ |
13 |
if (enemy_attack == "Martlet Feather Fall" && (!instance_exists(obj_battle_enemy_attack_martlet_feather_fall_checker))) |
14 |
instance_create(0, 0, obj_battle_enemy_attack_martlet_feather_fall_checker) |
15 |
else if (enemy_attack == "Martlet Feather Flow" && (!instance_exists(obj_battle_enemy_attack_martlet_feather_flow_checker))) |
16 |
instance_create(0, 0, obj_battle_enemy_attack_martlet_feather_flow_checker) |
17 |
else if (enemy_attack == "Martlet Package" && (!instance_exists(obj_battle_enemy_attack_martlet_package_checker))) |
18 |
instance_create(0, 0, obj_battle_enemy_attack_martlet_package_checker) |
19 |
else if (enemy_attack == "Martlet Feather Circle" && (!instance_exists(obj_battle_enemy_attack_martlet_feather_circle_checker))) |
20 |
instance_create(0, 0, obj_battle_enemy_attack_martlet_feather_circle_checker) |
21 |
else if (enemy_attack == "Martlet Feather Spiral" && (!instance_exists(obj_battle_enemy_attack_martlet_feather_spiral_checker))) |
22 |
instance_create(0, 0, obj_battle_enemy_attack_martlet_feather_spiral_checker) |
23 |
else if (enemy_attack == "Martlet Wing Gust" && (!instance_exists(obj_battle_enemy_attack_martlet_wing_gust_body))) |
24 |
instance_create(obj_martlet_body.x, obj_martlet_body.y, obj_battle_enemy_attack_martlet_wing_gust_body) |
25 |
else if (enemy_attack == "Martlet Catapult") |
26 |
{ |
27 |
} |
28 |
else if (enemy_attack == "Martlet Tornado" && (!instance_exists(obj_battle_enemy_attack_martlet_tornado_checker))) |
29 |
instance_create(0, 0, obj_battle_enemy_attack_martlet_tornado_checker) |
30 |
else if (enemy_attack == "Martlet Feather Finale" && (!instance_exists(obj_battle_enemy_attack_martlet_feather_finale_checker))) |
31 |
instance_create(0, 0, obj_battle_enemy_attack_martlet_feather_finale_checker) |
32 |
} |
33 |
} |
34 |
} |