Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_quote_battle_martlet_pacifist_pacifist_Create_0

(view raw script w/o annotations or w/e)
1
text_effect = "twitchy"
2
attack = false
3
var turns_passed = global.turns_passed
4
if (turns_passed == 0)
5
{
6
    message[0] = "Umm... I don't think#I'm supposed to be#helping you, but...#that was supposed to#be your turn..."
7
    message[1] = "It's okay, I space#out and miss stuff#like that all the#time! I'll let you go#again!"
8
    portrait_head[0] = 2116
9
    portrait_hand[0] = 2058
10
    portrait_head[1] = 126
11
    portrait_hand[1] = 2058
12
    message_end = 1
13
}
14
else if (turns_passed == 1)
15
{
16
    message[0] = "Uh... I - h-hold on,#I have the guide book#on me."
17
    message[1] = "I'll check what to do#when someone doesn't#actually attack."
18
    message[2] = "You can just...#uhhhh..."
19
    message[3] = "Take another turn! Go#for it! Hit me as#hard as you can!"
20
    portrait_head[0] = 2116
21
    portrait_hand[0] = 2058
22
    portrait_head[1] = 2116
23
    portrait_hand[1] = 2058
24
    portrait_head[2] = 314
25
    portrait_hand[2] = 2058
26
    portrait_head[3] = 2087
27
    portrait_hand[3] = 2058
28
    message_end = 3
29
}
30
else if (turns_passed == 2)
31
{
32
    message[0] = "Uh-okay, I'm really#sorry for the wait.#I'm looking."
33
    message[1] = "I'm not the best Royal#Guard ya know, but#I'm really trying to#be better!"
34
    message[2] = "Last week I#apprehended this girl:"
35
    message[3] = "Total human!"
36
    message[4] = "Oh, I think it's your#turn."
37
    portrait_head[0] = 3475
38
    portrait_hand[0] = 2058
39
    portrait_head[1] = 2116
40
    portrait_hand[1] = 2058
41
    portrait_head[2] = 126
42
    portrait_hand[2] = 2058
43
    portrait_head[3] = 3235
44
    portrait_hand[3] = 2058
45
    portrait_head[4] = 3540
46
    portrait_hand[4] = 2058
47
    message_end = 4
48
}
49
else if (turns_passed == 3)
50
{
51
    attack = true
52
    message[0] = "Aha! Royal Guards are#to proceed to the next#step without#hesitation!"
53
    message[1] = "Oh... does that count#as hesitation?"
54
    message[2] = "What? Protocol two!#My attack!"
55
    portrait_head[0] = 126
56
    portrait_hand[0] = 2058
57
    portrait_head[1] = 3561
58
    portrait_hand[1] = 2058
59
    portrait_head[2] = 3540
60
    portrait_hand[2] = 2058
61
    message_end = 2
62
}
63
message_current = 0
64
message_draw = ""
65
increase = global.text_speed
66
characters = 0
67
hold = 0
68
message_length = string_length(message[message_current])
69
script_execute(gml_Script_scr_generate_text_counters)
70
circle_text_angle = global.circle_text_angle_default
71
circle_text_angle_direction = 1