Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_quote_battle_martlet_pacifist_true_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
    attack = true;
7
    if (global.enemy_mode_previous == 1)
8
    {
9
        message[0] = "Alright, intruder!";
10
        message[1] = "Prepare for the Royal#Guard Gauntlet!";
11
        portrait_head[0] = 2087;
12
        portrait_hand[0] = 2058;
13
        portrait_head[1] = 2087;
14
        portrait_hand[1] = 2058;
15
        message_end = 1;
16
    }
17
    else
18
    {
19
        message[0] = "That was only a#warmup.";
20
        message[1] = "Prepare for the Royal#Guard Gauntlet!";
21
        portrait_head[0] = 2087;
22
        portrait_hand[0] = 2058;
23
        portrait_head[1] = 2087;
24
        portrait_hand[1] = 2058;
25
        message_end = 1;
26
    }
27
}
28
else if (turns_passed == 1)
29
{
30
    attack = true;
31
    message[0] = "Hi-YA!";
32
    portrait_head[0] = 2087;
33
    portrait_hand[0] = 2058;
34
    message_end = 0;
35
}
36
else if (turns_passed == 2)
37
{
38
    attack = true;
39
    message[0] = "Take this, intruder!";
40
    portrait_head[0] = 2087;
41
    portrait_hand[0] = 2058;
42
    message_end = 0;
43
}
44
else if (turns_passed == 3)
45
{
46
    attack = true;
47
    message[0] = "Phew!";
48
    message[1] = "This is a real#workout.";
49
    message[2] = "Keep it up, Martlet!";
50
    portrait_head[0] = 314;
51
    portrait_hand[0] = 2058;
52
    portrait_head[1] = 314;
53
    portrait_hand[1] = 2058;
54
    portrait_head[2] = 2087;
55
    portrait_hand[2] = 2058;
56
    message_end = 2;
57
}
58
else if (turns_passed == 4)
59
{
60
    attack = true;
61
    message[0] = "...?";
62
    portrait_head[0] = 2116;
63
    portrait_hand[0] = 2058;
64
    message_end = 0;
65
}
66
else if (turns_passed == 5)
67
{
68
    message[0] = "See, when I#apprehended that girl,#I didn't have this#problem.";
69
    message[1] = "Well... I guess she#didn't attack me per#se...";
70
    message[2] = "But she scolded me and#got real aggressive,#like:";
71
    message[3] = "\"What are you on#about?! I'm not human!#Clear the feathers out#of your head!\"";
72
    message[4] = "Would you mind being#aggressive like her?";
73
    portrait_head[0] = 2427;
74
    portrait_hand[0] = 2058;
75
    portrait_head[1] = 1610;
76
    portrait_hand[1] = 2058;
77
    portrait_head[2] = 126;
78
    portrait_hand[2] = 2058;
79
    portrait_head[3] = 2087;
80
    portrait_hand[3] = 2058;
81
    portrait_head[4] = 3673;
82
    portrait_hand[4] = 2058;
83
    message_end = 4;
84
}
85
message_current = 0;
86
message_draw = "";
87
increase = global.text_speed;
88
characters = 0;
89
hold = 0;
90
message_length = string_length(message[message_current]);
91
script_execute(scr_generate_text_counters);
92
circle_text_angle = global.circle_text_angle_default;
93
circle_text_angle_direction = 1;