Undertale Yellow script viewer

← back to main script listing

gml_GlobalScript_scr_battle_core_directory_enemy_1_name

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

function scr_battle_core_directory_enemy_1_name(argument0, argument1) //gml_Script_scr_battle_core_directory_enemy_1_name { var battle_enemy_name = global.battle_enemy_name var game_mode = global.game_mode if (game_mode == "customs") { if (battle_enemy_name == "craniex") { battle_menu_option_x = obj_dialogue_box_battle.x + argument0 battle_menu_option_y = obj_dialogue_box_battle.y + argument1 battle_menu_option_string = "* Craniex" script_execute(gml_Script_scr_draw_text_effect_twitchy_textbox_battle_menu_options) global.battle_enemy_name_string_width = string_width(string_hash_to_newline(battle_menu_option_string)) } else if (battle_enemy_name == "ms mettaton") { var ms_mettaton_transformed = global.ms_mettaton_transformed if (ms_mettaton_transformed == false) { battle_menu_option_x = obj_dialogue_box_battle.x + argument0 battle_menu_option_y = obj_dialogue_box_battle.y + argument1 battle_menu_option_string = "* Ms. Mettaton" script_execute(gml_Script_scr_draw_text_effect_twitchy_textbox_battle_menu_options) global.battle_enemy_name_string_width = string_width(string_hash_to_newline(battle_menu_option_string)) } else if (ms_mettaton_transformed == true) { battle_menu_option_x = obj_dialogue_box_battle.x + argument0 battle_menu_option_y = obj_dialogue_box_battle.y + argument1 battle_menu_option_string = "* Ms. Mettaton EX" script_execute(gml_Script_scr_draw_text_effect_twitchy_textbox_battle_menu_options) global.battle_enemy_name_string_width = string_width(string_hash_to_newline(battle_menu_option_string)) } } } else if (game_mode == "yellow") { if (battle_enemy_name == "froggit intro") { battle_menu_option_x = obj_dialogue_box_battle.x + argument0 battle_menu_option_y = obj_dialogue_box_battle.y + argument1 battle_menu_option_string = "* Froggit" script_execute(gml_Script_scr_draw_text_effect_twitchy_textbox_battle_menu_options) global.battle_enemy_name_string_width = string_width(string_hash_to_newline(battle_menu_option_string)) } else if (battle_enemy_name == "flier solo") { battle_menu_option_x = obj_dialogue_box_battle.x + argument0 battle_menu_option_y = obj_dialogue_box_battle.y + argument1 battle_menu_option_string = "* Flier" script_execute(gml_Script_scr_draw_text_effect_twitchy_textbox_battle_menu_options) global.battle_enemy_name_string_width = string_width(string_hash_to_newline(battle_menu_option_string)) } else if (battle_enemy_name == "flier trio") { battle_menu_option_x = obj_dialogue_box_battle.x + argument0 battle_menu_option_y = obj_dialogue_box_battle.y + argument1 battle_menu_option_string = "* Flier A" script_execute(gml_Script_scr_draw_text_effect_twitchy_textbox_battle_menu_options) global.battle_enemy_name_string_width = string_width(string_hash_to_newline(battle_menu_option_string)) } else if (battle_enemy_name == "penilla solo") { battle_menu_option_x = obj_dialogue_box_battle.x + argument0 battle_menu_option_y = obj_dialogue_box_battle.y + argument1 battle_menu_option_string = "* Penilla" script_execute(gml_Script_scr_draw_text_effect_twitchy_textbox_battle_menu_options) global.battle_enemy_name_string_width = string_width(string_hash_to_newline(battle_menu_option_string)) } else if (battle_enemy_name == "flier penilla duo") { battle_menu_option_x = obj_dialogue_box_battle.x + argument0 battle_menu_option_y = obj_dialogue_box_battle.y + argument1 battle_menu_option_string = "* Flier" script_execute(gml_Script_scr_draw_text_effect_twitchy_textbox_battle_menu_options) global.battle_enemy_name_string_width = string_width(string_hash_to_newline(battle_menu_option_string)) } else if (battle_enemy_name == "sweet corn solo") { battle_menu_option_x = obj_dialogue_box_battle.x + argument0 battle_menu_option_y = obj_dialogue_box_battle.y + argument1 battle_menu_option_string = "* Sweet Corn" script_execute(gml_Script_scr_draw_text_effect_twitchy_textbox_battle_menu_options) global.battle_enemy_name_string_width = string_width(string_hash_to_newline(battle_menu_option_string)) } else if (battle_enemy_name == "sweet corn duo") { battle_menu_option_x = obj_dialogue_box_battle.x + argument0 battle_menu_option_y = obj_dialogue_box_battle.y + argument1 battle_menu_option_string = "* Sweet Corn A" script_execute(gml_Script_scr_draw_text_effect_twitchy_textbox_battle_menu_options) global.battle_enemy_name_string_width = string_width(string_hash_to_newline(battle_menu_option_string)) } else if (battle_enemy_name == "sweet corn penilla duo") { battle_menu_option_x = obj_dialogue_box_battle.x + argument0 battle_menu_option_y = obj_dialogue_box_battle.y + argument1 battle_menu_option_string = "* Sweet Corn" script_execute(gml_Script_scr_draw_text_effect_twitchy_textbox_battle_menu_options) global.battle_enemy_name_string_width = string_width(string_hash_to_newline(battle_menu_option_string)) } ...
(argument0, argument1) //gml_Script_scr_battle_core_directory_enemy_1_name
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
            battle_menu_option_x = obj_dialogue_box_battle.x + argument0
10
            battle_menu_option_y = obj_dialogue_box_battle.y + argument1
11
            battle_menu_option_string = "* Craniex"
12
            script_execute(gml_Script_scr_draw_text_effect_twitchy_textbox_battle_menu_options)
13
            global.battle_enemy_name_string_width = string_width(string_hash_to_newline(battle_menu_option_string))
14
        }
15
        else if (battle_enemy_name == "ms mettaton")
16
        {
17
            var ms_mettaton_transformed = global.ms_mettaton_transformed
18
            if (ms_mettaton_transformed == false)
19
            {
20
                battle_menu_option_x = obj_dialogue_box_battle.x + argument0
21
                battle_menu_option_y = obj_dialogue_box_battle.y + argument1
22
                battle_menu_option_string = "* Ms. Mettaton"
23
                script_execute(gml_Script_scr_draw_text_effect_twitchy_textbox_battle_menu_options)
24
                global.battle_enemy_name_string_width = string_width(string_hash_to_newline(battle_menu_option_string))
25
            }
26
            else if (ms_mettaton_transformed == true)
27
            {
28
                battle_menu_option_x = obj_dialogue_box_battle.x + argument0
29
                battle_menu_option_y = obj_dialogue_box_battle.y + argument1
30
                battle_menu_option_string = "* Ms. Mettaton EX"
31
                script_execute(gml_Script_scr_draw_text_effect_twitchy_textbox_battle_menu_options)
32
                global.battle_enemy_name_string_width = string_width(string_hash_to_newline(battle_menu_option_string))
33
            }
34
        }
35
    }
36
    else if (game_mode == "yellow")
37
    {
38
        if (battle_enemy_name == "froggit intro")
39
        {
40
            battle_menu_option_x = obj_dialogue_box_battle.x + argument0
41
            battle_menu_option_y = obj_dialogue_box_battle.y + argument1
42
            battle_menu_option_string = "* Froggit"
43
            script_execute(gml_Script_scr_draw_text_effect_twitchy_textbox_battle_menu_options)
44
            global.battle_enemy_name_string_width = string_width(string_hash_to_newline(battle_menu_option_string))
45
        }
46
        else if (battle_enemy_name == "flier solo")
47
        {
48
            battle_menu_option_x = obj_dialogue_box_battle.x + argument0
49
            battle_menu_option_y = obj_dialogue_box_battle.y + argument1
50
            battle_menu_option_string = "* Flier"
51
            script_execute(gml_Script_scr_draw_text_effect_twitchy_textbox_battle_menu_options)
52
            global.battle_enemy_name_string_width = string_width(string_hash_to_newline(battle_menu_option_string))
53
        }
54
        else if (battle_enemy_name == "flier trio")
55
        {
56
            battle_menu_option_x = obj_dialogue_box_battle.x + argument0
57
            battle_menu_option_y = obj_dialogue_box_battle.y + argument1
58
            battle_menu_option_string = "* Flier A"
59
            script_execute(gml_Script_scr_draw_text_effect_twitchy_textbox_battle_menu_options)
60
            global.battle_enemy_name_string_width = string_width(string_hash_to_newline(battle_menu_option_string))
61
        }
62
        else if (battle_enemy_name == "penilla solo")
63
        {
64
            battle_menu_option_x = obj_dialogue_box_battle.x + argument0
65
            battle_menu_option_y = obj_dialogue_box_battle.y + argument1
66
            battle_menu_option_string = "* Penilla"
67
            script_execute(gml_Script_scr_draw_text_effect_twitchy_textbox_battle_menu_options)
68
            global.battle_enemy_name_string_width = string_width(string_hash_to_newline(battle_menu_option_string))
69
        }
70
        else if (battle_enemy_name == "flier penilla duo")
71
        {
72
            battle_menu_option_x = obj_dialogue_box_battle.x + argument0
73
            battle_menu_option_y = obj_dialogue_box_battle.y + argument1
74
            battle_menu_option_string = "* Flier"
75
            script_execute(gml_Script_scr_draw_text_effect_twitchy_textbox_battle_menu_options)
76
            global.battle_enemy_name_string_width = string_width(string_hash_to_newline(battle_menu_option_string))
77
        }
78
        else if (battle_enemy_name == "sweet corn solo")
79
        {
80
            battle_menu_option_x = obj_dialogue_box_battle.x + argument0
81
            battle_menu_option_y = obj_dialogue_box_battle.y + argument1
82
            battle_menu_option_string = "* Sweet Corn"
83
            script_execute(gml_Script_scr_draw_text_effect_twitchy_textbox_battle_menu_options)
84
            global.battle_enemy_name_string_width = string_width(string_hash_to_newline(battle_menu_option_string))
85
        }
86
        else if (battle_enemy_name == "sweet corn duo")
87
        {
88
            battle_menu_option_x = obj_dialogue_box_battle.x + argument0
89
            battle_menu_option_y = obj_dialogue_box_battle.y + argument1
90
            battle_menu_option_string = "* Sweet Corn A"
91
            script_execute(gml_Script_scr_draw_text_effect_twitchy_textbox_battle_menu_options)
92
            global.battle_enemy_name_string_width = string_width(string_hash_to_newline(battle_menu_option_string))
93
        }
94
        else if (battle_enemy_name == "sweet corn penilla duo")
95
        {
96
            battle_menu_option_x = obj_dialogue_box_battle.x + argument0
97
            battle_menu_option_y = obj_dialogue_box_battle.y + argument1
98
            battle_menu_option_string = "* Sweet Corn"
99
            script_execute(gml_Script_scr_draw_text_effect_twitchy_textbox_battle_menu_options)
100
            global.battle_enemy_name_string_width = string_width(string_hash_to_newline(battle_menu_option_string))
101
        }
102
        else if (battle_enemy_name == "crispy scroll solo")
103
        {
104
            battle_menu_option_x = obj_dialogue_box_battle.x + argument0
105
            battle_menu_option_y = obj_dialogue_box_battle.y + argument1
106
            battle_menu_option_string = "* Crispy Scroll"
107
            script_execute(gml_Script_scr_draw_text_effect_twitchy_textbox_battle_menu_options)
108
            global.battle_enemy_name_string_width = string_width(string_hash_to_newline(battle_menu_option_string))
109
        }
110
        else if (battle_enemy_name == "crispy scroll penilla duo")
111
        {
112
            battle_menu_option_x = obj_dialogue_box_battle.x + argument0
113
            battle_menu_option_y = obj_dialogue_box_battle.y + argument1
114
            battle_menu_option_string = "* Crispy Scroll"
115
            script_execute(gml_Script_scr_draw_text_effect_twitchy_textbox_battle_menu_options)
116
            global.battle_enemy_name_string_width = string_width(string_hash_to_newline(battle_menu_option_string))
117
        }
118
        else if (battle_enemy_name == "rorrim solo")
119
        {
120
            battle_menu_option_x = obj_dialogue_box_battle.x + argument0
121
            battle_menu_option_y = obj_dialogue_box_battle.y + argument1
122
            battle_menu_option_string = "* Rorrim"
123
            script_execute(gml_Script_scr_draw_text_effect_twitchy_textbox_battle_menu_options)
124
            global.battle_enemy_name_string_width = string_width(string_hash_to_newline(battle_menu_option_string))
125
        }
126
        else if (battle_enemy_name == "decibat")
127
        {
128
            battle_menu_option_x = obj_dialogue_box_battle.x + argument0
129
            battle_menu_option_y = obj_dialogue_box_battle.y + argument1
130
            battle_menu_option_string = "* Decibat"
131
            script_execute(gml_Script_scr_draw_text_effect_twitchy_textbox_battle_menu_options)
132
            global.battle_enemy_name_string_width = string_width(string_hash_to_newline(battle_menu_option_string))
133
        }
134
        else if (battle_enemy_name == "dalv")
135
        {
136
            battle_menu_option_x = obj_dialogue_box_battle.x + argument0
137
            battle_menu_option_y = obj_dialogue_box_battle.y + argument1
138
            battle_menu_option_string = "* Dalv"
139
            script_execute(gml_Script_scr_draw_text_effect_twitchy_textbox_battle_menu_options)
140
            global.battle_enemy_name_string_width = string_width(string_hash_to_newline(battle_menu_option_string))
141
        }
142
        else if (battle_enemy_name == "micro froggit")
143
        {
144
            battle_menu_option_x = obj_dialogue_box_battle.x + argument0
145
            battle_menu_option_y = obj_dialogue_box_battle.y + argument1
146
            battle_menu_option_string = "* Micro Froggit"
147
            script_execute(gml_Script_scr_draw_text_effect_twitchy_textbox_battle_menu_options)
148
            global.battle_enemy_name_string_width = string_width(string_hash_to_newline(battle_menu_option_string))
149
        }
150
        else if (battle_enemy_name == "insomnitot solo")
151
        {
152
            battle_menu_option_x = obj_dialogue_box_battle.x + argument0
153
            battle_menu_option_y = obj_dialogue_box_battle.y + argument1
154
            battle_menu_option_string = "* Insomnitot"
155
            script_execute(gml_Script_scr_draw_text_effect_twitchy_textbox_battle_menu_options)
156
            global.battle_enemy_name_string_width = string_width(string_hash_to_newline(battle_menu_option_string))
157
        }
158
        else if (battle_enemy_name == "insomnitot duo")
159
        {
160
            battle_menu_option_x = obj_dialogue_box_battle.x + argument0
161
            battle_menu_option_y = obj_dialogue_box_battle.y + argument1
162
            battle_menu_option_string = "* Insomnitot A"
163
            script_execute(gml_Script_scr_draw_text_effect_twitchy_textbox_battle_menu_options)
164
            global.battle_enemy_name_string_width = string_width(string_hash_to_newline(battle_menu_option_string))
165
        }
166
        else if (battle_enemy_name == "know cone solo")
167
        {
168
            battle_menu_option_x = obj_dialogue_box_battle.x + argument0
169
            battle_menu_option_y = obj_dialogue_box_battle.y + argument1
170
            battle_menu_option_string = "* Know Cone"
171
            script_execute(gml_Script_scr_draw_text_effect_twitchy_textbox_battle_menu_options)
172
            global.battle_enemy_name_string_width = string_width(string_hash_to_newline(battle_menu_option_string))
173
        }
174
        else if (battle_enemy_name == "know cone insomnitot duo")
175
        {
176
            battle_menu_option_x = obj_dialogue_box_battle.x + argument0
177
            battle_menu_option_y = obj_dialogue_box_battle.y + argument1
178
            battle_menu_option_string = "* Know Cone"
179
            script_execute(gml_Script_scr_draw_text_effect_twitchy_textbox_battle_menu_options)
180
            global.battle_enemy_name_string_width = string_width(string_hash_to_newline(battle_menu_option_string))
181
        }
182
        else if (battle_enemy_name == "frostermit solo")
183
        {
184
            battle_menu_option_x = obj_dialogue_box_battle.x + argument0
185
            battle_menu_option_y = obj_dialogue_box_battle.y + argument1
186
            battle_menu_option_string = "* Frostermit"
187
            script_execute(gml_Script_scr_draw_text_effect_twitchy_textbox_battle_menu_options)
188
            global.battle_enemy_name_string_width = string_width(string_hash_to_newline(battle_menu_option_string))
189
        }
190
        else if (battle_enemy_name == "frostermit know cone duo")
191
        {
192
            battle_menu_option_x = obj_dialogue_box_battle.x + argument0
193
            battle_menu_option_y = obj_dialogue_box_battle.y + argument1
194
            battle_menu_option_string = "* Frostermit"
195
            script_execute(gml_Script_scr_draw_text_effect_twitchy_textbox_battle_menu_options)
196
            global.battle_enemy_name_string_width = string_width(string_hash_to_newline(battle_menu_option_string))
197
        }
198
        else if (battle_enemy_name == "trihecta together")
199
        {
200
            battle_menu_option_x = obj_dialogue_box_battle.x + argument0
201
            battle_menu_option_y = obj_dialogue_box_battle.y + argument1
202
            battle_menu_option_string = "* Trihecta"
203
            script_execute(gml_Script_scr_draw_text_effect_twitchy_textbox_battle_menu_options)
204
            global.battle_enemy_name_string_width = string_width(string_hash_to_newline(battle_menu_option_string))
205
        }
206
        else if (battle_enemy_name == "trihecta separated")
207
        {
208
            battle_menu_option_x = obj_dialogue_box_battle.x + argument0
209
            battle_menu_option_y = obj_dialogue_box_battle.y + argument1
210
            battle_menu_option_string = "* Tri"
211
            script_execute(gml_Script_scr_draw_text_effect_twitchy_textbox_battle_menu_options)
212
            global.battle_enemy_name_string_width = string_width(string_hash_to_newline(battle_menu_option_string))
213
        }
214
        else if (battle_enemy_name == "martlet pacifist" || battle_enemy_name == "martlet genocide")
215
        {
216
            battle_menu_option_x = obj_dialogue_box_battle.x + argument0
217
            battle_menu_option_y = obj_dialogue_box_battle.y + argument1
218
            battle_menu_option_string = "* Martlet"
219
            script_execute(gml_Script_scr_draw_text_effect_twitchy_textbox_battle_menu_options)
220
            global.battle_enemy_name_string_width = string_width(string_hash_to_newline(battle_menu_option_string))
221
        }
222
        else if (battle_enemy_name == "dunebud solo")
223
        {
224
            battle_menu_option_x = obj_dialogue_box_battle.x + argument0
225
            battle_menu_option_y = obj_dialogue_box_battle.y + argument1
226
            battle_menu_option_string = "* Dunebud"
227
            script_execute(gml_Script_scr_draw_text_effect_twitchy_textbox_battle_menu_options)
228
            global.battle_enemy_name_string_width = string_width(string_hash_to_newline(battle_menu_option_string))
229
        }
230
        else if (battle_enemy_name == "dunebud duo")
231
        {
232
            battle_menu_option_x = obj_dialogue_box_battle.x + argument0
233
            battle_menu_option_y = obj_dialogue_box_battle.y + argument1
234
            battle_menu_option_string = "* Dunebud A"
235
            script_execute(gml_Script_scr_draw_text_effect_twitchy_textbox_battle_menu_options)
236
            global.battle_enemy_name_string_width = string_width(string_hash_to_newline(battle_menu_option_string))
237
        }
238
        else if (battle_enemy_name == "cactony solo" || battle_enemy_name == "cactony slither duo")
239
        {
240
            battle_menu_option_x = obj_dialogue_box_battle.x + argument0
241
            battle_menu_option_y = obj_dialogue_box_battle.y + argument1
242
            battle_menu_option_string = "* Cactony"
243
            script_execute(gml_Script_scr_draw_text_effect_twitchy_textbox_battle_menu_options)
244
            global.battle_enemy_name_string_width = string_width(string_hash_to_newline(battle_menu_option_string))
245
        }
246
        else if (battle_enemy_name == "slither solo")
247
        {
248
            battle_menu_option_x = obj_dialogue_box_battle.x + argument0
249
            battle_menu_option_y = obj_dialogue_box_battle.y + argument1
250
            battle_menu_option_string = "* Sir Slither"
251
            script_execute(gml_Script_scr_draw_text_effect_twitchy_textbox_battle_menu_options)
252
            global.battle_enemy_name_string_width = string_width(string_hash_to_newline(battle_menu_option_string))
253
        }
254
        else if (battle_enemy_name == "bowll solo")
255
        {
256
            battle_menu_option_x = obj_dialogue_box_battle.x + argument0
257
            battle_menu_option_y = obj_dialogue_box_battle.y + argument1
258
            battle_menu_option_string = "* Bowll"
259
            script_execute(gml_Script_scr_draw_text_effect_twitchy_textbox_battle_menu_options)
260
            global.battle_enemy_name_string_width = string_width(string_hash_to_newline(battle_menu_option_string))
261
        }
262
        else if (battle_enemy_name == "el bailador")
263
        {
264
            battle_menu_option_x = obj_dialogue_box_battle.x + argument0
265
            battle_menu_option_y = obj_dialogue_box_battle.y + argument1
266
            battle_menu_option_string = "* El Bailador"
267
            script_execute(gml_Script_scr_draw_text_effect_twitchy_textbox_battle_menu_options)
268
            global.battle_enemy_name_string_width = string_width(string_hash_to_newline(battle_menu_option_string))
269
        }
270
        else if (battle_enemy_name == "dummy training pacifist")
271
        {
272
            battle_menu_option_x = obj_dialogue_box_battle.x + argument0
273
            battle_menu_option_y = obj_dialogue_box_battle.y + argument1
274
            battle_menu_option_string = "* Dummy"
275
            script_execute(gml_Script_scr_draw_text_effect_twitchy_textbox_battle_menu_options)
276
            global.battle_enemy_name_string_width = string_width(string_hash_to_newline(battle_menu_option_string))
277
        }
278
        else if (battle_enemy_name == "flower girls")
279
        {
280
            battle_menu_option_x = obj_dialogue_box_battle.x + argument0
281
            battle_menu_option_y = obj_dialogue_box_battle.y + argument1
282
            switch global.dunes_flag[31]
283
            {
284
                case 1:
285
                    battle_menu_option_string = "* Violetta"
286
                    break
287
                case 2:
288
                    battle_menu_option_string = "* Pedla"
289
                    break
290
                case 3:
291
                    battle_menu_option_string = "* Rosa"
292
                    break
293
            }
294
295
            script_execute(gml_Script_scr_draw_text_effect_twitchy_textbox_battle_menu_options)
296
            global.battle_enemy_name_string_width = string_width(string_hash_to_newline(battle_menu_option_string))
297
        }
298
        else if (battle_enemy_name == "ceroba genocide")
299
        {
300
            battle_menu_option_x = obj_dialogue_box_battle.x + argument0
301
            battle_menu_option_y = obj_dialogue_box_battle.y + argument1
302
            battle_menu_option_string = "* Ceroba"
303
            script_execute(gml_Script_scr_draw_text_effect_twitchy_textbox_battle_menu_options)
304
            global.battle_enemy_name_string_width = string_width(string_hash_to_newline(battle_menu_option_string))
305
        }
306
        else if (battle_enemy_name == "starlo")
307
        {
308
            battle_menu_option_x = obj_dialogue_box_battle.x + argument0
309
            battle_menu_option_y = obj_dialogue_box_battle.y + argument1
310
            battle_menu_option_string = "* Starlo"
311
            script_execute(gml_Script_scr_draw_text_effect_twitchy_textbox_battle_menu_options)
312
            global.battle_enemy_name_string_width = string_width(string_hash_to_newline(battle_menu_option_string))
313
        }
314
        else if (battle_enemy_name == "feisty five")
315
        {
316
            var battle_enemy_name_1 = global.battle_enemy_name_1
317
            battle_menu_option_x = obj_dialogue_box_battle.x + argument0
318
            battle_menu_option_y = obj_dialogue_box_battle.y + argument1
319
            switch battle_enemy_name_1
320
            {
321
                case "ed":
322
                    battle_menu_option_string = "* Ed"
323
                    break
324
                case "moray":
325
                    battle_menu_option_string = "* Moray"
326
                    break
327
                case "ace":
328
                    battle_menu_option_string = "* Ace"
329
                    break
330
                case "mooch":
331
                    battle_menu_option_string = "* Mooch"
332
                    break
333
                default:
334
                    battle_menu_option_string = "* Feisty Four"
335
            }
336
337
            script_execute(gml_Script_scr_draw_text_effect_twitchy_textbox_battle_menu_options)
338
            global.battle_enemy_name_string_width = string_width(battle_menu_option_string)
339
        }
340
        else if (battle_enemy_name == "tellyvis")
341
        {
342
            battle_menu_option_x = obj_dialogue_box_battle.x + argument0
343
            battle_menu_option_y = obj_dialogue_box_battle.y + argument1
344
            battle_menu_option_string = "* Telly-Vis"
345
            script_execute(gml_Script_scr_draw_text_effect_twitchy_textbox_battle_menu_options)
346
            global.battle_enemy_name_string_width = string_width(string_hash_to_newline(battle_menu_option_string))
347
        }
348
        else if (battle_enemy_name == "jandroid" || battle_enemy_name == "jandroid goosic duo")
349
        {
350
            battle_menu_option_x = obj_dialogue_box_battle.x + argument0
351
            battle_menu_option_y = obj_dialogue_box_battle.y + argument1
352
            battle_menu_option_string = "* Jandroid"
353
            script_execute(gml_Script_scr_draw_text_effect_twitchy_textbox_battle_menu_options)
354
            global.battle_enemy_name_string_width = string_width(string_hash_to_newline(battle_menu_option_string))
355
        }
356
        else if (battle_enemy_name == "jandroid duo")
357
        {
358
            battle_menu_option_x = obj_dialogue_box_battle.x + argument0
359
            battle_menu_option_y = obj_dialogue_box_battle.y + argument1
360
            battle_menu_option_string = "* Jandroid A"
361
            script_execute(gml_Script_scr_draw_text_effect_twitchy_textbox_battle_menu_options)
362
            global.battle_enemy_name_string_width = string_width(string_hash_to_newline(battle_menu_option_string))
363
        }
364
        else if (battle_enemy_name == "goosic")
365
        {
366
            battle_menu_option_x = obj_dialogue_box_battle.x + argument0
367
            battle_menu_option_y = obj_dialogue_box_battle.y + argument1
368
            battle_menu_option_string = "* Goosic"
369
            script_execute(gml_Script_scr_draw_text_effect_twitchy_textbox_battle_menu_options)
370
            global.battle_enemy_name_string_width = string_width(string_hash_to_newline(battle_menu_option_string))
371
        }
372
        else if (battle_enemy_name == "sousborg")
373
        {
374
            battle_menu_option_x = obj_dialogue_box_battle.x + argument0
375
            battle_menu_option_y = obj_dialogue_box_battle.y + argument1
376
            battle_menu_option_string = "* Sousborg"
377
            script_execute(gml_Script_scr_draw_text_effect_twitchy_textbox_battle_menu_options)
378
            global.battle_enemy_name_string_width = string_width(string_hash_to_newline(battle_menu_option_string))
379
        }
380
        else if (battle_enemy_name == "axis" || battle_enemy_name == "axis genocide")
381
        {
382
            battle_menu_option_x = obj_dialogue_box_battle.x + argument0
383
            battle_menu_option_y = obj_dialogue_box_battle.y + argument1
384
            battle_menu_option_string = "* Axis"
385
            script_execute(gml_Script_scr_draw_text_effect_twitchy_textbox_battle_menu_options)
386
            global.battle_enemy_name_string_width = string_width(string_hash_to_newline(battle_menu_option_string))
387
        }
388
        else if (battle_enemy_name == "macro froggit")
389
        {
390
            battle_menu_option_x = obj_dialogue_box_battle.x + argument0
391
            battle_menu_option_y = obj_dialogue_box_battle.y + argument1
392
            if (global.turns_passed == 0)
393
                battle_menu_option_string = "* Micro Froggit"
394
            else
395
                battle_menu_option_string = "* MACRO FROGGIT"
396
            script_execute(gml_Script_scr_draw_text_effect_twitchy_textbox_battle_menu_options)
397
            global.battle_enemy_name_string_width = string_width(string_hash_to_newline(battle_menu_option_string))
398
        }
399
        else if (battle_enemy_name == "guardener")
400
        {
401
            battle_menu_option_x = obj_dialogue_box_battle.x + argument0
402
            battle_menu_option_y = obj_dialogue_box_battle.y + argument1
403
            battle_menu_option_string = "* Guardener"
404
            script_execute(gml_Script_scr_draw_text_effect_twitchy_textbox_battle_menu_options)
405
            global.battle_enemy_name_string_width = string_width(string_hash_to_newline(battle_menu_option_string))
406
        }
407
        else if (battle_enemy_name == "flowey")
408
        {
409
            battle_menu_option_x = obj_dialogue_box_battle.x + argument0
410
            battle_menu_option_y = obj_dialogue_box_battle.y + argument1
411
            battle_menu_option_string = "* Flowey"
412
            script_execute(gml_Script_scr_draw_text_effect_twitchy_textbox_battle_menu_options)
413
            global.battle_enemy_name_string_width = string_width(string_hash_to_newline(battle_menu_option_string))
414
        }
415
        else if (battle_enemy_name == "ceroba")
416
        {
417
            battle_menu_option_x = obj_dialogue_box_battle.x + argument0
418
            battle_menu_option_y = obj_dialogue_box_battle.y + argument1
419
            battle_menu_option_string = "* Ceroba"
420
            script_execute(gml_Script_scr_draw_text_effect_twitchy_textbox_battle_menu_options)
421
            global.battle_enemy_name_string_width = string_width(string_hash_to_newline(battle_menu_option_string))
422
        }
423
        else if (battle_enemy_name == "martlet genocide final")
424
        {
425
            battle_menu_option_x = obj_dialogue_box_battle.x + argument0
426
            battle_menu_option_y = obj_dialogue_box_battle.y + argument1
427
            battle_menu_option_string = "* Martlet"
428
            if instance_exists(obj_battle_fmartlet_flowey)
429
                battle_menu_option_string = "* Flowey"
430
            script_execute(gml_Script_scr_draw_text_effect_twitchy_textbox_battle_menu_options)
431
            global.battle_enemy_name_string_width = string_width(string_hash_to_newline(battle_menu_option_string))
432
        }
433
    }
434
}