Undertale Yellow script viewer

← back to main script listing

gml_GlobalScript_scr_battle_core_directory_flavor_text_intro

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

function scr_battle_core_directory_flavor_text_intro() { var battle_enemy_name = global.battle_enemy_name; var game_mode = global.game_mode; if (game_mode == "customs") { if (battle_enemy_name == "craniex") { message[0] = "* Craniex steps toward the class,# ready to give another boring# lecture."; } else if (battle_enemy_name == "ms mettaton") { if (global.ms_mettaton_transformed == false) message[0] = "* Ms. Mettaton strikes!"; else if (global.ms_mettaton_transformed == true) message[0] = "* Ms. Mettaton EX makes her grand# debut!"; } } else if (game_mode == "yellow") { if (battle_enemy_name == "froggit intro") { message[0] = "* Froggit hopped close!"; } else if (battle_enemy_name == "flier solo") { message[0] = "* Flier is giving fighting a try!"; } else if (battle_enemy_name == "flier trio") { message[0] = "* You are overwhelmed by# depressing vibes."; } else if (battle_enemy_name == "penilla solo") { message[0] = "* Penilla draws near!"; } else if (battle_enemy_name == "flier penilla duo") { message[0] = "* Penilla seems to be dreading# this battle."; } else if (battle_enemy_name == "sweet corn solo") { message[0] = "* Sweet Corn hops up excitedly."; } else if (battle_enemy_name == "sweet corn duo") { message[0] = "* You can already feel the# cavities."; } else if (battle_enemy_name == "sweet corn penilla duo") { message[0] = "* Penilla encounters you.#* Sweet Corn comes out of nowhere# acting excited."; } else if (battle_enemy_name == "crispy scroll solo") { message[0] = "* Crispy Scroll is looking for# someone to talk to."; } else if (battle_enemy_name == "crispy scroll penilla duo") { message[0] = "* A powerful lone warrior and his# pencil companion encounter you!"; } else if (battle_enemy_name == "rorrim solo") { message[0] = "* Rorrim encounters you!"; } else if (battle_enemy_name == "decibat") { message[0] = "* Decibat makes his presence# known."; } else if (battle_enemy_name == "dalv") { message[0] = "* Dalv musters his fighting# spirit."; } else if (battle_enemy_name == "micro froggit") { message[0] = "* You notice Micro Froggit# attacking you!"; } else if (battle_enemy_name == "insomnitot solo") { message[0] = "* Insomnitot staggers forward."; } else if (battle_enemy_name == "insomnitot duo") { message[0] = "* You suddenly feel like taking a# nap."; } else if (battle_enemy_name == "know cone solo") { message[0] = "* Know Cone comes to see if you# are made of fire.#* You aren't."; } else if (battle_enemy_name == "know cone insomnitot duo") { message[0] = "* Insomnitot appears!#* Know Cone wanders in, chasing a# butterfly."; } else if (battle_enemy_name == "frostermit solo") { message[0] = "* There is an igloo here."; } else if (battle_enemy_name == "frostermit know cone duo") { message[0] = "* Know Cone encounters you, and# an igloo."; } else if (battle_enemy_name == "trihecta together") ...
()
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
        {
9
            message[0] = "* Craniex steps toward the class,#  ready to give another boring#  lecture.";
10
        }
11
        else if (battle_enemy_name == "ms mettaton")
12
        {
13
            if (global.ms_mettaton_transformed == false)
14
                message[0] = "* Ms. Mettaton strikes!";
15
            else if (global.ms_mettaton_transformed == true)
16
                message[0] = "* Ms. Mettaton EX makes her grand#  debut!";
17
        }
18
    }
19
    else if (game_mode == "yellow")
20
    {
21
        if (battle_enemy_name == "froggit intro")
22
        {
23
            message[0] = "* Froggit hopped close!";
24
        }
25
        else if (battle_enemy_name == "flier solo")
26
        {
27
            message[0] = "* Flier is giving fighting a try!";
28
        }
29
        else if (battle_enemy_name == "flier trio")
30
        {
31
            message[0] = "* You are overwhelmed by#  depressing vibes.";
32
        }
33
        else if (battle_enemy_name == "penilla solo")
34
        {
35
            message[0] = "* Penilla draws near!";
36
        }
37
        else if (battle_enemy_name == "flier penilla duo")
38
        {
39
            message[0] = "* Penilla seems to be dreading#  this battle.";
40
        }
41
        else if (battle_enemy_name == "sweet corn solo")
42
        {
43
            message[0] = "* Sweet Corn hops up excitedly.";
44
        }
45
        else if (battle_enemy_name == "sweet corn duo")
46
        {
47
            message[0] = "* You can already feel the#  cavities.";
48
        }
49
        else if (battle_enemy_name == "sweet corn penilla duo")
50
        {
51
            message[0] = "* Penilla encounters you.#* Sweet Corn comes out of nowhere#  acting excited.";
52
        }
53
        else if (battle_enemy_name == "crispy scroll solo")
54
        {
55
            message[0] = "* Crispy Scroll is looking for#  someone to talk to.";
56
        }
57
        else if (battle_enemy_name == "crispy scroll penilla duo")
58
        {
59
            message[0] = "* A powerful lone warrior and his#  pencil companion encounter you!";
60
        }
61
        else if (battle_enemy_name == "rorrim solo")
62
        {
63
            message[0] = "* Rorrim encounters you!";
64
        }
65
        else if (battle_enemy_name == "decibat")
66
        {
67
            message[0] = "* Decibat makes his presence#  known.";
68
        }
69
        else if (battle_enemy_name == "dalv")
70
        {
71
            message[0] = "* Dalv musters his fighting#  spirit.";
72
        }
73
        else if (battle_enemy_name == "micro froggit")
74
        {
75
            message[0] = "* You notice Micro Froggit#  attacking you!";
76
        }
77
        else if (battle_enemy_name == "insomnitot solo")
78
        {
79
            message[0] = "* Insomnitot staggers forward.";
80
        }
81
        else if (battle_enemy_name == "insomnitot duo")
82
        {
83
            message[0] = "* You suddenly feel like taking a#  nap.";
84
        }
85
        else if (battle_enemy_name == "know cone solo")
86
        {
87
            message[0] = "* Know Cone comes to see if you#  are made of fire.#* You aren't.";
88
        }
89
        else if (battle_enemy_name == "know cone insomnitot duo")
90
        {
91
            message[0] = "* Insomnitot appears!#* Know Cone wanders in, chasing a#  butterfly.";
92
        }
93
        else if (battle_enemy_name == "frostermit solo")
94
        {
95
            message[0] = "* There is an igloo here.";
96
        }
97
        else if (battle_enemy_name == "frostermit know cone duo")
98
        {
99
            message[0] = "* Know Cone encounters you, and#  an igloo.";
100
        }
101
        else if (battle_enemy_name == "trihecta together")
102
        {
103
            message[0] = "* Trihecta wobbles forward!";
104
        }
105
        else if (battle_enemy_name == "trihecta separated")
106
        {
107
            message[0] = "* Trihecta regroups, then bickers.";
108
        }
109
        else if (battle_enemy_name == "martlet pacifist")
110
        {
111
            message[0] = "* Martlet of the Royal Guard is#  waiting for your turn.";
112
        }
113
        else if (battle_enemy_name == "martlet genocide")
114
        {
115
            message[0] = "* Martlet seems puzzled.";
116
        }
117
        else if (battle_enemy_name == "dunebud solo")
118
        {
119
            message[0] = "* Dunebud popped out of the sand!";
120
        }
121
        else if (battle_enemy_name == "dunebud duo")
122
        {
123
            message[0] = "* Double trouble!";
124
        }
125
        else if (battle_enemy_name == "cactony solo")
126
        {
127
            message[0] = "* Cactony comes to share his pain.";
128
        }
129
        else if (battle_enemy_name == "slither solo")
130
        {
131
            message[0] = "* Sir Slither has a proposition!#  (real)";
132
        }
133
        else if (battle_enemy_name == "bowll solo")
134
        {
135
            message[0] = "* Bowll charges near you!";
136
        }
137
        else if (battle_enemy_name == "cactony slither duo")
138
        {
139
            message[0] = "* Cactony wandered in, Sir#  Slither closely following.";
140
        }
141
        else if (battle_enemy_name == "el bailador")
142
        {
143
            if (global.route != 3)
144
                message[0] = "* It's time to dance!";
145
            else
146
                message[0] = "* Another roadblock.";
147
        }
148
        else if (battle_enemy_name == "flower girls")
149
        {
150
            switch (global.dunes_flag[31])
151
            {
152
                case 1:
153
                    message[0] = "* Violetta passively approaches#  from the flowerbed.";
154
                    break;
155
                case 2:
156
                    message[0] = "* Pedla approaches from the#  flowerbed, offering you a#  flower.";
157
                    break;
158
                case 3:
159
                    message[0] = "* Rosa approaches from the#  flowerbed, twisting a flower in#  her hand.";
160
                    break;
161
                default:
162
                    message[0] = "* ...";
163
            }
164
        }
165
        else if (battle_enemy_name == "ceroba genocide")
166
        {
167
            message[0] = "* The atmosphere chills with ire.";
168
        }
169
        else if (battle_enemy_name == "starlo")
170
        {
171
            if (global.attack_cycle == 0)
172
                message[0] = "* Showdown!";
173
            else
174
                message[0] = "* Duel!";
175
        }
176
        else if (battle_enemy_name == "tellyvis")
177
        {
178
            message[0] = "* Telly-Vis tunes in!";
179
        }
180
        else if (battle_enemy_name == "jandroid")
181
        {
182
            message[0] = "* Jandroid strolls up, whistling#  a pitchy tune.";
183
        }
184
        else if (battle_enemy_name == "goosic")
185
        {
186
            message[0] = "* Goosic has come to share some#  sounds.";
187
        }
188
        else if (battle_enemy_name == "sousborg")
189
        {
190
            message[0] = "* Sousborg is ready to put your#  culinary skills to the test!";
191
        }
192
        else if (battle_enemy_name == "jandroid goosic duo")
193
        {
194
            message[0] = "* The robotic duo, Jandroid and#  Goosic, are here!";
195
        }
196
        else if (battle_enemy_name == "jandroid duo")
197
        {
198
            message[0] = "* Rinse, repeated.";
199
        }
200
        else if (battle_enemy_name == "axis")
201
        {
202
            message[0] = "* Axis Model 014, ready to#  attack!";
203
        }
204
        else if (battle_enemy_name == "axis genocide")
205
        {
206
            message[0] = "* Axis Model 014, ready to#  defend.";
207
        }
208
        else if (battle_enemy_name == "macro froggit")
209
        {
210
            message[0] = "* You notice Micro Froggit#  attacking you!";
211
            if (global.turns_passed > 0)
212
                message[0] = "* What the...";
213
        }
214
        else if (battle_enemy_name == "guardener")
215
        {
216
            message[0] = "* Guardener ensnares you!";
217
        }
218
        else if (battle_enemy_name == "ceroba")
219
        {
220
            if (global.hotland_flag[2] == 0)
221
                message[0] = "* No turning back.";
222
            else if (global.hotland_flag[2] == 1)
223
                message[0] = "* Let justice be done.";
224
            else
225
                message[0] = "* Ceroba is shaken by the#  memory.";
226
        }
227
        else if (battle_enemy_name == "martlet genocide final")
228
        {
229
            message[0] = "* The zenith of Monsterkind.";
230
            if (global.hotland_flag[9] >= 2)
231
                message[0] = "* Fallen down.";
232
        }
233
    }
234
}