Undertale Yellow script viewer

← back to main script listing

gml_GlobalScript_scr_battle_core_directory_flavor_text_intro

(view raw script w/o annotations or w/e)
1
function scr_battle_core_directory_flavor_text_intro
scr_battle_core_directory_flavor_text_intro

function scr_battle_core_directory_flavor_text_intro() //gml_Script_scr_battle_core_directory_flavor_text_intro { var battle_enemy_name = global.battle_enemy_name var game_mode = global.game_mode if (game_mode == "customs") { if (battle_enemy_name == "craniex") message[0] = "* Craniex steps toward the class,# ready to give another boring# lecture." else if (battle_enemy_name == "ms mettaton") { if (global.ms_mettaton_transformed == false) message[0] = "* Ms. Mettaton strikes!" else if (global.ms_mettaton_transformed == true) message[0] = "* Ms. Mettaton EX makes her grand# debut!" } } else if (game_mode == "yellow") { if (battle_enemy_name == "froggit intro") message[0] = "* Froggit hopped close!" else if (battle_enemy_name == "flier solo") message[0] = "* Flier is giving fighting a try!" else if (battle_enemy_name == "flier trio") message[0] = "* You are overwhelmed by# depressing vibes." else if (battle_enemy_name == "penilla solo") message[0] = "* Penilla draws near!" else if (battle_enemy_name == "flier penilla duo") message[0] = "* Penilla seems to be dreading# this battle." else if (battle_enemy_name == "sweet corn solo") message[0] = "* Sweet Corn hops up excitedly." else if (battle_enemy_name == "sweet corn duo") message[0] = "* You can already feel the# cavities." else if (battle_enemy_name == "sweet corn penilla duo") message[0] = "* Penilla encounters you.#* Sweet Corn comes out of nowhere# acting excited." else if (battle_enemy_name == "crispy scroll solo") message[0] = "* Crispy Scroll is looking for# someone to talk to." else if (battle_enemy_name == "crispy scroll penilla duo") message[0] = "* A powerful lone warrior and his# pencil companion encounter you!" else if (battle_enemy_name == "rorrim solo") message[0] = "* Rorrim encounters you!" else if (battle_enemy_name == "decibat") message[0] = "* Decibat makes his presence# known." else if (battle_enemy_name == "dalv") message[0] = "* Dalv musters his fighting# spirit." else if (battle_enemy_name == "micro froggit") message[0] = "* You notice Micro Froggit# attacking you!" else if (battle_enemy_name == "insomnitot solo") message[0] = "* Insomnitot staggers forward." else if (battle_enemy_name == "insomnitot duo") message[0] = "* You suddenly feel like taking a# nap." else if (battle_enemy_name == "know cone solo") message[0] = "* Know Cone comes to see if you# are made of fire.#* You aren't." else if (battle_enemy_name == "know cone insomnitot duo") message[0] = "* Insomnitot appears!#* Know Cone wanders in, chasing a# butterfly." else if (battle_enemy_name == "frostermit solo") message[0] = "* There is an igloo here." else if (battle_enemy_name == "frostermit know cone duo") message[0] = "* Know Cone encounters you, and# an igloo." else if (battle_enemy_name == "trihecta together") message[0] = "* Trihecta wobbles forward!" else if (battle_enemy_name == "trihecta separated") message[0] = "* Trihecta regroups, then bickers." else if (battle_enemy_name == "martlet pacifist") message[0] = "* Martlet of the Royal Guard is# waiting for your turn." else if (battle_enemy_name == "martlet genocide") message[0] = "* Martlet seems puzzled." else if (battle_enemy_name == "dunebud solo") message[0] = "* Dunebud popped out of the sand!" else if (battle_enemy_name == "dunebud duo") message[0] = "* Double trouble!" else if (battle_enemy_name == "cactony solo") message[0] = "* Cactony comes to share his pain." else if (battle_enemy_name == "slither solo") message[0] = "* Sir Slither has a proposition!# (real)" else if (battle_enemy_name == "bowll solo") message[0] = "* Bowll charges near you!" else if (battle_enemy_name == "cactony slither duo") message[0] = "* Cactony wandered in, Sir# Slither closely following." else if (battle_enemy_name == "el bailador") { if (global.route != 3) message[0] = "* It's time to dance!" else message[0] = "* Another roadblock." } else if (battle_enemy_name == "flower girls") { switch global.dunes_flag[31] { case 1: message[0] = "* Violetta passively approaches# from the flowerbed." break case 2: message[0] = "* Pedla approaches from the# flowerbed, offering you a# flower." break case 3: message[0] = "* Rosa approaches from the# flowerbed, twisting a flower in# her hand." break default: message[0] = "* ..." } ...
() //gml_Script_scr_battle_core_directory_flavor_text_intro
2
{
3
    var battle_enemy_name = global.battle_enemy_name
4
    var game_mode = global.game_mode
5
    if (game_mode == "customs")
6
    {
7
        if (battle_enemy_name == "craniex")
8
            message[0] = "* Craniex steps toward the class,#  ready to give another boring#  lecture."
9
        else if (battle_enemy_name == "ms mettaton")
10
        {
11
            if (global.ms_mettaton_transformed == false)
12
                message[0] = "* Ms. Mettaton strikes!"
13
            else if (global.ms_mettaton_transformed == true)
14
                message[0] = "* Ms. Mettaton EX makes her grand#  debut!"
15
        }
16
    }
17
    else if (game_mode == "yellow")
18
    {
19
        if (battle_enemy_name == "froggit intro")
20
            message[0] = "* Froggit hopped close!"
21
        else if (battle_enemy_name == "flier solo")
22
            message[0] = "* Flier is giving fighting a try!"
23
        else if (battle_enemy_name == "flier trio")
24
            message[0] = "* You are overwhelmed by#  depressing vibes."
25
        else if (battle_enemy_name == "penilla solo")
26
            message[0] = "* Penilla draws near!"
27
        else if (battle_enemy_name == "flier penilla duo")
28
            message[0] = "* Penilla seems to be dreading#  this battle."
29
        else if (battle_enemy_name == "sweet corn solo")
30
            message[0] = "* Sweet Corn hops up excitedly."
31
        else if (battle_enemy_name == "sweet corn duo")
32
            message[0] = "* You can already feel the#  cavities."
33
        else if (battle_enemy_name == "sweet corn penilla duo")
34
            message[0] = "* Penilla encounters you.#* Sweet Corn comes out of nowhere#  acting excited."
35
        else if (battle_enemy_name == "crispy scroll solo")
36
            message[0] = "* Crispy Scroll is looking for#  someone to talk to."
37
        else if (battle_enemy_name == "crispy scroll penilla duo")
38
            message[0] = "* A powerful lone warrior and his#  pencil companion encounter you!"
39
        else if (battle_enemy_name == "rorrim solo")
40
            message[0] = "* Rorrim encounters you!"
41
        else if (battle_enemy_name == "decibat")
42
            message[0] = "* Decibat makes his presence#  known."
43
        else if (battle_enemy_name == "dalv")
44
            message[0] = "* Dalv musters his fighting#  spirit."
45
        else if (battle_enemy_name == "micro froggit")
46
            message[0] = "* You notice Micro Froggit#  attacking you!"
47
        else if (battle_enemy_name == "insomnitot solo")
48
            message[0] = "* Insomnitot staggers forward."
49
        else if (battle_enemy_name == "insomnitot duo")
50
            message[0] = "* You suddenly feel like taking a#  nap."
51
        else if (battle_enemy_name == "know cone solo")
52
            message[0] = "* Know Cone comes to see if you#  are made of fire.#* You aren't."
53
        else if (battle_enemy_name == "know cone insomnitot duo")
54
            message[0] = "* Insomnitot appears!#* Know Cone wanders in, chasing a#  butterfly."
55
        else if (battle_enemy_name == "frostermit solo")
56
            message[0] = "* There is an igloo here."
57
        else if (battle_enemy_name == "frostermit know cone duo")
58
            message[0] = "* Know Cone encounters you, and#  an igloo."
59
        else if (battle_enemy_name == "trihecta together")
60
            message[0] = "* Trihecta wobbles forward!"
61
        else if (battle_enemy_name == "trihecta separated")
62
            message[0] = "* Trihecta regroups, then bickers."
63
        else if (battle_enemy_name == "martlet pacifist")
64
            message[0] = "* Martlet of the Royal Guard is#  waiting for your turn."
65
        else if (battle_enemy_name == "martlet genocide")
66
            message[0] = "* Martlet seems puzzled."
67
        else if (battle_enemy_name == "dunebud solo")
68
            message[0] = "* Dunebud popped out of the sand!"
69
        else if (battle_enemy_name == "dunebud duo")
70
            message[0] = "* Double trouble!"
71
        else if (battle_enemy_name == "cactony solo")
72
            message[0] = "* Cactony comes to share his pain."
73
        else if (battle_enemy_name == "slither solo")
74
            message[0] = "* Sir Slither has a proposition!#  (real)"
75
        else if (battle_enemy_name == "bowll solo")
76
            message[0] = "* Bowll charges near you!"
77
        else if (battle_enemy_name == "cactony slither duo")
78
            message[0] = "* Cactony wandered in, Sir#  Slither closely following."
79
        else if (battle_enemy_name == "el bailador")
80
        {
81
            if (global.route != 3)
82
                message[0] = "* It's time to dance!"
83
            else
84
                message[0] = "* Another roadblock."
85
        }
86
        else if (battle_enemy_name == "flower girls")
87
        {
88
            switch global.dunes_flag[31]
89
            {
90
                case 1:
91
                    message[0] = "* Violetta passively approaches#  from the flowerbed."
92
                    break
93
                case 2:
94
                    message[0] = "* Pedla approaches from the#  flowerbed, offering you a#  flower."
95
                    break
96
                case 3:
97
                    message[0] = "* Rosa approaches from the#  flowerbed, twisting a flower in#  her hand."
98
                    break
99
                default:
100
                    message[0] = "* ..."
101
            }
102
103
        }
104
        else if (battle_enemy_name == "ceroba genocide")
105
            message[0] = "* The atmosphere chills with ire."
106
        else if (battle_enemy_name == "starlo")
107
        {
108
            if (global.attack_cycle == 0)
109
                message[0] = "* Showdown!"
110
            else
111
                message[0] = "* Duel!"
112
        }
113
        else if (battle_enemy_name == "tellyvis")
114
            message[0] = "* Telly-Vis tunes in!"
115
        else if (battle_enemy_name == "jandroid")
116
            message[0] = "* Jandroid strolls up, whistling#  a pitchy tune."
117
        else if (battle_enemy_name == "goosic")
118
            message[0] = "* Goosic has come to share some#  sounds."
119
        else if (battle_enemy_name == "sousborg")
120
            message[0] = "* Sousborg is ready to put your#  culinary skills to the test!"
121
        else if (battle_enemy_name == "jandroid goosic duo")
122
            message[0] = "* The robotic duo, Jandroid and#  Goosic, are here!"
123
        else if (battle_enemy_name == "jandroid duo")
124
            message[0] = "* Rinse, repeated."
125
        else if (battle_enemy_name == "axis")
126
            message[0] = "* Axis Model 014, ready to#  attack!"
127
        else if (battle_enemy_name == "axis genocide")
128
            message[0] = "* Axis Model 014, ready to#  defend."
129
        else if (battle_enemy_name == "macro froggit")
130
        {
131
            message[0] = "* You notice Micro Froggit#  attacking you!"
132
            if (global.turns_passed > 0)
133
                message[0] = "* What the..."
134
        }
135
        else if (battle_enemy_name == "guardener")
136
            message[0] = "* Guardener ensnares you!"
137
        else if (battle_enemy_name == "ceroba")
138
        {
139
            if (global.hotland_flag[2] == 0)
140
                message[0] = "* No turning back."
141
            else if (global.hotland_flag[2] == 1)
142
                message[0] = "* Let justice be done."
143
            else
144
                message[0] = "* Ceroba is shaken by the#  memory."
145
        }
146
        else if (battle_enemy_name == "martlet genocide final")
147
        {
148
            message[0] = "* The zenith of Monsterkind."
149
            if (global.hotland_flag[9] >= 2)
150
                message[0] = "* Fallen down."
151
        }
152
    }
153
}