Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_quote_battle_martlet_pacifist_miss_Create_0

(view raw script w/o annotations or w/e)
1
text_effect = "twitchy";
2
var miss_count = global.miss_count;
3
if (miss_count == 0)
4
{
5
    message[0] = "Aww, you missed!#That's not fair!";
6
    message[1] = "You could've had this#great attack and -#ZOOM!";
7
    message[2] = "Just goes right by#without even leaving#a mark.";
8
    message[3] = "Tell ya what, I'll#give you a chance to#try again!";
9
    message[4] = "Take your best shot!";
10
    portrait_head[0] = 2116;
11
    portrait_hand[0] = 2058;
12
    portrait_head[1] = 2116;
13
    portrait_hand[1] = 2058;
14
    portrait_head[2] = 2116;
15
    portrait_hand[2] = 2058;
16
    portrait_head[3] = 126;
17
    portrait_hand[3] = 2058;
18
    portrait_head[4] = 2087;
19
    portrait_hand[4] = 2058;
20
    message_end = 4;
21
}
22
else if (miss_count == 1)
23
{
24
    message[0] = "But that was so close!";
25
    message[1] = "One more try!";
26
    message[2] = "Take your time with#aiming this one, I'm#in no rush!";
27
    portrait_head[0] = 126;
28
    portrait_hand[0] = 2058;
29
    portrait_head[1] = 126;
30
    portrait_hand[1] = 2058;
31
    portrait_head[2] = 3673;
32
    portrait_hand[2] = 2058;
33
    message_end = 2;
34
}
35
else if (miss_count == 2)
36
{
37
    message[0] = "Uh... you don't mind#if I take my turn,#right?";
38
    message[1] = "I mean, I want you to#get to hit me, I#really do!";
39
    message[2] = "But I think this is#starting to break#protocol, and, well...";
40
    message[3] = "I'm on thin ice as it#is with that, ya know?";
41
    message[4] = "...";
42
    message[5] = "Okay, one more shot!#But make it count!";
43
    portrait_head[0] = 2116;
44
    portrait_hand[0] = 2058;
45
    portrait_head[1] = 3540;
46
    portrait_hand[1] = 2058;
47
    portrait_head[2] = 2116;
48
    portrait_hand[2] = 2058;
49
    portrait_head[3] = 3475;
50
    portrait_hand[3] = 2058;
51
    portrait_head[4] = 1673;
52
    portrait_hand[4] = 2058;
53
    portrait_head[5] = 2087;
54
    portrait_hand[5] = 2058;
55
    message_end = 5;
56
}
57
message_current = 0;
58
message_draw = "";
59
increase = global.text_speed;
60
characters = 0;
61
hold = 0;
62
message_length = string_length(message[message_current]);
63
script_execute(scr_generate_text_counters);
64
circle_text_angle = global.circle_text_angle_default;
65
circle_text_angle_direction = 1;