Undertale Yellow script viewer

← back to main script listing

gml_GlobalScript_scr_enemy_timer_attacks_asgore

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

function scr_enemy_timer_attacks_asgore() //gml_Script_scr_enemy_timer_attacks_asgore { if (instance_exists(obj_dialogue_box_battle_transformation_any) && obj_heart_battle_fighting_parent.moveable == true) { if (!instance_exists(obj_battle_enemy_attack_asgore_checker)) instance_create(0, 0, obj_battle_enemy_attack_asgore_checker) } }
() //gml_Script_scr_enemy_timer_attacks_asgore
2
{
3
    if (instance_exists(obj_dialogue_box_battle_transformation_any) && obj_heart_battle_fighting_parent.moveable == true)
4
    {
5
        if (!instance_exists(obj_battle_enemy_attack_asgore_checker))
6
            instance_create(0, 0, obj_battle_enemy_attack_asgore_checker)
7
    }
8
}