Undertale Yellow script viewer

← back to main script listing

gml_GlobalScript_scr_battle_core_directory_enemy_attack_end

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

function scr_battle_core_directory_enemy_attack_end() //gml_Script_scr_battle_core_directory_enemy_attack_end { var battle_enemy_name = global.battle_enemy_name if (battle_enemy_name == "el bailador") { var new_return = script_execute(gml_Script_scr_end_enemy_attacking_bailador_geno) return new_return; } if (battle_enemy_name == "guardener") { new_return = script_execute(gml_Script_scr_end_enemy_attacking_guardener) return new_return; } if (battle_enemy_name == "axis") { new_return = script_execute(gml_Script_scr_end_enemy_attacking_axis) return new_return; } if (battle_enemy_name == "axis genocide") { new_return = script_execute(gml_Script_scr_end_enemy_attacking_axis_geno) return new_return; } if (battle_enemy_name == "ceroba") { new_return = script_execute(gml_Script_scr_end_enemy_attacking_ceroba) return new_return; } if (battle_enemy_name == "macro froggit") { new_return = script_execute(gml_Script_scr_end_enemy_attacking_macro) return new_return; } return false; }
() //gml_Script_scr_battle_core_directory_enemy_attack_end
2
{
3
    var battle_enemy_name = global.battle_enemy_name
4
    if (battle_enemy_name == "el bailador")
5
    {
6
        var new_return = script_execute(gml_Script_scr_end_enemy_attacking_bailador_geno)
7
        return new_return;
8
    }
9
    if (battle_enemy_name == "guardener")
10
    {
11
        new_return = script_execute(gml_Script_scr_end_enemy_attacking_guardener)
12
        return new_return;
13
    }
14
    if (battle_enemy_name == "axis")
15
    {
16
        new_return = script_execute(gml_Script_scr_end_enemy_attacking_axis)
17
        return new_return;
18
    }
19
    if (battle_enemy_name == "axis genocide")
20
    {
21
        new_return = script_execute(gml_Script_scr_end_enemy_attacking_axis_geno)
22
        return new_return;
23
    }
24
    if (battle_enemy_name == "ceroba")
25
    {
26
        new_return = script_execute(gml_Script_scr_end_enemy_attacking_ceroba)
27
        return new_return;
28
    }
29
    if (battle_enemy_name == "macro froggit")
30
    {
31
        new_return = script_execute(gml_Script_scr_end_enemy_attacking_macro)
32
        return new_return;
33
    }
34
    return false;
35
}