Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_quote_battle_dunebud_b_Create_0

(view raw script w/o annotations or w/e)
1
execute_normal = false
2
execute_random = false
3
text_effect = "circle"
4
text_effect_2 = "circle"
5
color_count = 0
6
depth = -1000
7
if (global.battle_enemy_name == "dunebud duo")
8
{
9
    if (global.enemy_dead == true && global.fight_number == 2 && global.battle_menu_number == 1)
10
    {
11
        message[0] = "?~"
12
        message_end = 0
13
    }
14
    else
15
        execute_normal = true
16
}
17
else
18
    execute_normal = true
19
if (execute_normal == true)
20
{
21
    if (global.enemy_sparing_2 == true && global.enemy_low_hp_2 == false)
22
    {
23
        message[0] = "heHe~"
24
        message_end = 0
25
    }
26
    else if (global.enemy_low_hp_2 == true)
27
    {
28
        random_number = irandom_range(0, 1)
29
        if (random_number == 0)
30
        {
31
            message[0] = "Bwaa~"
32
            message_end = 0
33
        }
34
        else if (random_number == 1)
35
        {
36
            message[0] = "Grrr~"
37
            message_end = 0
38
        }
39
    }
40
    else if (global.last_action_selected_2 == "Action 1 Message 0")
41
    {
42
        message[0] = "Oo??"
43
        message_end = 0
44
    }
45
    else if (global.last_action_selected_2 == "Action 2 Message 0")
46
    {
47
        message[0] = "Awawa~"
48
        message_end = 0
49
    }
50
    else if (global.last_action_selected_2 == "Action 3 Message 0" || global.last_action_selected_2 == "Action 3 Message 1")
51
    {
52
        message[0] = "Uuuu~"
53
        message_end = 0
54
    }
55
    else
56
    {
57
        execute_random = true
58
        if (execute_random == true)
59
        {
60
            random_number = irandom_range(0, 3)
61
            if (random_number == 0)
62
            {
63
                message[0] = "Swip#Swap~"
64
                message_end = 0
65
            }
66
            else if (random_number == 1)
67
            {
68
                message[0] = "Gwob#Gwub~"
69
                message_end = 0
70
            }
71
            else if (random_number == 2)
72
            {
73
                message[0] = "Awoooo~"
74
                message_end = 0
75
            }
76
            else if (random_number == 3)
77
            {
78
                message[0] = "Wiggle#Woggle~"
79
                message_end = 0
80
            }
81
        }
82
    }
83
}
84
message_current = 0
85
message_draw = ""
86
increase = global.text_speed
87
characters = 0
88
hold = 0
89
message_length = string_length(message[message_current])
90
script_execute(gml_Script_scr_generate_text_counters)
91
circle_text_angle = global.circle_text_angle_default
92
circle_text_angle_direction = 1