Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_quote_battle_bowll_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
if (global.battle_enemy_name == "frostermit know cone duo")
7
    execute_normal = true
8
else
9
    execute_normal = true
10
if (execute_normal == true)
11
{
12
    if (global.last_action_selected == "Action 1 Low HP")
13
    {
14
        message[0] = "Take it easy, pal!"
15
        message_end = 0
16
    }
17
    else if (global.last_action_selected == "Action 1 Sparing")
18
    {
19
        message[0] = "I didn't know I#could reflect so#much. Thank you!"
20
        message_end = 0
21
    }
22
    else if (global.last_action_selected == "Action 1 Message 0")
23
    {
24
        random_number = irandom_range(0, 1)
25
        if (random_number == 0)
26
        {
27
            message[0] = "I'm only keeping#my distance so#I can charge at#you later!"
28
            message_end = 0
29
        }
30
        else if (random_number == 1)
31
        {
32
            message[0] = "You're not tough#enough to lay a#hand on me!"
33
            message_end = 0
34
        }
35
    }
36
    else if (global.last_action_selected == "Action 2 Low HP")
37
    {
38
        message[0] = "What's so funny,#huh?"
39
        message_end = 0
40
    }
41
    else if (global.last_action_selected == "Action 2 Message 0")
42
    {
43
        random_number = irandom_range(0, 1)
44
        if (random_number == 0)
45
        {
46
            message[0] = "N-no! I'm#practically made#of steel!"
47
            message_end = 0
48
        }
49
        else if (random_number == 1)
50
        {
51
            message[0] = "Y-you watch your#mouth!"
52
            message_end = 0
53
        }
54
    }
55
    else if (global.last_action_selected == "Action 3 Low HP")
56
    {
57
        message[0] = "You're the one#that should be#careful!"
58
        message_end = 0
59
    }
60
    else if (global.last_action_selected == "Action 3 Message 1")
61
    {
62
        message[0] = "Really? You mean#it?"
63
        message_end = 0
64
    }
65
    else if (global.last_action_selected == "Action 3 Message 0")
66
    {
67
        message[0] = "But I... I am#tough."
68
        message_end = 0
69
    }
70
    else if (global.enemy_low_hp == true)
71
    {
72
        random_number = irandom_range(0, 1)
73
        if (random_number == 0)
74
        {
75
            message[0] = "This... just#makes me#stronger!"
76
            message_end = 0
77
        }
78
        else if (random_number == 1)
79
        {
80
            message[0] = "It'll t-take#more than that#to take me#down!"
81
            message_end = 0
82
        }
83
    }
84
    else
85
    {
86
        if (global.battle_enemy_name == "frostermit know cone duo")
87
            execute_random = true
88
        else
89
            execute_random = true
90
        if (execute_random == true)
91
        {
92
            random_number = irandom_range(0, 4)
93
            if (random_number == 0)
94
            {
95
                message[0] = "You better watch#out!"
96
                message_end = 0
97
            }
98
            else if (random_number == 1)
99
            {
100
                message[0] = "You're gonna get#the horns, buddy!"
101
                message_end = 0
102
            }
103
            else if (random_number == 2)
104
            {
105
                message[0] = "These cracks are#my battle scars.#Beware!"
106
                message_end = 0
107
            }
108
            else if (random_number == 3)
109
            {
110
                message[0] = "I'm waaay#stronger than#you think!"
111
                message_end = 0
112
            }
113
            else if (random_number == 4)
114
            {
115
                message[0] = "I wouldn't mess#with me if I#  were you!"
116
                message_end = 0
117
            }
118
        }
119
    }
120
}
121
message_current = 0
122
message_draw = ""
123
increase = global.text_speed
124
characters = 0
125
hold = 0
126
message_length = string_length(message[message_current])
127
script_execute(gml_Script_scr_generate_text_counters)
128
circle_text_angle = global.circle_text_angle_default
129
circle_text_angle_direction = 1