Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_quote_battle_rorrim_a_Create_0

(view raw script w/o annotations or w/e)
1
execute_normal = false
2
execute_random = false
3
if (global.last_action_selected == "Action 1 Low HP")
4
{
5
    message[0] = "Everything seems#wrong."
6
    message_end = 0
7
}
8
else if (global.last_action_selected == "Action 1 Message 0")
9
{
10
    random_number = irandom_range(0, 1)
11
    if (random_number == 0)
12
    {
13
        message[0] = "Lookin' good."
14
        message_end = 0
15
    }
16
    else if (random_number == 1)
17
    {
18
        message[0] = "Not bad, not bad."
19
        message_end = 0
20
    }
21
}
22
else if (global.last_action_selected == "Action 2 Low HP")
23
{
24
    message[0] = "You look#horrible."
25
    message_end = 0
26
}
27
else if (global.last_action_selected == "Action 2 Message 0")
28
{
29
    message[0] = "It's missing#something."
30
    message_end = 0
31
}
32
else if (global.last_action_selected == "Action 2 Message 1")
33
{
34
    message[0] = "You look perfect."
35
    message_end = 0
36
}
37
else if (global.last_action_selected == "Action 3 Low HP")
38
{
39
    message[0] = "You can't phase#me."
40
    message_end = 0
41
}
42
else if (global.last_action_selected == "Action 3 Message 0" || global.last_action_selected == "Action 3 Message 1")
43
{
44
    message[0] = "Smiles are never#out of style."
45
    message_end = 0
46
}
47
else if (global.enemy_low_hp == true)
48
{
49
    random_number = irandom_range(0, 1)
50
    if (random_number == 0)
51
    {
52
        message[0] = "Not scared of#bad luck?"
53
        message_end = 0
54
    }
55
    else if (random_number == 1)
56
    {
57
        message[0] = "This isn't#good..."
58
        message_end = 0
59
    }
60
}
61
else
62
{
63
    random_number = irandom_range(0, 3)
64
    if (random_number == 0)
65
    {
66
        message[0] = "Better check for#food in your#teeth."
67
        message_end = 0
68
    }
69
    else if (random_number == 1)
70
    {
71
        message[0] = "Yellow is the#new black."
72
        message_end = 0
73
    }
74
    else if (random_number == 2)
75
    {
76
        message[0] = "Who's the#fairest of them#all?"
77
        message_end = 0
78
    }
79
    else if (random_number == 3)
80
    {
81
        message[0] = "Like what you#see?"
82
        message_end = 0
83
    }
84
}
85
message_current = 0
86
message_draw = ""
87
increase = global.text_speed
88
characters = 0
89
hold = 0
90
message_length = string_length(message[message_current])
91
script_execute(gml_Script_scr_generate_text_counters)