Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_quote_battle_martlet_genocide_attack_Create_0

(view raw script w/o annotations or w/e)
1
text_effect = "twitchy";
2
attack = false;
3
transform = false;
4
transforming = false;
5
if (global.enemy_hit == false)
6
{
7
    message[0] = "...";
8
    portrait_head[0] = 29;
9
    portrait_hand[0] = 2058;
10
    message_end = 0;
11
}
12
else
13
{
14
    var hit_count = global.hit_count;
15
    if (hit_count == 0)
16
    {
17
        message[0] = "Ow! What are you#doing?!";
18
        message[1] = "I understand if you're#scared, but you have#to trust me!";
19
        message[2] = "I'm with the Royal#Guard! It's my job to#make sure you're safe!";
20
        portrait_head[0] = 390;
21
        portrait_hand[0] = 2058;
22
        portrait_head[1] = 1291;
23
        portrait_hand[1] = 2058;
24
        portrait_head[2] = 314;
25
        portrait_hand[2] = 2058;
26
        message_end = 2;
27
    }
28
    else if (hit_count == 1)
29
    {
30
        message[0] = "Ow ow ow! Look, I get#it!";
31
        message[1] = "You're scared and#don't know what to do,#everyone is!";
32
        message[2] = "But you can't take#that out on me!";
33
        message[3] = "If you go around#hurting everyone all#the time, well...";
34
        message[4] = "No one will ever#help you!";
35
        portrait_head[0] = 390;
36
        portrait_hand[0] = 2058;
37
        portrait_head[1] = 1291;
38
        portrait_hand[1] = 2058;
39
        portrait_head[2] = 1291;
40
        portrait_hand[2] = 2058;
41
        portrait_head[3] = 1291;
42
        portrait_hand[3] = 2058;
43
        portrait_head[4] = 1291;
44
        portrait_hand[4] = 2058;
45
        message_end = 4;
46
    }
47
    else if (hit_count == 2)
48
    {
49
        message[0] = "Hey! Snap out of it!";
50
        message[1] = "Do you do this to#everyone who tries to#be nice to you?!";
51
        message[2] = "You... you do, don't#you.";
52
        message[3] = "You're the one they're#all running from,#aren't you?";
53
        message[4] = "I-I don't know what to#do... I've been so...#naive.";
54
        message[5] = "You're just a kid.";
55
        portrait_head[0] = 3526;
56
        portrait_hand[0] = 2058;
57
        portrait_head[1] = 3526;
58
        portrait_hand[1] = 2058;
59
        portrait_head[2] = 3443;
60
        portrait_hand[2] = 2058;
61
        portrait_head[3] = 3443;
62
        portrait_hand[3] = 2058;
63
        portrait_head[4] = 1673;
64
        portrait_hand[4] = 2058;
65
        portrait_head[5] = 1291;
66
        portrait_hand[5] = 2058;
67
        message_end = 5;
68
    }
69
    else if (hit_count == 3)
70
    {
71
        attack = true;
72
        transform = true;
73
        message[0] = "Well, I'll be honest#with you.";
74
        message[1] = "My handbook says#nothing about this#specific\tsituation.";
75
        message[2] = "However...";
76
        message[3] = "I do know that#something similar has#happened before.";
77
        message[4] = "They put a stop to#that so...";
78
        message[5] = "It's up to me to put#a stop to this!";
79
        portrait_head[0] = 3475;
80
        portrait_hand[0] = 2058;
81
        portrait_head[1] = 1610;
82
        portrait_hand[1] = 2058;
83
        portrait_head[2] = 3475;
84
        portrait_hand[2] = 2058;
85
        portrait_head[3] = 2905;
86
        portrait_head[4] = 2905;
87
        portrait_head[5] = 2905;
88
        portrait_hand[3] = 2058;
89
        portrait_hand[4] = 2058;
90
        portrait_hand[5] = 2058;
91
        message_end = 5;
92
    }
93
}
94
message_current = 0;
95
message_draw = "";
96
increase = global.text_speed;
97
characters = 0;
98
hold = 0;
99
message_length = string_length(message[message_current]);
100
script_execute(scr_generate_text_counters);
101
circle_text_angle = global.circle_text_angle_default;
102
circle_text_angle_direction = 1;