1 |
function scr_enemy_timer_attacks_feisty_fivescr_enemy_timer_attacks_feisty_fivefunction scr_enemy_timer_attacks_feisty_five() //gml_Script_scr_enemy_timer_attacks_feisty_five
{
if (!instance_exists(obj_attack_cycler_feisty_five))
instance_create(0, 0, obj_attack_cycler_feisty_five)
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 == "Ed Smash" && (!instance_exists(obj_attack_ed_smash_controller)))
instance_create(0, 0, obj_attack_ed_smash_controller)
else if (enemy_attack == "Moray Balls" && (!instance_exists(obj_attack_moray_balls_controller)))
instance_create(0, 0, obj_attack_moray_balls_controller)
else if (enemy_attack == "Ace Dealing" && (!instance_exists(obj_attack_ace_dealing_controller)))
instance_create(0, 0, obj_attack_ace_dealing_controller)
else if (enemy_attack == "Mooch Bag" && (!instance_exists(obj_attack_mooch_coin_bag_controller)))
instance_create(0, 0, obj_attack_mooch_coin_bag_controller)
else if (enemy_attack == "Ed Grab" && (!instance_exists(obj_attack_ed_grab_controller)))
instance_create(0, 0, obj_attack_ed_grab_controller)
else if (enemy_attack == "Moray Spin" && (!instance_exists(obj_attack_moray_sword_spin)))
instance_create(-45, (obj_dialogue_box_battle_transformation_any.bbox_bottom + 60), obj_attack_moray_sword_spin)
else if (enemy_attack == "Coin Rain" && (!instance_exists(obj_attack_mooch_coin_rain_controller)))
instance_create(-60, (obj_dialogue_box_battle_transformation_any.bbox_bottom + 30), obj_attack_mooch_coin_rain_controller)
else if (enemy_attack == "Ace Cards" && (!instance_exists(obj_attack_ace_cards_controller)))
instance_create(0, 0, obj_attack_ace_cards_controller)
else if (enemy_attack == "Grab & Moray" && (!instance_exists(obj_attack_ed_grab_moray_sword_controller)))
instance_create(0, 0, obj_attack_ed_grab_moray_sword_controller)
else if (enemy_attack == "Coin Rain & Ace Cards" && (!instance_exists(obj_attack_coin_rain_ace_cards_controller)))
instance_create(0, 0, obj_attack_coin_rain_ace_cards_controller)
}
} () //gml_Script_scr_enemy_timer_attacks_feisty_five |
2 |
{ |
3 |
if (!instance_exists(obj_attack_cycler_feisty_five)) |
4 |
instance_create(0, 0, obj_attack_cycler_feisty_five) |
5 |
var enemy_attack = global.enemy_attack |
6 |
if (instance_exists(obj_dialogue_box_battle_transformation_any) && obj_heart_battle_fighting_parent.moveable == true) |
7 |
{ |
8 |
if (enemy_attack == "Ed Smash" && (!instance_exists(obj_attack_ed_smash_controller))) |
9 |
instance_create(0, 0, obj_attack_ed_smash_controller) |
10 |
else if (enemy_attack == "Moray Balls" && (!instance_exists(obj_attack_moray_balls_controller))) |
11 |
instance_create(0, 0, obj_attack_moray_balls_controller) |
12 |
else if (enemy_attack == "Ace Dealing" && (!instance_exists(obj_attack_ace_dealing_controller))) |
13 |
instance_create(0, 0, obj_attack_ace_dealing_controller) |
14 |
else if (enemy_attack == "Mooch Bag" && (!instance_exists(obj_attack_mooch_coin_bag_controller))) |
15 |
instance_create(0, 0, obj_attack_mooch_coin_bag_controller) |
16 |
else if (enemy_attack == "Ed Grab" && (!instance_exists(obj_attack_ed_grab_controller))) |
17 |
instance_create(0, 0, obj_attack_ed_grab_controller) |
18 |
else if (enemy_attack == "Moray Spin" && (!instance_exists(obj_attack_moray_sword_spin))) |
19 |
instance_create(-45, (obj_dialogue_box_battle_transformation_any.bbox_bottom + 60), obj_attack_moray_sword_spin) |
20 |
else if (enemy_attack == "Coin Rain" && (!instance_exists(obj_attack_mooch_coin_rain_controller))) |
21 |
instance_create(-60, (obj_dialogue_box_battle_transformation_any.bbox_bottom + 30), obj_attack_mooch_coin_rain_controller) |
22 |
else if (enemy_attack == "Ace Cards" && (!instance_exists(obj_attack_ace_cards_controller))) |
23 |
instance_create(0, 0, obj_attack_ace_cards_controller) |
24 |
else if (enemy_attack == "Grab & Moray" && (!instance_exists(obj_attack_ed_grab_moray_sword_controller))) |
25 |
instance_create(0, 0, obj_attack_ed_grab_moray_sword_controller) |
26 |
else if (enemy_attack == "Coin Rain & Ace Cards" && (!instance_exists(obj_attack_coin_rain_ace_cards_controller))) |
27 |
instance_create(0, 0, obj_attack_coin_rain_ace_cards_controller) |
28 |
} |
29 |
} |