Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_quote_battle_jandroid_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
var random_message = 0;
7
if (global.battle_enemy_name == "jandroid goosic duo")
8
{
9
    if (global.enemy_dead_2 == true && global.fight_number == 2 && global.battle_menu_number == 1)
10
    {
11
        message[0] = "wow#SerIOUSLY!?!?!?.";
12
        message_end = 0;
13
    }
14
    else
15
    {
16
        execute_normal = true;
17
    }
18
}
19
else if (global.battle_enemy_name == "jandroid duo")
20
{
21
    if (global.enemy_dead_2 == true && global.fight_number == 2 && global.battle_menu_number == 1)
22
    {
23
        random_message = irandom_range(1, 2);
24
        switch (random_message)
25
        {
26
            case 1:
27
                message[0] = "WHOA#therE!!";
28
                break;
29
            case 2:
30
                message[0] = "HahA!!#Cool Trick!!";
31
                break;
32
        }
33
        message_end = 0;
34
    }
35
    else
36
    {
37
        execute_normal = true;
38
    }
39
}
40
else
41
{
42
    execute_normal = true;
43
}
44
if (execute_normal == true)
45
{
46
    if (global.enemy_low_hp == true)
47
    {
48
        if (global.last_action_selected == "Action 1 Message 0")
49
        {
50
            message[0] = "W//what#was_That? /(";
51
        }
52
        else if (global.last_action_selected == "Action 2 Message 0")
53
        {
54
            message[0] = "St_amwrrks#Need_/ scruBbed#0";
55
        }
56
        else if (global.last_action_selected == "Action 3 Message 0")
57
        {
58
            message[0] = "AaAAaoo/aa/.#Bzzt.’\"<<<";
59
        }
60
        else
61
        {
62
            random_message = irandom_range(0, 1);
63
            switch (random_message)
64
            {
65
                case 0:
66
                    message[0] = "//Cleaaaaan - _";
67
                    break;
68
                case 1:
69
                    message[0] = "LLLet's#;-:_#Wassh up";
70
                    break;
71
            }
72
        }
73
        message_end = 0;
74
    }
75
    else if (global.last_action_selected == "Action 1 Message 0")
76
    {
77
        random_message = irandom_range(0, 1);
78
        switch (random_message)
79
        {
80
            case 0:
81
                message[0] = "To rid the#Underground of#SOAP!!!";
82
                break;
83
            case 1:
84
                message[0] = "To cle//a--I#mean help all#Germs conquer#the land!!";
85
                break;
86
        }
87
        message_end = 0;
88
    }
89
    else if (global.last_action_selected == "Action 2 Message 0")
90
    {
91
        random_message = irandom_range(0, 1);
92
        switch (random_message)
93
        {
94
            case 0:
95
                message[0] = "NO YOU!!";
96
                break;
97
            case 1:
98
                message[0] = "You are RUDE!#Take THIS!!";
99
                break;
100
        }
101
        message_end = 0;
102
    }
103
    else if (global.last_action_selected == "Action 3 Message 0")
104
    {
105
        random_message = irandom_range(0, 1);
106
        switch (random_message)
107
        {
108
            case 0:
109
                message[0] = "I can't beLIEVE#you Would propose#such a Thing!";
110
                break;
111
            case 1:
112
                message[0] = "Don't comE#ANY cLosER!!";
113
                break;
114
        }
115
        message_end = 0;
116
    }
117
    else
118
    {
119
        execute_random = true;
120
    }
121
    if (execute_random == true)
122
    {
123
        if (global.battle_enemy_name == "jandroid goosic duo" && (global.enemy_dead + global.enemy_spared + global.enemy_sparing) < 1)
124
        {
125
            random_number = irandom_range(0, 1);
126
            if (random_number == 0)
127
            {
128
                message[0] = "YEAH yeAH!!#puMP IT UP!!!!";
129
                message_end = 0;
130
            }
131
            else if (random_number == 1)
132
            {
133
                message[0] = "goNNA woRK so#MucH HARDER!!!";
134
                message_end = 0;
135
            }
136
        }
137
        if (global.battle_enemy_name == "jandroid duo" && (global.enemy_dead + global.enemy_spared + global.enemy_sparing) < 1)
138
        {
139
            random_number = irandom_range(0, 3);
140
            if (random_number == 0)
141
            {
142
                message[0] = "*Hum-DEE-DUM#dE-DUMM!!";
143
                message_end = 0;
144
            }
145
            else if (random_number == 1)
146
            {
147
                message[0] = "*ToGther we#are Strong!!!";
148
                message_end = 0;
149
            }
150
            else if (random_number == 2)
151
            {
152
                message[0] = "HA Heh!!#Bet I am DIRTIER#than YOU!!";
153
                message_end = 0;
154
            }
155
            else if (random_number == 3)
156
            {
157
                message[0] = "It iS time#to Meet Our#Mops!!";
158
                message_end = 0;
159
            }
160
        }
161
        else
162
        {
163
            random_number = irandom_range(0, 4);
164
            if (random_number == 0)
165
            {
166
                message[0] = "Gee, you're too#Clean! Let's#staIN thaT VEsT!!";
167
                message_end = 0;
168
            }
169
            else if (random_number == 1)
170
            {
171
                message[0] = "Nothin' like the#smell of RuSted#meTal in the#Morning!!";
172
                message_end = 0;
173
            }
174
            else if (random_number == 2)
175
            {
176
                message[0] = "I will NeVER take#out the TrASH!#YOU CAN'T MAKE#ME!!!";
177
                message_end = 0;
178
            }
179
            else if (random_number == 3)
180
            {
181
                message[0] = "Scrub-a-dub-dub!#Sewage in the#tub!!!";
182
                message_end = 0;
183
            }
184
            else if (random_number == 4)
185
            {
186
                message[0] = "Want a sip of#my Mop Water?#It's FReshly MaDe!! ";
187
                message_end = 0;
188
            }
189
        }
190
    }
191
}
192
message_current = 0;
193
message_draw = "";
194
increase = global.text_speed;
195
characters = 0;
196
hold = 0;
197
message_length = string_length(message[message_current]);
198
script_execute(scr_generate_text_counters);
199
circle_text_angle = global.circle_text_angle_default;
200
circle_text_angle_direction = 1;