Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_quote_battle_slither_a_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
execute_normal = true
7
if (execute_normal == true)
8
{
9
    if (global.last_action_selected == "Action 1 Low HP")
10
    {
11
        message[0] = "They were only#greetings!I#ssswear!"
12
        message_end = 0
13
    }
14
    else if (global.last_action_selected == "Action 2 Low HP")
15
    {
16
        message[0] = "It's true, I#do. Run along#now!"
17
        message_end = 0
18
    }
19
    else if (global.last_action_selected == "Action 3 Low HP")
20
    {
21
        message[0] = "Ding ding ding!#Got a genius#over here!"
22
        message_end = 0
23
    }
24
    else if (global.last_action_selected == "Action 1 Message 0")
25
    {
26
        random_number = irandom_range(0, 1)
27
        if (random_number == 0)
28
        {
29
            message[0] = "Oh, this and#that. Odds and#ends. Ya know..."
30
            message_end = 0
31
        }
32
        else if (random_number == 1)
33
        {
34
            message[0] = "I'm an#excccellent#travel companion,#I am!"
35
            message_end = 0
36
        }
37
    }
38
    else if (global.last_action_selected == "Action 2 Message 0")
39
    {
40
        random_number = irandom_range(0, 1)
41
        if (random_number == 0)
42
        {
43
            message[0] = "Yesss, we're#gonna go far,#you and me!"
44
            message_end = 0
45
        }
46
        else if (random_number == 1)
47
        {
48
            message[0] = "I knew you'd#see things my#way, human!"
49
            message_end = 0
50
        }
51
    }
52
    else if (global.last_action_selected == "Action 3 Message 0")
53
    {
54
        message[0] = "Come on mate,#don't leave me#out to dry!"
55
        message_end = 0
56
    }
57
    else if (global.last_action_selected == "Action 3 Message 1")
58
    {
59
        message[0] = "Fine! But you're#missing out#BIG!"
60
        message[1] = "Enjoy the#snake-sized#hole in your#heart!"
61
        message_end = 1
62
    }
63
    else if (global.enemy_low_hp == true)
64
    {
65
        random_number = irandom_range(0, 1)
66
        if (random_number == 0)
67
        {
68
            message[0] = "H-Help a friend#patch themselves#up, eh?"
69
            message_end = 0
70
        }
71
        else if (random_number == 1)
72
        {
73
            message[0] = "Calm down, mate.#We can work#something out..."
74
            message_end = 0
75
        }
76
    }
77
    else
78
    {
79
        if (global.battle_enemy_name == "frostermit know cone duo")
80
            execute_random = true
81
        else
82
            execute_random = true
83
        if (execute_random == true)
84
        {
85
            random_number = irandom_range(0, 4)
86
            if (random_number == 0)
87
            {
88
                message[0] = "Adventure?#That's my#maiden name!"
89
                message_end = 0
90
            }
91
            else if (random_number == 1)
92
            {
93
                message[0] = "Why are you#avoiding my#greetings? Come#on!"
94
                message_end = 0
95
            }
96
            else if (random_number == 2)
97
            {
98
                message[0] = "What's your story?#Scandals?#Sssecrets...?"
99
                message_end = 0
100
            }
101
            else if (random_number == 3)
102
            {
103
                message[0] = "I can help ya#climb out of your#rut, I can!"
104
                message_end = 0
105
            }
106
            else if (random_number == 4)
107
            {
108
                message[0] = "You can trussst#me! Swear on#me mum!"
109
                message_end = 0
110
            }
111
        }
112
    }
113
}
114
message_current = 0
115
message_draw = ""
116
increase = global.text_speed
117
characters = 0
118
hold = 0
119
message_length = string_length(message[message_current])
120
script_execute(gml_Script_scr_generate_text_counters)
121
circle_text_angle = global.circle_text_angle_default
122
circle_text_angle_direction = 1