1 | function scr_enemy_timer_attacks_energy_balls |
2 | { |
3 | var enemy_attack = global.enemy_attack |
4 | if (enemy_attack == "Energy Balls" && (!instance_exists(obj_battle_enemy_attack_energy_balls_creator))) |
5 | instance_create(0, 0, obj_battle_enemy_attack_energy_balls_creator) |
6 | } |