Undertale Yellow script viewer

← back to main script listing

gml_GlobalScript_scr_enemy_timer_attacks_energy_balls

(view raw script w/o annotations or w/e)
1
function scr_enemy_timer_attacks_energy_balls
scr_enemy_timer_attacks_energy_balls

function scr_enemy_timer_attacks_energy_balls() //gml_Script_scr_enemy_timer_attacks_energy_balls { var enemy_attack = global.enemy_attack if (enemy_attack == "Energy Balls" && (!instance_exists(obj_battle_enemy_attack_energy_balls_creator))) instance_create(0, 0, obj_battle_enemy_attack_energy_balls_creator) }
() //gml_Script_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
}