Undertale Yellow script viewer

← back to main script listing

gml_GlobalScript_scr_enemy_timer_attacks_trihecta

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

function scr_enemy_timer_attacks_trihecta() //gml_Script_scr_enemy_timer_attacks_trihecta { 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 == "Trihecta Circle Bounce") script_execute(gml_Script_scr_enemy_attack_trihecta_circle_bounce) else if (enemy_attack == "Trihecta Circle Reflect") script_execute(gml_Script_scr_enemy_attack_trihecta_circle_reflect) else if (enemy_attack == "Trihecta Circle Stack") script_execute(gml_Script_scr_enemy_attack_trihecta_circle_stack) } }
() //gml_Script_scr_enemy_timer_attacks_trihecta
2
{
3
    var enemy_attack = global.enemy_attack
4
    if (instance_exists(obj_dialogue_box_battle_transformation_any) && obj_heart_battle_fighting_parent.moveable == true)
5
    {
6
        if (enemy_attack == "Trihecta Circle Bounce")
7
            script_execute(gml_Script_scr_enemy_attack_trihecta_circle_bounce)
8
        else if (enemy_attack == "Trihecta Circle Reflect")
9
            script_execute(gml_Script_scr_enemy_attack_trihecta_circle_reflect)
10
        else if (enemy_attack == "Trihecta Circle Stack")
11
            script_execute(gml_Script_scr_enemy_attack_trihecta_circle_stack)
12
    }
13
}