Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_quote_battle_crispy_scroll_a_Create_0

(view raw script w/o annotations or w/e)
1
execute_normal = false
2
execute_random = false
3
if (global.battle_enemy_name == "crispy scroll penilla duo")
4
{
5
    if (global.enemy_dead_2 == true && global.fight_number == 2 && global.battle_menu_number == 1)
6
    {
7
        message[0] = "YOU BAKA~"
8
        message_end = 0
9
    }
10
    else
11
        execute_normal = true
12
}
13
else
14
    execute_normal = true
15
if (execute_normal == true)
16
{
17
    if (global.last_action_selected == "Action 1 Low HP")
18
    {
19
        message[0] = "Do you even#watch anime?!"
20
        message_end = 0
21
    }
22
    else if (global.last_action_selected == "Action 1 Message 0")
23
    {
24
        if (global.enemy_count == 3)
25
        {
26
            if ((global.enemy_dead_2 + global.enemy_spared_2 + global.enemy_dead_3 + global.enemy_spared_3) < 2)
27
            {
28
                message[0] = "I can't do it with monsters watching..."
29
                message_end = 0
30
            }
31
            else
32
            {
33
                message[0] = "AAAAAAAAAAAAAAAA#AAAAAAAAAAAAAAAA#AAAAAAAAAAAAAAAA#AAAAAAAAAAAAAAAA#AAAAAAAAAAAAAAAA"
34
                message_end = 0
35
            }
36
        }
37
        else if (global.enemy_count == 2)
38
        {
39
            if ((global.enemy_dead_2 + global.enemy_spared_2) < 1)
40
            {
41
                message[0] = "I can't do it#with monsters#watching..."
42
                message_end = 0
43
            }
44
            else
45
            {
46
                message[0] = "AAAAAAAAAAAAAAAA#AAAAAAAAAAAAAAAA#AAAAAAAAAAAAAAAA#AAAAAAAAAAAAAAAA#AAAAAAAAAAAAAAAA"
47
                message_end = 0
48
            }
49
        }
50
        else
51
        {
52
            message[0] = "AAAAAAAAAAAAAAAA#AAAAAAAAAAAAAAAA#AAAAAAAAAAAAAAAA#AAAAAAAAAAAAAAAA#AAAAAAAAAAAAAAAA"
53
            message_end = 0
54
        }
55
    }
56
    else if (global.last_action_selected == "Action 2 Low HP")
57
    {
58
        message[0] = "You aren't even#doing it right!"
59
        message_end = 0
60
    }
61
    else if (global.last_action_selected == "Action 2 Message 0")
62
    {
63
        message[0] = "Wait! Do you#speak fluent#reference?"
64
        message_end = 0
65
    }
66
    else if (global.last_action_selected == "Action 2 Message 1")
67
    {
68
        message[0] = "I can feel the#power coursing#through my#ribbons!"
69
        message_end = 0
70
    }
71
    else if (global.last_action_selected == "Action 3 Low HP")
72
    {
73
        message[0] = "You have no#respect for the#artform."
74
        message_end = 0
75
    }
76
    else if (global.last_action_selected == "Action 3 Message 0")
77
    {
78
        message[0] = "Hey! I don't#judge your#headcanons!"
79
        message_end = 0
80
    }
81
    else if (global.enemy_low_hp == true)
82
    {
83
        random_number = irandom_range(0, 1)
84
        if (random_number == 0)
85
        {
86
            message[0] = "I'm not giving#up!"
87
            message_end = 0
88
        }
89
        else if (random_number == 1)
90
        {
91
            message[0] = "Live a hero, die#a hero."
92
            message_end = 0
93
        }
94
    }
95
    else
96
    {
97
        if (global.battle_enemy_name == "crispy scroll penilla duo")
98
        {
99
            if ((global.enemy_dead_2 + global.enemy_spared_2) < 1)
100
            {
101
                random_number = irandom_range(0, 1)
102
                if (random_number == 0)
103
                {
104
                    message[0] = "Can you draw#manga?"
105
                    message_end = 0
106
                }
107
                else if (random_number == 1)
108
                {
109
                    message[0] = "You remind me of#this one anime I#saw."
110
                    message_end = 0
111
                }
112
            }
113
            else
114
                execute_random = true
115
        }
116
        else
117
            execute_random = true
118
        if (execute_random == true)
119
        {
120
            random_number = irandom_range(0, 3)
121
            if (random_number == 0)
122
            {
123
                message[0] = "This isn't even#my final form!"
124
                message_end = 0
125
            }
126
            else if (random_number == 1)
127
            {
128
                message[0] = "It isn't easy#being this#bishie!"
129
                message_end = 0
130
            }
131
            else if (random_number == 2)
132
            {
133
                message[0] = "Don't go#tsundere on me#now!"
134
                message_end = 0
135
            }
136
            else if (random_number == 3)
137
            {
138
                message[0] = "You must be the#antagonist!"
139
                message_end = 0
140
            }
141
        }
142
    }
143
}
144
message_current = 0
145
message_draw = ""
146
increase = global.text_speed
147
characters = 0
148
hold = 0
149
message_length = string_length(message[message_current])
150
script_execute(gml_Script_scr_generate_text_counters)