Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_quote_battle_martlet_pacifist_insult_1_Create_0

(view raw script w/o annotations or w/e)
1
text_effect = "twitchy"
2
attack = false
3
if ((global.last_action_selected == "Action 3 Phase 2" && global.action_3_selected_count >= 2) || (global.last_action_selected != "Action 3 Phase 2" && global.last_action_selected != "Action 3 Phase 1" && global.action_3_selected_count >= 1))
4
{
5
    if (global.action_3_selected_count >= 2)
6
    {
7
        attack = true
8
        message[0] = "That's more like it!"
9
        message[1] = "What kind of Royal#Guard wears rags like#these, right?"
10
        message[2] = "It's not like I stayed#up all night#sewing them or#anything, haha..."
11
        message[3] = "Oh, right, it's my#turn."
12
        portrait_head[0] = 2087
13
        portrait_hand[0] = 2058
14
        portrait_head[1] = 2087
15
        portrait_hand[1] = 2058
16
        portrait_head[2] = 2116
17
        portrait_hand[2] = 2058
18
        portrait_head[3] = 29
19
        portrait_hand[3] = 2058
20
        message_end = 3
21
    }
22
    else
23
    {
24
        message[0] = "Give it another try!"
25
        message[1] = "I believe in you!"
26
        portrait_head[0] = 126
27
        portrait_hand[0] = 2058
28
        portrait_head[1] = 3235
29
        portrait_hand[1] = 2058
30
        message_end = 1
31
    }
32
}
33
else if (global.action_3_selected_count >= 1)
34
{
35
    attack = true
36
    message[0] = "Aww! That was#adorable! "
37
    message[1] = "I don't even feel#insulted!"
38
    message[2] = "I feel like I've been#honored! You put so#much work into that!"
39
    message[3] = "You aren't making#this easy here!"
40
    message[4] = "Here I go... protocol#and all that... for#the Royal Guard!"
41
    portrait_head[0] = 3235
42
    portrait_hand[0] = 2058
43
    portrait_head[1] = 3673
44
    portrait_hand[1] = 2058
45
    portrait_head[2] = 3235
46
    portrait_hand[2] = 2058
47
    portrait_head[3] = 2116
48
    portrait_hand[3] = 2058
49
    portrait_head[4] = 2116
50
    portrait_hand[4] = 2058
51
    message_end = 4
52
}
53
else
54
{
55
    message[0] = "Come on! Get#aggressive!"
56
    message[1] = "I can take it, I#swear!"
57
    message[2] = "Sticks and stones may#break my bones, but#words can only make#me sad!"
58
    portrait_head[0] = 2087
59
    portrait_hand[0] = 2058
60
    portrait_head[1] = 2087
61
    portrait_hand[1] = 2058
62
    portrait_head[2] = 3235
63
    portrait_hand[2] = 2058
64
    message_end = 2
65
}
66
message_current = 0
67
message_draw = ""
68
increase = global.text_speed
69
characters = 0
70
hold = 0
71
message_length = string_length(message[message_current])
72
script_execute(gml_Script_scr_generate_text_counters)
73
circle_text_angle = global.circle_text_angle_default
74
circle_text_angle_direction = 1