Undertale Yellow script viewer

← back to main script listing

gml_GlobalScript_scr_battle_core_directory_enemy_attack_start

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

function scr_battle_core_directory_enemy_attack_start() //gml_Script_scr_battle_core_directory_enemy_attack_start { var battle_enemy_name = global.battle_enemy_name var game_mode = global.game_mode if (game_mode == "customs") { if (battle_enemy_name == "craniex") script_execute(scr_start_enemy_attacking_craniex) else if (battle_enemy_name == "ms mettaton") script_execute(scr_start_enemy_attacking_ms_mettaton) } else if (game_mode == "yellow") { if (battle_enemy_name == "flier solo") script_execute(gml_Script_scr_start_enemy_attacking_flier_solo) else if (battle_enemy_name == "flier trio") script_execute(gml_Script_scr_start_enemy_attacking_flier_trio) else if (battle_enemy_name == "penilla solo") script_execute(gml_Script_scr_start_enemy_attacking_penilla_solo) else if (battle_enemy_name == "flier penilla duo") script_execute(gml_Script_scr_start_enemy_attacking_flier_penilla_duo) else if (battle_enemy_name == "sweet corn solo") script_execute(gml_Script_scr_start_enemy_attacking_sweet_corn_solo) else if (battle_enemy_name == "sweet corn duo") script_execute(gml_Script_scr_start_enemy_attacking_sweet_corn_duo) else if (battle_enemy_name == "sweet corn penilla duo") script_execute(gml_Script_scr_start_enemy_attacking_sweet_corn_penilla_duo) else if (battle_enemy_name == "crispy scroll solo") script_execute(gml_Script_scr_start_enemy_attacking_crispy_scroll_solo) else if (battle_enemy_name == "crispy scroll penilla duo") script_execute(gml_Script_scr_start_enemy_attacking_crispy_scroll_penilla_duo) else if (battle_enemy_name == "rorrim solo") script_execute(gml_Script_scr_start_enemy_attacking_rorrim_solo) else if (battle_enemy_name == "decibat") script_execute(gml_Script_scr_start_enemy_attacking_decibat) else if (battle_enemy_name == "dalv") script_execute(gml_Script_scr_start_enemy_attacking_dalv) else if (battle_enemy_name == "micro froggit") script_execute(gml_Script_scr_start_enemy_attacking_micro_froggit) else if (battle_enemy_name == "insomnitot solo") script_execute(gml_Script_scr_start_enemy_attacking_insomnitot_solo) else if (battle_enemy_name == "insomnitot duo") script_execute(gml_Script_scr_start_enemy_attacking_insomnitot_duo) else if (battle_enemy_name == "know cone solo") script_execute(gml_Script_scr_start_enemy_attacking_know_cone_solo) else if (battle_enemy_name == "know cone insomnitot duo") script_execute(gml_Script_scr_start_enemy_attacking_know_cone_insomnitot_duo) else if (battle_enemy_name == "frostermit solo") script_execute(gml_Script_scr_start_enemy_attacking_frostermit_solo) else if (battle_enemy_name == "frostermit know cone duo") script_execute(gml_Script_scr_start_enemy_attacking_frostermit_know_cone_duo) else if (battle_enemy_name == "trihecta together") script_execute(gml_Script_scr_start_enemy_attacking_trihecta_together) else if (battle_enemy_name == "trihecta separated") script_execute(gml_Script_scr_start_enemy_attacking_trihecta_separated) else if (battle_enemy_name == "martlet pacifist") script_execute(gml_Script_scr_start_enemy_attacking_martlet_pacifist) else if (battle_enemy_name == "martlet genocide") script_execute(gml_Script_scr_start_enemy_attacking_martlet_genocide) else if (battle_enemy_name == "dunebud solo") script_execute(gml_Script_scr_start_enemy_attacking_dunebud_solo) else if (battle_enemy_name == "dunebud duo") script_execute(gml_Script_scr_start_enemy_attacking_dunebud_duo) else if (battle_enemy_name == "cactony solo") script_execute(gml_Script_scr_start_enemy_attacking_cactony_solo) else if (battle_enemy_name == "slither solo") script_execute(gml_Script_scr_start_enemy_attacking_slither_solo) else if (battle_enemy_name == "bowll solo") script_execute(gml_Script_scr_start_enemy_attacking_bowll_solo) else if (battle_enemy_name == "cactony slither duo") script_execute(gml_Script_scr_start_enemy_attacking_cactony_slither_duo) else if (battle_enemy_name == "el bailador") script_execute(gml_Script_scr_start_enemy_attacking_el_bailador) else if (battle_enemy_name == "flower girls") script_execute(gml_Script_scr_start_enemy_attacking_flower_girls) else if (battle_enemy_name == "ceroba genocide") script_execute(gml_Script_scr_start_enemy_attacking_ceroba_genocide) else if (battle_enemy_name == "starlo") script_execute(gml_Script_scr_start_enemy_attacking_starlo) else if (battle_enemy_name == "boulders minifight") script_execute(gml_Script_scr_start_enemy_attacking_boulders) else if (battle_enemy_name == "feisty five") script_execute(gml_Script_scr_start_enemy_attacking_feisty_five) else if (battle_enemy_name == "steam minifight") script_execute(gml_Script_scr_start_enemy_attacking_steam) else if (battle_enemy_name == "energy balls minifight") script_execute(gml_Script_scr_start_enemy_attacking_energy_balls) else if (battle_enemy_name == "goosic") script_execute(gml_Script_scr_start_enemy_attacking_goosic_solo) else if (battle_enemy_name == "jandroid") script_execute(gml_Script_scr_start_enemy_attacking_jandroid_solo) else if (battle_enemy_name == "tellyvis") script_execute(gml_Script_scr_start_enemy_attacking_tellyvis_solo) else if (battle_enemy_name == "sousborg") script_execute(gml_Script_scr_start_enemy_attacking_sousborg) else if (battle_enemy_name == "jandroid goosic duo") script_execute(gml_Script_scr_start_enemy_attacking_jandroid_goosic_duo) else if (battle_enemy_name == "jandroid duo") script_execute(gml_Script_scr_start_enemy_attacking_jandroid_duo) else if (battle_enemy_name == "axis") { ...
() //gml_Script_scr_battle_core_directory_enemy_attack_start
2
{
3
    var battle_enemy_name = global.battle_enemy_name
4
    var game_mode = global.game_mode
5
    if (game_mode == "customs")
6
    {
7
        if (battle_enemy_name == "craniex")
8
            script_execute(scr_start_enemy_attacking_craniex)
9
        else if (battle_enemy_name == "ms mettaton")
10
            script_execute(scr_start_enemy_attacking_ms_mettaton)
11
    }
12
    else if (game_mode == "yellow")
13
    {
14
        if (battle_enemy_name == "flier solo")
15
            script_execute(gml_Script_scr_start_enemy_attacking_flier_solo)
16
        else if (battle_enemy_name == "flier trio")
17
            script_execute(gml_Script_scr_start_enemy_attacking_flier_trio)
18
        else if (battle_enemy_name == "penilla solo")
19
            script_execute(gml_Script_scr_start_enemy_attacking_penilla_solo)
20
        else if (battle_enemy_name == "flier penilla duo")
21
            script_execute(gml_Script_scr_start_enemy_attacking_flier_penilla_duo)
22
        else if (battle_enemy_name == "sweet corn solo")
23
            script_execute(gml_Script_scr_start_enemy_attacking_sweet_corn_solo)
24
        else if (battle_enemy_name == "sweet corn duo")
25
            script_execute(gml_Script_scr_start_enemy_attacking_sweet_corn_duo)
26
        else if (battle_enemy_name == "sweet corn penilla duo")
27
            script_execute(gml_Script_scr_start_enemy_attacking_sweet_corn_penilla_duo)
28
        else if (battle_enemy_name == "crispy scroll solo")
29
            script_execute(gml_Script_scr_start_enemy_attacking_crispy_scroll_solo)
30
        else if (battle_enemy_name == "crispy scroll penilla duo")
31
            script_execute(gml_Script_scr_start_enemy_attacking_crispy_scroll_penilla_duo)
32
        else if (battle_enemy_name == "rorrim solo")
33
            script_execute(gml_Script_scr_start_enemy_attacking_rorrim_solo)
34
        else if (battle_enemy_name == "decibat")
35
            script_execute(gml_Script_scr_start_enemy_attacking_decibat)
36
        else if (battle_enemy_name == "dalv")
37
            script_execute(gml_Script_scr_start_enemy_attacking_dalv)
38
        else if (battle_enemy_name == "micro froggit")
39
            script_execute(gml_Script_scr_start_enemy_attacking_micro_froggit)
40
        else if (battle_enemy_name == "insomnitot solo")
41
            script_execute(gml_Script_scr_start_enemy_attacking_insomnitot_solo)
42
        else if (battle_enemy_name == "insomnitot duo")
43
            script_execute(gml_Script_scr_start_enemy_attacking_insomnitot_duo)
44
        else if (battle_enemy_name == "know cone solo")
45
            script_execute(gml_Script_scr_start_enemy_attacking_know_cone_solo)
46
        else if (battle_enemy_name == "know cone insomnitot duo")
47
            script_execute(gml_Script_scr_start_enemy_attacking_know_cone_insomnitot_duo)
48
        else if (battle_enemy_name == "frostermit solo")
49
            script_execute(gml_Script_scr_start_enemy_attacking_frostermit_solo)
50
        else if (battle_enemy_name == "frostermit know cone duo")
51
            script_execute(gml_Script_scr_start_enemy_attacking_frostermit_know_cone_duo)
52
        else if (battle_enemy_name == "trihecta together")
53
            script_execute(gml_Script_scr_start_enemy_attacking_trihecta_together)
54
        else if (battle_enemy_name == "trihecta separated")
55
            script_execute(gml_Script_scr_start_enemy_attacking_trihecta_separated)
56
        else if (battle_enemy_name == "martlet pacifist")
57
            script_execute(gml_Script_scr_start_enemy_attacking_martlet_pacifist)
58
        else if (battle_enemy_name == "martlet genocide")
59
            script_execute(gml_Script_scr_start_enemy_attacking_martlet_genocide)
60
        else if (battle_enemy_name == "dunebud solo")
61
            script_execute(gml_Script_scr_start_enemy_attacking_dunebud_solo)
62
        else if (battle_enemy_name == "dunebud duo")
63
            script_execute(gml_Script_scr_start_enemy_attacking_dunebud_duo)
64
        else if (battle_enemy_name == "cactony solo")
65
            script_execute(gml_Script_scr_start_enemy_attacking_cactony_solo)
66
        else if (battle_enemy_name == "slither solo")
67
            script_execute(gml_Script_scr_start_enemy_attacking_slither_solo)
68
        else if (battle_enemy_name == "bowll solo")
69
            script_execute(gml_Script_scr_start_enemy_attacking_bowll_solo)
70
        else if (battle_enemy_name == "cactony slither duo")
71
            script_execute(gml_Script_scr_start_enemy_attacking_cactony_slither_duo)
72
        else if (battle_enemy_name == "el bailador")
73
            script_execute(gml_Script_scr_start_enemy_attacking_el_bailador)
74
        else if (battle_enemy_name == "flower girls")
75
            script_execute(gml_Script_scr_start_enemy_attacking_flower_girls)
76
        else if (battle_enemy_name == "ceroba genocide")
77
            script_execute(gml_Script_scr_start_enemy_attacking_ceroba_genocide)
78
        else if (battle_enemy_name == "starlo")
79
            script_execute(gml_Script_scr_start_enemy_attacking_starlo)
80
        else if (battle_enemy_name == "boulders minifight")
81
            script_execute(gml_Script_scr_start_enemy_attacking_boulders)
82
        else if (battle_enemy_name == "feisty five")
83
            script_execute(gml_Script_scr_start_enemy_attacking_feisty_five)
84
        else if (battle_enemy_name == "steam minifight")
85
            script_execute(gml_Script_scr_start_enemy_attacking_steam)
86
        else if (battle_enemy_name == "energy balls minifight")
87
            script_execute(gml_Script_scr_start_enemy_attacking_energy_balls)
88
        else if (battle_enemy_name == "goosic")
89
            script_execute(gml_Script_scr_start_enemy_attacking_goosic_solo)
90
        else if (battle_enemy_name == "jandroid")
91
            script_execute(gml_Script_scr_start_enemy_attacking_jandroid_solo)
92
        else if (battle_enemy_name == "tellyvis")
93
            script_execute(gml_Script_scr_start_enemy_attacking_tellyvis_solo)
94
        else if (battle_enemy_name == "sousborg")
95
            script_execute(gml_Script_scr_start_enemy_attacking_sousborg)
96
        else if (battle_enemy_name == "jandroid goosic duo")
97
            script_execute(gml_Script_scr_start_enemy_attacking_jandroid_goosic_duo)
98
        else if (battle_enemy_name == "jandroid duo")
99
            script_execute(gml_Script_scr_start_enemy_attacking_jandroid_duo)
100
        else if (battle_enemy_name == "axis")
101
        {
102
            if global.action_1_important
103
                script_execute(gml_Script_scr_start_enemy_no_attack_axis)
104
            else
105
                script_execute(gml_Script_scr_start_enemy_attacking_axis)
106
        }
107
        else if (battle_enemy_name == "axis genocide")
108
            script_execute(gml_Script_scr_start_enemy_attacking_axis_geno)
109
        else if (battle_enemy_name == "macro froggit")
110
            script_execute(gml_Script_scr_start_enemy_attacking_macro)
111
        else if (battle_enemy_name == "guardener")
112
            script_execute(gml_Script_scr_start_enemy_attacking_guardener)
113
        else if (battle_enemy_name == "flowey")
114
            script_execute(gml_Script_scr_start_enemy_attacking_flowey)
115
        else if (battle_enemy_name == "ceroba")
116
            script_execute(gml_Script_scr_start_enemy_attacking_ceroba)
117
        else if (battle_enemy_name == "martlet genocide final")
118
            script_execute(gml_Script_scr_start_enemy_attacking_martlet_genocide_final)
119
        else if (battle_enemy_name == "asgore")
120
            script_execute(gml_Script_scr_start_enemy_attacking_asgore)
121
    }
122
}