Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_quote_battle_know_cone_a_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 == "know cone insomnitot duo")
4
{
5
    var heart_position = script_execute(gml_Script_scr_return_heart_battle_menu_position)
6
    if (global.enemy_dead_2 == true && global.fight_number == 2 && global.battle_menu_number == 1)
7
    {
8
        message[0] = "WHERE TOT GO!?#THEY FUN!!"
9
        message_end = 0
10
    }
11
    else if (global.last_action_selected_2 == "Action 1 Message 1" && heart_position == "2222")
12
    {
13
        message[0] = "TOT SLEEP. KNOW CONE WISHES GOOD DREAM."
14
        message_end = 0
15
    }
16
    else
17
        execute_normal = true
18
}
19
else
20
    execute_normal = true
21
if (execute_normal == true)
22
{
23
    if (global.last_action_selected == "Action 1 Low HP")
24
    {
25
        message[0] = "YOU WANT FLAME FOR#SELF! KNOW CONE SEES#THROUGH!"
26
        message_end = 0
27
    }
28
    else if (global.last_action_selected == "Action 1 Message 0")
29
    {
30
        message[0] = "KNOW CONE WANT SEE#FIRE! KNOW CONE#PURSUE FIRE DREAM?"
31
        message_end = 0
32
    }
33
    else if (global.last_action_selected == "Action 2 Low HP")
34
    {
35
        message[0] = "FIRE NICE!#STRANGER MEAN!"
36
        message_end = 0
37
    }
38
    else if (global.last_action_selected == "Action 2 Message 1")
39
    {
40
        message[0] = "FIRE BAD? YOU TRIED#TO HELP KNOW CONE?#KNOW CONE APPRECIATES#THOUGHT!"
41
        message_end = 0
42
    }
43
    else if (global.last_action_selected == "Action 2 Message 0")
44
    {
45
        message[0] = "FIRE HOT MELT KNOW#CONE? KNOW CONE NOT#KNOW THIS! YOU GOOD#FRIEND TO KNOW CONE!"
46
        message_end = 0
47
    }
48
    else if (global.last_action_selected == "Action 3 Low HP")
49
    {
50
        message[0] = "KNOW CONE SORRY!#PLEASE LEAVE KNOW#CONE ALONE!"
51
        message_end = 0
52
    }
53
    else if (global.last_action_selected == "Action 3 Message 1")
54
    {
55
        message[0] = "BUT YOU TEACHER? MY#IGNORANCE YOUR FAULT#NOW! JOKE ON YOU!"
56
        message_end = 0
57
    }
58
    else if (global.last_action_selected == "Action 3 Message 0")
59
    {
60
        random_number = irandom_range(0, 2)
61
        if (random_number == 0)
62
        {
63
            message[0] = "WHAT KNOW CONE NOT#KNOW IS NOT KNOW CONE#FAULT! THAT VERY RUDE!"
64
            message_end = 0
65
        }
66
        else if (random_number == 1)
67
        {
68
            message[0] = "YOU NOT SYMPATHETIC#TO KNOW CONE! THAT#MAKE KNOW CONE ANGRY!"
69
            message_end = 0
70
        }
71
        else if (random_number == 2)
72
        {
73
            message[0] = "THIS BULLYING!#BULLYING VERY MEAN!#KNOW CONE IS BEING#BULLIED!"
74
            message_end = 0
75
        }
76
    }
77
    else if (global.enemy_low_hp == true)
78
    {
79
        random_number = irandom_range(0, 1)
80
        if (random_number == 0)
81
        {
82
            message[0] = "KNOW CONE HURT!#OW OW OW!#PAIN BAD!"
83
            message_end = 0
84
        }
85
        else if (random_number == 1)
86
        {
87
            message[0] = "KNOW CONE NO LIKE#SMALL STRANGER!"
88
            message_end = 0
89
        }
90
    }
91
    else
92
    {
93
        if (global.battle_enemy_name == "know cone insomnitot duo")
94
        {
95
            if ((global.enemy_dead_2 + global.enemy_spared_2) < 1)
96
            {
97
                random_number = irandom_range(0, 2)
98
                if (random_number == 0)
99
                {
100
                    message[0] = "KNOW CONE SING HIS#FAMOUS LULLABY!"
101
                    message_end = 0
102
                }
103
                else if (random_number == 1)
104
                {
105
                    message[0] = "KNOW CONE WILL LET#TOT SLEEP AT ALL COSTS!"
106
                    message_end = 0
107
                }
108
                else if (random_number == 2)
109
                {
110
                    message[0] = "KNOW CONE SHOW TOT#FLAME! TOT WILL LIKE!"
111
                    message_end = 0
112
                }
113
            }
114
            else
115
                execute_random = true
116
        }
117
        else
118
            execute_random = true
119
        if (execute_random == true)
120
        {
121
            random_number = irandom_range(0, 4)
122
            if (random_number == 0)
123
            {
124
                message[0] = "YOU STRANGER BRING#KNOW CONE FIRE?#KNOW CONE VERY MUCH#WANT FIRE!"
125
                message_end = 0
126
            }
127
            else if (random_number == 1)
128
            {
129
                message[0] = "KNOW CONE HEAR FIRE#BRIGHT PRETTY!#KNOW CONE LIKE#BRIGHT PRETTY!"
130
                message_end = 0
131
            }
132
            else if (random_number == 2)
133
            {
134
                message[0] = "KNOW CONE DREW ON WALL#ONCE! KNOW CONE MOTHER#GOT MAD!"
135
                message_end = 0
136
            }
137
            else if (random_number == 3)
138
            {
139
                message[0] = "KNOW CONE HIT THING#WITH CLUB! GOLF FUN#FOR KNOW CONE!"
140
                message_end = 0
141
            }
142
            else if (random_number == 4)
143
            {
144
                message[0] = "SNOWDIN TOO COLD!#KNOW CONE WANT#HOTLAND!"
145
                message_end = 0
146
            }
147
        }
148
    }
149
}
150
message_current = 0
151
message_draw = ""
152
increase = global.text_speed
153
characters = 0
154
hold = 0
155
message_length = string_length(message[message_current])
156
script_execute(gml_Script_scr_generate_text_counters)