Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_quote_battle_trihecta_Create_0

(view raw script w/o annotations or w/e)
1
execute_normal = false
2
execute_random = false
3
execute_normal = true
4
if (execute_normal == true)
5
{
6
    if (global.enemy_low_hp == true)
7
    {
8
        if (obj_quote_bubble_battle.position == 0)
9
        {
10
            random_number = irandom_range(0, 0)
11
            if (random_number == 0)
12
            {
13
                message[0] = "I won't let us#fall."
14
                message_end = 0
15
            }
16
        }
17
        else if (obj_quote_bubble_battle.position == 1)
18
        {
19
            random_number = irandom_range(0, 0)
20
            if (random_number == 0)
21
            {
22
                message[0] = "As if this day#couldn't get#worse."
23
                message_end = 0
24
            }
25
        }
26
        else if (obj_quote_bubble_battle.position == 2)
27
        {
28
            random_number = irandom_range(0, 0)
29
            if (random_number == 0)
30
            {
31
                message[0] = "P-please let me#down now."
32
                message_end = 0
33
            }
34
        }
35
    }
36
    else
37
    {
38
        execute_random = true
39
        if (execute_random == true)
40
        {
41
            if (obj_quote_bubble_battle.position == 0)
42
            {
43
                random_number = irandom_range(0, 2)
44
                if (random_number == 0)
45
                {
46
                    message[0] = "Dontfalldont-#falldontfall!"
47
                    message_end = 0
48
                }
49
                else if (random_number == 1)
50
                {
51
                    message[0] = "Be careful up#there, okay?"
52
                    message_end = 0
53
                }
54
                else if (random_number == 2)
55
                {
56
                    message[0] = "You guys are#clinging on#tight, right?"
57
                    message_end = 0
58
                }
59
            }
60
            if (obj_quote_bubble_battle.position == 1)
61
            {
62
                random_number = irandom_range(0, 2)
63
                if (random_number == 0)
64
                {
65
                    message[0] = "I'm tired of#being overlooked."
66
                    message_end = 0
67
                }
68
                else if (random_number == 1)
69
                {
70
                    message[0] = "These two clowns#get all the#attention."
71
                    message_end = 0
72
                }
73
                else if (random_number == 2)
74
                {
75
                    message[0] = "Does anyone hear#me? It's like#I'm not even#talking."
76
                    message_end = 0
77
                }
78
            }
79
            if (obj_quote_bubble_battle.position == 2)
80
            {
81
                random_number = irandom_range(0, 2)
82
                if (random_number == 0)
83
                {
84
                    message[0] = "I'm on top of#the WORLD!!!"
85
                    message_end = 0
86
                }
87
                else if (random_number == 1)
88
                {
89
                    message[0] = "Look ma! No#hands!"
90
                    message_end = 0
91
                }
92
                else if (random_number == 2)
93
                {
94
                    message[0] = "I'm the king of#the castle! WOOT!"
95
                    message_end = 0
96
                }
97
            }
98
        }
99
    }
100
}
101
message_current = 0
102
message_draw = ""
103
increase = global.text_speed
104
characters = 0
105
hold = 0
106
message_length = string_length(message[message_current])
107
script_execute(gml_Script_scr_generate_text_counters)