1 |
function scr_enemy_timer_attacks_martlet_genocidescr_enemy_timer_attacks_martlet_genocidefunction scr_enemy_timer_attacks_martlet_genocide() //gml_Script_scr_enemy_timer_attacks_martlet_genocide
{
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 (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_g_body.x, obj_martlet_g_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_genocide |
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 (enemy_attack == "Martlet Feather Fall" && (!instance_exists(obj_battle_enemy_attack_martlet_feather_fall_checker))) |
12 |
instance_create(0, 0, obj_battle_enemy_attack_martlet_feather_fall_checker) |
13 |
else if (enemy_attack == "Martlet Feather Flow" && (!instance_exists(obj_battle_enemy_attack_martlet_feather_flow_checker))) |
14 |
instance_create(0, 0, obj_battle_enemy_attack_martlet_feather_flow_checker) |
15 |
else if (enemy_attack == "Martlet Package" && (!instance_exists(obj_battle_enemy_attack_martlet_package_checker))) |
16 |
instance_create(0, 0, obj_battle_enemy_attack_martlet_package_checker) |
17 |
else if (enemy_attack == "Martlet Feather Circle" && (!instance_exists(obj_battle_enemy_attack_martlet_feather_circle_checker))) |
18 |
instance_create(0, 0, obj_battle_enemy_attack_martlet_feather_circle_checker) |
19 |
else if (enemy_attack == "Martlet Feather Spiral" && (!instance_exists(obj_battle_enemy_attack_martlet_feather_spiral_checker))) |
20 |
instance_create(0, 0, obj_battle_enemy_attack_martlet_feather_spiral_checker) |
21 |
else if (enemy_attack == "Martlet Wing Gust" && (!instance_exists(obj_battle_enemy_attack_martlet_wing_gust_body))) |
22 |
instance_create(obj_martlet_g_body.x, obj_martlet_g_body.y, obj_battle_enemy_attack_martlet_wing_gust_body) |
23 |
else if (enemy_attack == "Martlet Catapult") |
24 |
{ |
25 |
} |
26 |
else if (enemy_attack == "Martlet Tornado" && (!instance_exists(obj_battle_enemy_attack_martlet_tornado_checker))) |
27 |
instance_create(0, 0, obj_battle_enemy_attack_martlet_tornado_checker) |
28 |
else if (enemy_attack == "Martlet Feather Finale" && (!instance_exists(obj_battle_enemy_attack_martlet_feather_finale_checker))) |
29 |
instance_create(0, 0, obj_battle_enemy_attack_martlet_feather_finale_checker) |
30 |
} |
31 |
} |