Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_quote_battle_jandroid_a_mid_attack_Create_0

(view raw script w/o annotations or w/e)
1
if (global.battle_enemy_name == "jandroid")
2
    instance_create_depth(402, 68, (depth + 1), obj_quote_bubble_battle_yellow_2)
3
else if (global.battle_enemy_name == "jandroid goosic duo")
4
    instance_create_depth(242, 60, (depth + 1), obj_quote_bubble_battle_yellow_2)
5
else if (global.battle_enemy_name == "jandroid duo")
6
{
7
    if (global.act_number == 2)
8
        instance_create_depth(242, 60, (depth + 1), obj_quote_bubble_battle_yellow_2_reverse)
9
    else
10
        instance_create_depth(220, 60, (depth + 1), obj_quote_bubble_battle_yellow_2)
11
}
12
execute_random = true
13
text_effect = "twitchy"
14
text_effect_2 = "twitchy"
15
color_count = 0
16
random_message = 0
17
if (execute_random == true)
18
{
19
    random_number = irandom_range(0, 1)
20
    if (random_number == 0)
21
    {
22
        message[0] = "EW!!! Soap???? "
23
        message_end = 0
24
    }
25
    else if (random_number == 1)
26
    {
27
        message[0] = "No!!#You diSGuST ME!#Get away!!"
28
        message_end = 0
29
    }
30
}
31
message_current = 0
32
message_draw = ""
33
increase = global.text_speed
34
characters = 0
35
hold = 0
36
message_length = string_length(message[message_current])
37
script_execute(gml_Script_scr_generate_text_counters)
38
circle_text_angle = global.circle_text_angle_default
39
circle_text_angle_direction = 1