Undertale Yellow script viewer

← back to main script listing

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