Undertale Yellow script viewer

← back to main script listing

gml_GlobalScript_scr_battle_core_directory_enemy_attack_alarms

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

function scr_battle_core_directory_enemy_attack_alarms() //gml_Script_scr_battle_core_directory_enemy_attack_alarms { var battle_enemy_name = global.battle_enemy_name var enemy_attack = global.enemy_attack var game_mode = global.game_mode if (game_mode == "customs") { if (battle_enemy_name == "craniex") alarm[0] else if (battle_enemy_name == "ms mettaton") { if (enemy_attack == "Ms. Mettaton Happy Breaktime") alarm[0] } } else if (game_mode == "yellow") { if (battle_enemy_name == "flier solo" || battle_enemy_name == "flier trio") alarm[0] else if (battle_enemy_name == "penilla solo") alarm[0] else if (battle_enemy_name == "flier penilla duo") { if (enemy_attack == "Flier Flies" || enemy_attack == "Flier Fire") alarm[0] else alarm[0] } else if (battle_enemy_name == "sweet corn solo") alarm[0] else if (battle_enemy_name == "sweet corn duo") alarm[0] else if (battle_enemy_name == "sweet corn penilla duo") { if (enemy_attack == "Penilla Drawing") alarm[0] else alarm[0] } else if (battle_enemy_name == "crispy scroll solo") { if (enemy_attack == "Crispy Slash") alarm[0] else alarm[0] } else if (battle_enemy_name == "crispy scroll penilla duo") { if (enemy_attack == "Penilla Drawing") alarm[0] else if (enemy_attack == "Crispy Slash Drawing") alarm[0] else alarm[0] } else if (battle_enemy_name == "rorrim solo") alarm[0] else if (battle_enemy_name == "decibat") { if (enemy_attack == "Decibat Wave Blue" || enemy_attack == "Decibat Wave Orange") alarm[0] else alarm[0] } else if (battle_enemy_name == "dalv") { if (enemy_attack == "Dalv Lightning Spinner") alarm[0] else if (enemy_attack != "Dalv Lightning Bolt") alarm[0] } else if (battle_enemy_name == "micro froggit") alarm[0] else if (battle_enemy_name == "insomnitot solo") { if (enemy_attack != "Insomnitot Sheep") alarm[0] } else if (battle_enemy_name == "insomnitot duo") { if (enemy_attack != "Insomnitot Sheep" && enemy_attack != "Insomnitot Sheep ZZZ" && enemy_attack != "Insomnitot Sheep Stars") alarm[0] } else if (battle_enemy_name == "know cone solo") { if (enemy_attack != "Know Cone Cherries" && enemy_attack != "Know Cone Fig") alarm[0] } else if (battle_enemy_name == "know cone insomnitot duo") { if (enemy_attack != "Know Cone Cherries" && enemy_attack != "Know Cone Fig" && enemy_attack != "Insomnitot Sheep") alarm[0] } else if (battle_enemy_name == "frostermit solo") { if (enemy_attack == "Frostermit Snowflakes") alarm[0] else if (enemy_attack == "Frostermit Pinchers") alarm[0] } else if (battle_enemy_name == "frostermit know cone duo") ...
() //gml_Script_scr_battle_core_directory_enemy_attack_alarms
2
{
3
    var battle_enemy_name = global.battle_enemy_name
4
    var enemy_attack = global.enemy_attack
5
    var game_mode = global.game_mode
6
    if (game_mode == "customs")
7
    {
8
        if (battle_enemy_name == "craniex")
9
           alarm[0]
10
        else if (battle_enemy_name == "ms mettaton")
11
        {
12
            if (enemy_attack == "Ms. Mettaton Happy Breaktime")
13
               alarm[0]
14
        }
15
    }
16
    else if (game_mode == "yellow")
17
    {
18
        if (battle_enemy_name == "flier solo" || battle_enemy_name == "flier trio")
19
           alarm[0]
20
        else if (battle_enemy_name == "penilla solo")
21
           alarm[0]
22
        else if (battle_enemy_name == "flier penilla duo")
23
        {
24
            if (enemy_attack == "Flier Flies" || enemy_attack == "Flier Fire")
25
               alarm[0]
26
            else
27
               alarm[0]
28
        }
29
        else if (battle_enemy_name == "sweet corn solo")
30
           alarm[0]
31
        else if (battle_enemy_name == "sweet corn duo")
32
           alarm[0]
33
        else if (battle_enemy_name == "sweet corn penilla duo")
34
        {
35
            if (enemy_attack == "Penilla Drawing")
36
               alarm[0]
37
            else
38
               alarm[0]
39
        }
40
        else if (battle_enemy_name == "crispy scroll solo")
41
        {
42
            if (enemy_attack == "Crispy Slash")
43
               alarm[0]
44
            else
45
               alarm[0]
46
        }
47
        else if (battle_enemy_name == "crispy scroll penilla duo")
48
        {
49
            if (enemy_attack == "Penilla Drawing")
50
               alarm[0]
51
            else if (enemy_attack == "Crispy Slash Drawing")
52
               alarm[0]
53
            else
54
               alarm[0]
55
        }
56
        else if (battle_enemy_name == "rorrim solo")
57
           alarm[0]
58
        else if (battle_enemy_name == "decibat")
59
        {
60
            if (enemy_attack == "Decibat Wave Blue" || enemy_attack == "Decibat Wave Orange")
61
               alarm[0]
62
            else
63
               alarm[0]
64
        }
65
        else if (battle_enemy_name == "dalv")
66
        {
67
            if (enemy_attack == "Dalv Lightning Spinner")
68
               alarm[0]
69
            else if (enemy_attack != "Dalv Lightning Bolt")
70
               alarm[0]
71
        }
72
        else if (battle_enemy_name == "micro froggit")
73
           alarm[0]
74
        else if (battle_enemy_name == "insomnitot solo")
75
        {
76
            if (enemy_attack != "Insomnitot Sheep")
77
               alarm[0]
78
        }
79
        else if (battle_enemy_name == "insomnitot duo")
80
        {
81
            if (enemy_attack != "Insomnitot Sheep" && enemy_attack != "Insomnitot Sheep ZZZ" && enemy_attack != "Insomnitot Sheep Stars")
82
               alarm[0]
83
        }
84
        else if (battle_enemy_name == "know cone solo")
85
        {
86
            if (enemy_attack != "Know Cone Cherries" && enemy_attack != "Know Cone Fig")
87
               alarm[0]
88
        }
89
        else if (battle_enemy_name == "know cone insomnitot duo")
90
        {
91
            if (enemy_attack != "Know Cone Cherries" && enemy_attack != "Know Cone Fig" && enemy_attack != "Insomnitot Sheep")
92
               alarm[0]
93
        }
94
        else if (battle_enemy_name == "frostermit solo")
95
        {
96
            if (enemy_attack == "Frostermit Snowflakes")
97
               alarm[0]
98
            else if (enemy_attack == "Frostermit Pinchers")
99
               alarm[0]
100
        }
101
        else if (battle_enemy_name == "frostermit know cone duo")
102
        {
103
            if (enemy_attack == "Frostermit Pinchers")
104
               alarm[0]
105
            else if (enemy_attack != "Frostermit Ice Cubes" && enemy_attack != "Know Cone Cherries" && enemy_attack != "Know Cone Fig")
106
               alarm[0]
107
        }
108
        else if (battle_enemy_name == "trihecta together" || battle_enemy_name == "trihecta separated")
109
        {
110
            if (enemy_attack == "Trihecta Circle Reflect")
111
               alarm[0]
112
            else if (enemy_attack == "Trihecta Circle Stack")
113
               alarm[0]
114
        }
115
        else if (battle_enemy_name == "martlet pacifist" || battle_enemy_name == "martlet genocide")
116
        {
117
        }
118
        else if (battle_enemy_name == "dunebud solo")
119
        {
120
        }
121
        else if (battle_enemy_name == "cactony solo" || battle_enemy_name == "cactony slither duo")
122
        {
123
            if (enemy_attack != "Cactony Needle Green")
124
            {
125
            }
126
            else if (enemy_attack == "Cactony Needle Green")
127
               alarm[0]
128
        }
129
        else if (battle_enemy_name == "bowll solo")
130
        {
131
        }
132
        else if (battle_enemy_name == "el bailador")
133
        {
134
        }
135
        else if (battle_enemy_name == "flower girls")
136
        {
137
        }
138
        else if (battle_enemy_name == "starlo")
139
        {
140
        }
141
        else if (battle_enemy_name == "feisty five")
142
        {
143
        }
144
        else if (battle_enemy_name == "tellyvis")
145
        {
146
        }
147
        else if (battle_enemy_name == "axis" || battle_enemy_name == "axis genocide")
148
        {
149
        }
150
        else if (battle_enemy_name == "macro froggit")
151
        {
152
        }
153
    }
154
}