Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_quote_battle_ta_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 == "trihecta separated")
7
{
8
    if (((global.enemy_dead == true && global.fight_number == 1) || (global.enemy_dead_2 == true && global.fight_number == 2)) && global.battle_menu_number == 1)
9
    {
10
        random_number = irandom_range(0, 2)
11
        if (random_number == 0)
12
        {
13
            message[0] = "NO!!"
14
            message_end = 0
15
        }
16
        else if (random_number == 1)
17
        {
18
            message[0] = "Please, no!"
19
            message_end = 0
20
        }
21
        else if (random_number == 2)
22
        {
23
            message[0] = "That was my#sibling!"
24
            message_end = 0
25
        }
26
    }
27
    else
28
        execute_normal = true
29
}
30
else
31
    execute_normal = true
32
if (execute_normal == true)
33
{
34
    if (global.last_action_selected_3 == "Action 1 Message 0")
35
    {
36
        text_effect = "circle"
37
        message[0] = "*Giggles back*"
38
        message_end = 0
39
    }
40
    else if (global.last_action_selected_3 == "Action 3 Message 0")
41
    {
42
        message[0] = "I love you guys#sooo much!"
43
        message_end = 0
44
    }
45
    else if (global.enemy_low_hp_3 == true)
46
    {
47
        random_number = irandom_range(0, 4)
48
        if (random_number == 0)
49
        {
50
            message[0] = "I need to run#away."
51
            message_end = 0
52
        }
53
        else if (random_number == 1)
54
        {
55
            message[0] = "Why..."
56
            message_end = 0
57
        }
58
        else if (random_number == 2)
59
        {
60
            message[0] = "This wasn't#supposed to#happen..."
61
            message_end = 0
62
        }
63
        else if (random_number == 3)
64
        {
65
            message[0] = "Now I know why#we shouldn't#separate..."
66
            message_end = 0
67
        }
68
        else if (random_number == 4)
69
        {
70
            message[0] = "Oww..."
71
            message_end = 0
72
        }
73
    }
74
    else
75
    {
76
        execute_random = true
77
        if (execute_random == true)
78
        {
79
            random_number = irandom_range(0, 2)
80
            if (random_number == 0)
81
            {
82
                message[0] = "This is even#BETTER!"
83
                message_end = 0
84
            }
85
            else if (random_number == 1)
86
            {
87
                message[0] = "There's so much#to explore!"
88
                message_end = 0
89
            }
90
            else if (random_number == 2)
91
            {
92
                message[0] = "I can run for#MILES!"
93
                message_end = 0
94
            }
95
        }
96
    }
97
}
98
message_current = 0
99
message_draw = ""
100
increase = global.text_speed
101
characters = 0
102
hold = 0
103
message_length = string_length(message[message_current])
104
script_execute(gml_Script_scr_generate_text_counters)
105
circle_text_angle = global.circle_text_angle_default
106
circle_text_angle_direction = 1