Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_quote_battle_goosic_a_Create_0

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