Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_quote_battle_know_cone_b_Create_0

(view raw script w/o annotations or w/e)
1
execute_normal = false
2
execute_random = false
3
if (global.battle_enemy_name == "frostermit know cone duo")
4
{
5
    if (global.enemy_dead == true && global.fight_number == 1 && global.battle_menu_number == 1)
6
    {
7
        var enemy_mode = global.enemy_mode
8
        switch enemy_mode
9
        {
10
            case 0:
11
                message[0] = "OH WELL..."
12
                message_end = 0
13
                break
14
            case 1:
15
                message[0] = "WHY EVERYONE ALWAYS#RUN FROM KNOW CONE?"
16
                message_end = 0
17
                break
18
        }
19
20
    }
21
    else
22
        execute_normal = true
23
}
24
else
25
    execute_normal = true
26
if (execute_normal == true)
27
{
28
    if (global.last_action_selected == "Action 2 Out" && global.enemy_low_hp_2 == false)
29
    {
30
        message[0] = "KNOW CONE KNEW#SOMEONE WAS THERE!!"
31
        message_end = 0
32
    }
33
    else if (global.last_action_selected_2 == "Action 1 Low HP")
34
    {
35
        message[0] = "YOU WANT FLAME FOR#SELF! KNOW CONE SEES#THROUGH!"
36
        message_end = 0
37
    }
38
    else if (global.last_action_selected_2 == "Action 1 Message 0")
39
    {
40
        message[0] = "KNOW CONE WANT SEE#FIRE! KNOW CONE#PURSUE FIRE DREAM?"
41
        message_end = 0
42
    }
43
    else if (global.last_action_selected_2 == "Action 2 Low HP")
44
    {
45
        message[0] = "FIRE NICE!#STRANGER MEAN!"
46
        message_end = 0
47
    }
48
    else if (global.last_action_selected_2 == "Action 2 Message 1")
49
    {
50
        message[0] = "FIRE BAD? YOU TRIED#TO HELP KNOW CONE?#KNOW CONE APPRECIATES#THOUGHT!"
51
        message_end = 0
52
    }
53
    else if (global.last_action_selected_2 == "Action 2 Message 0")
54
    {
55
        message[0] = "FIRE HOT MELT KNOW#CONE? KNOW CONE NOT#KNOW THIS! YOU GOOD#FRIEND TO KNOW CONE!"
56
        message_end = 0
57
    }
58
    else if (global.last_action_selected_2 == "Action 3 Low HP")
59
    {
60
        message[0] = "KNOW CONE SORRY!#PLEASE LEAVE KNOW#CONE ALONE!"
61
        message_end = 0
62
    }
63
    else if (global.last_action_selected_2 == "Action 3 Message 1")
64
    {
65
        message[0] = "BUT YOU TEACHER? MY#IGNORANCE YOUR FAULT#NOW! JOKE ON YOU!"
66
        message_end = 0
67
    }
68
    else if (global.last_action_selected_2 == "Action 3 Message 0")
69
    {
70
        random_number = irandom_range(0, 2)
71
        if (random_number == 0)
72
        {
73
            message[0] = "WHAT KNOW CONE NOT#KNOW IS NOT KNOW CONE#FAULT! THAT VERY RUDE!"
74
            message_end = 0
75
        }
76
        else if (random_number == 1)
77
        {
78
            message[0] = "YOU NOT SYMPATHETIC#TO KNOW CONE! THAT#MAKE KNOW CONE ANGRY!"
79
            message_end = 0
80
        }
81
        else if (random_number == 2)
82
        {
83
            message[0] = "THIS BULLYING!#BULLYING VERY MEAN!#KNOW CONE IS BEING#BULLIED!"
84
            message_end = 0
85
        }
86
    }
87
    else if (global.enemy_low_hp_2 == true)
88
    {
89
        random_number = irandom_range(0, 1)
90
        if (random_number == 0)
91
        {
92
            message[0] = "KNOW CONE HURT!#OW OW OW!#PAIN BAD!"
93
            message_end = 0
94
        }
95
        else if (random_number == 1)
96
        {
97
            message[0] = "KNOW CONE NO LIKE#SMALL STRANGER!"
98
            message_end = 0
99
        }
100
    }
101
    else
102
    {
103
        if (global.battle_enemy_name == "frostermit know cone duo")
104
        {
105
            if ((global.enemy_dead + global.enemy_spared) < 1)
106
            {
107
                enemy_mode = global.enemy_mode
108
                switch enemy_mode
109
                {
110
                    case 0:
111
                        random_number = irandom_range(0, 2)
112
                        if (random_number == 0)
113
                        {
114
                            message[0] = "HELLO?? SOMEONE#THERE??"
115
                            message_end = 0
116
                        }
117
                        else if (random_number == 1)
118
                        {
119
                            message[0] = "KNOW CONE CONFUSED!"
120
                            message_end = 0
121
                        }
122
                        else if (random_number == 2)
123
                        {
124
                            message[0] = "I BRING FIRE HERE!#FRIEND WILL SHOW!"
125
                            message_end = 0
126
                        }
127
                        break
128
                    case 1:
129
                        random_number = irandom_range(0, 2)
130
                        if (random_number == 0)
131
                        {
132
                            message[0] = "KNOW CONE KNOW#LOTS OF GAMES!!"
133
                            message_end = 0
134
                        }
135
                        else if (random_number == 1)
136
                        {
137
                            message[0] = "WANNA BE KNOW#CONE FRIEND??"
138
                            message_end = 0
139
                        }
140
                        else if (random_number == 2)
141
                        {
142
                            message[0] = "FLAME IS WHAT#FROSTERMIT NEED#RIGHT NOW!!"
143
                            message_end = 0
144
                        }
145
                        break
146
                }
147
148
            }
149
            else
150
                execute_random = true
151
        }
152
        else
153
            execute_random = true
154
        if (execute_random == true)
155
        {
156
            random_number = irandom_range(0, 4)
157
            if (random_number == 0)
158
            {
159
                message[0] = "YOU STRANGER BRING#KNOW CONE FIRE?#KNOW CONE VERY MUCH#WANT FIRE!"
160
                message_end = 0
161
            }
162
            else if (random_number == 1)
163
            {
164
                message[0] = "KNOW CONE HEAR FIRE#BRIGHT PRETTY!#KNOW CONE LIKE#BRIGHT PRETTY!"
165
                message_end = 0
166
            }
167
            else if (random_number == 2)
168
            {
169
                message[0] = "KNOW CONE DREW ON WALL#ONCE! KNOW CONE MOTHER#GOT MAD!"
170
                message_end = 0
171
            }
172
            else if (random_number == 3)
173
            {
174
                message[0] = "KNOW CONE HIT THING#WITH CLUB! GOLF FUN#FOR KNOW CONE!"
175
                message_end = 0
176
            }
177
            else if (random_number == 4)
178
            {
179
                message[0] = "SNOWDIN TOO COLD!#KNOW CONE WANT#HOTLAND!"
180
                message_end = 0
181
            }
182
        }
183
    }
184
}
185
message_current = 0
186
message_draw = ""
187
increase = global.text_speed
188
characters = 0
189
hold = 0
190
message_length = string_length(message[message_current])
191
script_execute(gml_Script_scr_generate_text_counters)