Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_quote_battle_sousborg_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../inner _:wiLl#be #Soon."
16
                break
17
            case 1:
18
                message[0] = "Sw/>.eet _or#SAVory?	"
19
                break
20
        }
21
22
        message_end = 0
23
    }
24
    else if (global.last_action_selected == "Action 1 Message 0")
25
    {
26
        message[0] = "Ah yes! Just a#light tap on ze#edge!"
27
        message_end = 0
28
    }
29
    else if (global.last_action_selected_2 == "Action 2 Message 0")
30
    {
31
        random_message = irandom_range(0, 1)
32
        switch random_message
33
        {
34
            case 0:
35
                message[0] = "Underground?#Undercooked!#What ez ze issue?"
36
                message_end = 0
37
                break
38
            case 1:
39
                message[0] = "Quelle#impolitesse!"
40
                message_end = 0
41
                break
42
        }
43
44
    }
45
    else if (global.last_action_selected == "Action 1 Message 1")
46
    {
47
        random_message = irandom_range(0, 1)
48
        switch random_message
49
        {
50
            case 0:
51
                message[0] = "Water? Pah!#I cannot touch such#a zing!"
52
                message_end = 0
53
                break
54
            case 1:
55
                message[0] = "No! Ze egg ez#already out of#its casing!"
56
                message_end = 0
57
                break
58
        }
59
60
    }
61
    else if (global.last_action_selected_2 == "Action 2 Message 1")
62
    {
63
        message[0] = "Oui! Turn up#ze heat!"
64
        message_end = 0
65
    }
66
    else if (global.last_action_selected_3 == "Action 3 Message 0")
67
    {
68
        random_message = irandom_range(0, 1)
69
        switch random_message
70
        {
71
            case 0:
72
                message[0] = "What ez going on#inside your tiny#head? Non!"
73
                message_end = 0
74
                break
75
            case 1:
76
                message[0] = "We are not making#pie! Get it#togezer!"
77
                message_end = 0
78
                break
79
        }
80
81
    }
82
    else if (global.last_action_selected == "Action 1 Message 2")
83
    {
84
        random_message = irandom_range(0, 1)
85
        switch random_message
86
        {
87
            case 0:
88
                message[0] = "Ze meal ez not#even done and#you want#leftovers?"
89
                message_end = 0
90
                break
91
            case 1:
92
                message[0] = "Hopeless!#Unprofessional!"
93
                message_end = 0
94
                break
95
        }
96
97
    }
98
    else if (global.last_action_selected_2 == "Action 2 Message 2")
99
    {
100
        random_message = irandom_range(0, 1)
101
        switch random_message
102
        {
103
            case 0:
104
                message[0] = "It accomplished#giving me joy...#but I cannot eat#joy!"
105
                message_end = 0
106
                break
107
            case 1:
108
                message[0] = "Ze egg is not#alive! Well...#not anymore :/"
109
                message_end = 0
110
                break
111
        }
112
113
    }
114
    else if (global.last_action_selected_3 == "Action 3 Message 1")
115
    {
116
        message[0] = "Of course!#I must sow ze#seeds of flavour!"
117
        message_end = 0
118
    }
119
    else
120
        execute_random = true
121
    if (execute_random == true)
122
    {
123
        random_number = irandom_range(0, 4)
124
        if (random_number == 0)
125
        {
126
            message[0] = "If you can't#stand ze heat...#good!"
127
            message_end = 0
128
        }
129
        else if (random_number == 1)
130
        {
131
            message[0] = "Natural#ingredients!#Never#substitute!"
132
            message_end = 0
133
        }
134
        else if (random_number == 2)
135
        {
136
            message[0] = "A bit of zis...#a bit of zat..."
137
            message_end = 0
138
        }
139
        else if (random_number == 3)
140
        {
141
            message[0] = "C'est croquant,#c'est fondant..."
142
            message_end = 0
143
        }
144
        else if (random_number == 4)
145
        {
146
            message[0] = "Réjouis-toi!#I am only going#to bring you to a#light boil!"
147
            message_end = 0
148
        }
149
        else if (random_number == 5)
150
        {
151
            message[0] = "Longue vie au#roi, courte vie#à l'humain!"
152
            message_end = 0
153
        }
154
        else if (random_number == 6)
155
        {
156
            message[0] = "Your complexion...#un poulet cru.#Some food will#help!"
157
            message_end = 0
158
        }
159
    }
160
}
161
message_current = 0
162
message_draw = ""
163
increase = global.text_speed
164
characters = 0
165
hold = 0
166
message_length = string_length(message[message_current])
167
script_execute(gml_Script_scr_generate_text_counters)
168
circle_text_angle = global.circle_text_angle_default
169
circle_text_angle_direction = 1