Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_quote_battle_penilla_b_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 == "flier penilla duo")
4
{
5
    if (global.enemy_dead == true && global.fight_number == 1 && global.battle_menu_number == 1)
6
    {
7
        message[0] = "I wanted him#gone but not#that way!"
8
        message_end = 0
9
    }
10
    else
11
        execute_normal = true
12
}
13
else if (global.battle_enemy_name == "sweet corn penilla duo")
14
{
15
    if (global.enemy_dead == true && global.fight_number == 1 && global.battle_menu_number == 1)
16
    {
17
        message[0] = "But she was so#sweet!"
18
        message_end = 0
19
    }
20
    else
21
        execute_normal = true
22
}
23
else if (global.battle_enemy_name == "crispy scroll penilla duo")
24
{
25
    if (global.enemy_dead == true && global.fight_number == 1 && global.battle_menu_number == 1)
26
    {
27
        message[0] = "He didn't#deserve to die!"
28
        message_end = 0
29
    }
30
    else
31
        execute_normal = true
32
}
33
else
34
    execute_normal = true
35
if (execute_normal == true)
36
{
37
    if (global.last_action_selected_2 == "Action 1 Low HP")
38
    {
39
        message[0] = "You got some#nerve."
40
        message_end = 0
41
    }
42
    else if (global.last_action_selected_2 == "Action 1 Message 0")
43
    {
44
        random_number = irandom_range(0, 1)
45
        if (random_number == 0)
46
        {
47
            message[0] = "You're just#saying that#because you feel#obligated."
48
            message_end = 0
49
        }
50
        else if (random_number == 1)
51
        {
52
            message[0] = "I don't really#think it's ready#for people yet."
53
            message_end = 0
54
        }
55
    }
56
    else if (global.last_action_selected_2 == "Action 2 Low HP")
57
    {
58
        message[0] = "Maybe art isn't#the right path#for me."
59
        message_end = 0
60
    }
61
    else if (global.last_action_selected_2 == "Action 2 Message 0")
62
    {
63
        random_number = irandom_range(0, 1)
64
        if (random_number == 0)
65
        {
66
            message[0] = "I suppose I#could use a#break."
67
            message_end = 0
68
        }
69
        else if (random_number == 1)
70
        {
71
            message[0] = "I have been at#this for a#while..."
72
            message_end = 0
73
        }
74
    }
75
    else if (global.enemy_low_hp_2 == true)
76
    {
77
        random_number = irandom_range(0, 1)
78
        if (random_number == 0)
79
        {
80
            message[0] = "I'll just...#tape it back#together."
81
            message_end = 0
82
        }
83
        else if (random_number == 1)
84
        {
85
            message[0] = "A sharpener#would come in#handy right#about now..."
86
            message_end = 0
87
        }
88
    }
89
    else
90
    {
91
        if (global.battle_enemy_name == "flier penilla duo")
92
        {
93
            if ((global.enemy_dead + global.enemy_spared) < 1)
94
            {
95
                message[0] = "My motivation is#really dying#here."
96
                message_end = 0
97
            }
98
            else
99
                execute_random = true
100
        }
101
        else if (global.battle_enemy_name == "sweet corn penilla duo")
102
        {
103
            if ((global.enemy_dead + global.enemy_spared) < 1)
104
            {
105
                random_number = irandom_range(0, 1)
106
                if (random_number == 0)
107
                {
108
                    message[0] = "Aww! How#adorable!"
109
                    message_end = 0
110
                }
111
                else if (random_number == 1)
112
                {
113
                    message[0] = "Finally, someone#to get along with!"
114
                    message_end = 0
115
                }
116
            }
117
            else
118
                execute_random = true
119
        }
120
        else if (global.battle_enemy_name == "crispy scroll penilla duo")
121
        {
122
            if ((global.enemy_dead + global.enemy_spared) < 1)
123
            {
124
                random_number = irandom_range(0, 1)
125
                if (random_number == 0)
126
                {
127
                    message[0] = "Sorry, I don't#draw requests."
128
                    message_end = 0
129
                }
130
                else if (random_number == 1)
131
                {
132
                    message[0] = "Can we talk#about something#else?"
133
                    message_end = 0
134
                }
135
            }
136
            else
137
                execute_random = true
138
        }
139
        else
140
            execute_random = true
141
        if (execute_random == true)
142
        {
143
            random_number = irandom_range(0, 3)
144
            if (random_number == 0)
145
            {
146
                message[0] = "Gotta keep my#skills sharp!"
147
                message_end = 0
148
            }
149
            else if (random_number == 1)
150
            {
151
                message[0] = "The artist's#life is one of#solitude."
152
                message_end = 0
153
            }
154
            else if (random_number == 2)
155
            {
156
                message[0] = "So all my hand#work leads to#this?"
157
                message_end = 0
158
            }
159
            else if (random_number == 3)
160
            {
161
                message[0] = "2B or not 2B?"
162
                message_end = 0
163
            }
164
        }
165
    }
166
}
167
message_current = 0
168
message_draw = ""
169
increase = global.text_speed
170
characters = 0
171
hold = 0
172
message_length = string_length(message[message_current])
173
script_execute(gml_Script_scr_generate_text_counters)