Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_quote_battle_martlet_genocide_apologize_Create_0

(view raw script w/o annotations or w/e)
1
text_effect = "twitchy"
2
var last_action_selected = global.last_action_selected
3
if (last_action_selected == "Action 1 Message 0" || last_action_selected == "Action 1 Message 1")
4
{
5
    var action_1_selected_count = global.action_1_selected_count
6
    if (action_1_selected_count == 0)
7
    {
8
        message[0] = "Wha-what are you#saying?"
9
        message[1] = "This isn't your fault.#It-it can't be."
10
        message[2] = "There's no way you..."
11
        message[3] = "You're just a child."
12
        portrait_head[0] = 2685
13
        portrait_hand[0] = 2058
14
        portrait_head[1] = 2685
15
        portrait_hand[1] = 2058
16
        portrait_head[2] = 3475
17
        portrait_hand[2] = 2058
18
        portrait_head[3] = 3475
19
        portrait_hand[3] = 2058
20
        message_end = 3
21
    }
22
    else if (action_1_selected_count == 1)
23
    {
24
        message[0] = "So..."
25
        message[1] = "You're just#apologizing?"
26
        message[2] = "Is it that simple?"
27
        message[3] = "You destroyed lives!"
28
        message[4] = "The monsters of#Snowdin are terrified!"
29
        message[5] = "And you're just...#apologizing?"
30
        message[6] = "Is, well, what else#can you do, I suppose?"
31
        message[7] = "I mean, everyone is#allowed to make#mistakes but..."
32
        message[8] = "This is a little more#than a mistake."
33
        portrait_head[0] = 3259
34
        portrait_hand[0] = 2058
35
        portrait_head[1] = 3526
36
        portrait_hand[1] = 2058
37
        portrait_head[2] = 3526
38
        portrait_hand[2] = 2058
39
        portrait_head[3] = 3526
40
        portrait_hand[3] = 2058
41
        portrait_head[4] = 3526
42
        portrait_hand[4] = 2058
43
        portrait_head[5] = 3259
44
        portrait_hand[5] = 2058
45
        portrait_head[6] = 1673
46
        portrait_hand[6] = 2058
47
        portrait_head[7] = 1673
48
        portrait_hand[7] = 2058
49
        portrait_head[8] = 3526
50
        portrait_hand[8] = 2058
51
        message_end = 8
52
        global.action_1_important = true
53
        global.action_1_color = 65535
54
    }
55
    else if (action_1_selected_count == 2)
56
    {
57
        message[0] = "You're really sorry,#aren't you?"
58
        message[1] = "You're scared..."
59
        message[2] = "This was probably self#defense."
60
        portrait_head[0] = 3475
61
        portrait_hand[0] = 2058
62
        portrait_head[1] = 3475
63
        portrait_hand[1] = 2058
64
        portrait_head[2] = 3475
65
        portrait_hand[2] = 2058
66
        message_end = 2
67
    }
68
    else if (action_1_selected_count == 3)
69
    {
70
        message[0] = "I understand. No need#to keep apologizing."
71
        portrait_head[0] = 2116
72
        portrait_hand[0] = 2058
73
        message_end = 0
74
    }
75
}
76
else
77
{
78
    message[0] = "..."
79
    portrait_head[0] = 3475
80
    portrait_hand[0] = 2058
81
    message_end = 0
82
}
83
message_current = 0
84
message_draw = ""
85
increase = global.text_speed
86
characters = 0
87
hold = 0
88
message_length = string_length(message[message_current])
89
script_execute(gml_Script_scr_generate_text_counters)
90
circle_text_angle = global.circle_text_angle_default
91
circle_text_angle_direction = 1