Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_quote_battle_goosic_b_Create_0

(view raw script w/o annotations or w/e)
1
execute_normal = false
2
execute_random = false
3
text_effect = "twitchy"
4
text_effect_2 = "twitchy"
5
color_count = 0
6
spawner = -4
7
if (global.enemy_dead == true && global.fight_number == 1 && global.battle_menu_number == 1)
8
{
9
    message[0] = "TA-TA-TAKE#A CHILL PILL#BUDDY !"
10
    message_end = 0
11
}
12
else
13
    execute_normal = true
14
if (execute_normal == true)
15
{
16
    if (global.enemy_low_hp == true)
17
    {
18
        random_message = irandom_range(0, 1)
19
        switch random_message
20
        {
21
            case 0:
22
                message[0] = "D-DOn'T HATE#ON MY m/MusIC#TASTES_"
23
                break
24
            case 1:
25
                message[0] = "BiT OF A#H-H-HARSH nOISE#COMPLAINT/ /"
26
                break
27
        }
28
29
        message_end = 0
30
    }
31
    else if (global.last_action_selected == "Action 1 Message 0")
32
    {
33
        random_message = irandom_range(0, 1)
34
        if (global.action_3_selected_count <= 1)
35
        {
36
            switch random_message
37
            {
38
                case 0:
39
                    message[0] = "KEEP UP !#KEEP UP !"
40
                    break
41
                case 1:
42
                    message[0] = "IF YOU CAN'T#V-VIBE TO IT,#GIVE IT U-U-UP !"
43
                    break
44
            }
45
46
        }
47
        else
48
        {
49
            switch random_message
50
            {
51
                case 0:
52
                    message[0] = "Okay, yeah !#I see you !"
53
                    break
54
                case 1:
55
                    message[0] = "Oh, now THIS#is groovy !"
56
                    break
57
            }
58
59
        }
60
        message_end = 0
61
    }
62
    else if (global.last_action_selected_2 == "Action 2 Message 0")
63
    {
64
        random_message = irandom_range(0, 1)
65
        if (global.action_3_selected_count <= 1)
66
        {
67
            switch random_message
68
            {
69
                case 0:
70
                    message[0] = "WHAT'S THAT ?#MORE VOLUME ?"
71
                    break
72
                case 1:
73
                    message[0] = "D-D-DISRESPECTFUL !"
74
                    break
75
            }
76
77
        }
78
        else
79
        {
80
            switch random_message
81
            {
82
                case 0:
83
                    message[0] = "Come o-on,#relax a#l-l-little ."
84
                    break
85
                case 1:
86
                    message[0] = "N-No need to#be bashful,#buddy ."
87
                    break
88
            }
89
90
        }
91
        message_end = 0
92
    }
93
    else if (global.last_action_selected_3 == "Action 3 Message 0")
94
    {
95
        random_message = irandom_range(0, 1)
96
        if (global.action_3_selected_count <= 1)
97
        {
98
            switch random_message
99
            {
100
                case 0:
101
                    message[0] = "HEY W-W-what#is... this ?"
102
                    break
103
                case 1:
104
                    message[0] = "WAIT !#I... Oh ?"
105
                    break
106
            }
107
108
        }
109
        else
110
        {
111
            random_message = irandom_range(0, 1)
112
            switch random_message
113
            {
114
                case 0:
115
                    message[0] = "Don't k-kill#the mood :)"
116
                    break
117
                case 1:
118
                    message[0] = "I like#th-this one :)"
119
                    break
120
            }
121
122
        }
123
        message_end = 0
124
    }
125
    else
126
    {
127
        if (global.battle_enemy_name == "jandroid goosic duo")
128
        {
129
            if ((global.enemy_dead + global.enemy_spared + global.enemy_sparing) < 1)
130
            {
131
                if (global.action_3_selected_count_2 >= 1)
132
                {
133
                    random_message = irandom_range(0, 1)
134
                    switch random_message
135
                    {
136
                        case 0:
137
                            message[0] = "This is#n-nice :)"
138
                            message_end = 0
139
                            break
140
                        case 1:
141
                            message[0] = "Mhm,#yeah :)"
142
                            message_end = 0
143
                            break
144
                    }
145
146
                }
147
                else
148
                {
149
                    random_message = irandom_range(0, 1)
150
                    if (random_message == 0)
151
                    {
152
                        message[0] = "THREE'S A CROWD !#IT'S CONCERT#TIME !"
153
                        message_end = 0
154
                    }
155
                    else if (random_message == 1)
156
                    {
157
                        message[0] = "I SEE YOUR MOVES !#GET IT GET IT !"
158
                        message_end = 0
159
                    }
160
                }
161
            }
162
            else
163
                execute_random = true
164
        }
165
        else
166
            execute_random = true
167
        if (execute_random == true)
168
        {
169
            if (global.action_3_selected_count_2 >= 1)
170
            {
171
                random_message = irandom_range(0, 1)
172
                switch random_message
173
                {
174
                    case 0:
175
                        message[0] = "This is#n-nice :)"
176
                        message_end = 0
177
                        break
178
                    case 1:
179
                        message[0] = "Mhm,#yeah :)"
180
                        message_end = 0
181
                        break
182
                }
183
184
            }
185
            else
186
            {
187
                random_message = irandom_range(0, 4)
188
                if (random_message == 0)
189
                {
190
                    message[0] = "bzt- YOU'RE#LISTENING TO#D-E-A-T-H#RADIO-O-o !"
191
                    message_end = 0
192
                }
193
                else if (random_message == 1)
194
                {
195
                    message[0] = "TH-TH-THIS ONE#GOES OUT TO ALL#THE HUMANS#OUT THERE !"
196
                    message_end = 0
197
                }
198
                else if (random_message == 2)
199
                {
200
                    message[0] = "LOUDER !#LOUDER !#LOUDER !"
201
                    message_end = 0
202
                }
203
                else if (random_message == 3)
204
                {
205
                    message[0] = "I'M G-GIVING AWAY#ONE FREE TICKET#TO THE A-A-AFTERLIFE !"
206
                    message_end = 0
207
                }
208
                else if (random_message == 4)
209
                {
210
                    message[0] = "bzt- AND NOW A WORD#FROM OUR SPONSOR:#BULLET-PATTERNS ! "
211
                    message_end = 0
212
                }
213
            }
214
        }
215
    }
216
}
217
message_current = 0
218
message_draw = ""
219
increase = global.text_speed
220
characters = 0
221
hold = 0
222
message_length = string_length(message[message_current])
223
script_execute(gml_Script_scr_generate_text_counters)
224
circle_text_angle = global.circle_text_angle_default
225
circle_text_angle_direction = 1