1 |
function scr_enemy_timer_attacks_ceroba_genocidescr_enemy_timer_attacks_ceroba_genocidefunction scr_enemy_timer_attacks_ceroba_genocide() //gml_Script_scr_enemy_timer_attacks_ceroba_genocide
{
var enemy_attack = global.enemy_attack
if (!instance_exists(obj_attack_cycler_ceroba))
instance_create(0, 0, obj_attack_cycler_ceroba)
if (instance_exists(obj_dialogue_box_battle_transformation_any) && obj_heart_battle_fighting_parent.moveable == true)
{
if (enemy_attack == "Ceroba Opener" && (!instance_exists(obj_battle_enemy_attack_ceroba_opener_checker)))
instance_create(0, 0, obj_battle_enemy_attack_ceroba_opener_checker)
if (enemy_attack == "Ceroba Fire Circle" && (!instance_exists(obj_battle_enemy_attack_ceroba_fire_circle_checker)))
instance_create(0, 0, obj_battle_enemy_attack_ceroba_fire_circle_checker)
else if (enemy_attack == "Ceroba Flower Spiral" && (!instance_exists(obj_battle_enemy_attack_ceroba_flower_spiral_checker)))
instance_create(0, 0, obj_battle_enemy_attack_ceroba_flower_spiral_checker)
else if (enemy_attack == "Ceroba Flower Barrage" && (!instance_exists(obj_battle_enemy_attack_ceroba_flower_barrage_checker)))
instance_create(0, 0, obj_battle_enemy_attack_ceroba_flower_barrage_checker)
else if (enemy_attack == "Ceroba Flower Spray" && (!instance_exists(obj_battle_enemy_attack_ceroba_flower_spray_checker)))
instance_create(0, 0, obj_battle_enemy_attack_ceroba_flower_spray_checker)
else if (enemy_attack == "Ceroba Jumping Flowers" && (!instance_exists(obj_battle_enemy_attack_ceroba_jumping_flowers_checker)))
instance_create(0, 0, obj_battle_enemy_attack_ceroba_jumping_flowers_checker)
else if (enemy_attack == "Ceroba Split Attack" && (!instance_exists(obj_battle_enemy_attack_ceroba_split_attack_checker)))
instance_create(0, 0, obj_battle_enemy_attack_ceroba_split_attack_checker)
else if (enemy_attack == "Ceroba Diamond Attack" && (!instance_exists(obj_battle_enemy_attack_ceroba_diamond_attack_checker)))
instance_create(0, 0, obj_battle_enemy_attack_ceroba_diamond_attack_checker)
else if (enemy_attack == "Ceroba Diamond Circle" && (!instance_exists(obj_battle_enemy_attack_ceroba_arc_checker)))
instance_create(0, 0, obj_battle_enemy_attack_ceroba_arc_checker)
else if (enemy_attack == "Ceroba Pillars G" && (!instance_exists(obj_battle_enemy_attack_ceroba_pillars)))
instance_create(0, 0, obj_battle_enemy_attack_ceroba_pillars)
else if (enemy_attack == "Ceroba Phase Switcher" && (!instance_exists(obj_battle_enemy_attack_ceroba_phase_switcher)))
instance_create(0, 0, obj_battle_enemy_attack_ceroba_phase_switcher)
}
} () //gml_Script_scr_enemy_timer_attacks_ceroba_genocide |
2 |
{ |
3 |
var enemy_attack = global.enemy_attack |
4 |
if (!instance_exists(obj_attack_cycler_ceroba)) |
5 |
instance_create(0, 0, obj_attack_cycler_ceroba) |
6 |
if (instance_exists(obj_dialogue_box_battle_transformation_any) && obj_heart_battle_fighting_parent.moveable == true) |
7 |
{ |
8 |
if (enemy_attack == "Ceroba Opener" && (!instance_exists(obj_battle_enemy_attack_ceroba_opener_checker))) |
9 |
instance_create(0, 0, obj_battle_enemy_attack_ceroba_opener_checker) |
10 |
if (enemy_attack == "Ceroba Fire Circle" && (!instance_exists(obj_battle_enemy_attack_ceroba_fire_circle_checker))) |
11 |
instance_create(0, 0, obj_battle_enemy_attack_ceroba_fire_circle_checker) |
12 |
else if (enemy_attack == "Ceroba Flower Spiral" && (!instance_exists(obj_battle_enemy_attack_ceroba_flower_spiral_checker))) |
13 |
instance_create(0, 0, obj_battle_enemy_attack_ceroba_flower_spiral_checker) |
14 |
else if (enemy_attack == "Ceroba Flower Barrage" && (!instance_exists(obj_battle_enemy_attack_ceroba_flower_barrage_checker))) |
15 |
instance_create(0, 0, obj_battle_enemy_attack_ceroba_flower_barrage_checker) |
16 |
else if (enemy_attack == "Ceroba Flower Spray" && (!instance_exists(obj_battle_enemy_attack_ceroba_flower_spray_checker))) |
17 |
instance_create(0, 0, obj_battle_enemy_attack_ceroba_flower_spray_checker) |
18 |
else if (enemy_attack == "Ceroba Jumping Flowers" && (!instance_exists(obj_battle_enemy_attack_ceroba_jumping_flowers_checker))) |
19 |
instance_create(0, 0, obj_battle_enemy_attack_ceroba_jumping_flowers_checker) |
20 |
else if (enemy_attack == "Ceroba Split Attack" && (!instance_exists(obj_battle_enemy_attack_ceroba_split_attack_checker))) |
21 |
instance_create(0, 0, obj_battle_enemy_attack_ceroba_split_attack_checker) |
22 |
else if (enemy_attack == "Ceroba Diamond Attack" && (!instance_exists(obj_battle_enemy_attack_ceroba_diamond_attack_checker))) |
23 |
instance_create(0, 0, obj_battle_enemy_attack_ceroba_diamond_attack_checker) |
24 |
else if (enemy_attack == "Ceroba Diamond Circle" && (!instance_exists(obj_battle_enemy_attack_ceroba_arc_checker))) |
25 |
instance_create(0, 0, obj_battle_enemy_attack_ceroba_arc_checker) |
26 |
else if (enemy_attack == "Ceroba Pillars G" && (!instance_exists(obj_battle_enemy_attack_ceroba_pillars))) |
27 |
instance_create(0, 0, obj_battle_enemy_attack_ceroba_pillars) |
28 |
else if (enemy_attack == "Ceroba Phase Switcher" && (!instance_exists(obj_battle_enemy_attack_ceroba_phase_switcher))) |
29 |
instance_create(0, 0, obj_battle_enemy_attack_ceroba_phase_switcher) |
30 |
} |
31 |
} |