Undertale Yellow script viewer

← back to main script listing

gml_GlobalScript_scr_battle_core_directory_flavor_text_enemy_1_special

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

function scr_battle_core_directory_flavor_text_enemy_1_special() { var battle_enemy_name = global.battle_enemy_name; var game_mode = global.game_mode; if (game_mode == "customs") { if (battle_enemy_name == "ms mettaton") message[0] = "* It seems that Ms. Mettaton is# getting bored of you."; } else if (game_mode == "yellow") { if (battle_enemy_name == "sweet corn solo") { message[0] = "* Sweet Corn jumps up and down in# celebration."; } else if (battle_enemy_name == "sweet corn duo") { message[0] = "* Sweet Corn jumps up and down in# celebration."; } else if (battle_enemy_name == "decibat") { if ((global.action_1_selected_count + global.action_3_selected_count) == 5) message[0] = "* Decibat is shaking with anger."; else if ((global.action_1_selected_count + global.action_3_selected_count) == 4) message[0] = "* Decibat grinds his teeth# angrily and flinches at the# ruckus he caused."; else if ((global.action_1_selected_count + global.action_3_selected_count) == 3) message[0] = "* Decibat can't hear himself# think."; else if ((global.action_1_selected_count + global.action_3_selected_count) == 2) message[0] = "* Decibat is losing his patience# with you."; else if ((global.action_1_selected_count + global.action_3_selected_count) == 1) message[0] = "* Decibat twitches his large ears."; else if (global.action_2_selected_count == 4) message[0] = "* Decibat is being lulled to# sleep."; else if (global.action_2_selected_count == 3) message[0] = "* Decibat is enjoying the silence."; else if (global.action_2_selected_count == 2) message[0] = "* Decibat gives you a nod of# approval."; else if (global.action_2_selected_count == 1) message[0] = "* Decibat looks slightly more at# ease."; } else if (battle_enemy_name == "dalv") { message[0] = "* Dalv looks unsure of what to do."; } else if (battle_enemy_name == "micro froggit") { message[0] = "* Micro Froggit is shocked you# managed to land a hit."; } else if (battle_enemy_name == "frostermit know cone duo") { message[0] = "* Know Cone knew someone was# there!"; } else if (battle_enemy_name == "martlet pacifist") { message[0] = "* A couple feathers litter the# ground."; } else if (battle_enemy_name == "goosic") { message[0] = "* Goosic is liking the new tune."; } else if (battle_enemy_name == "axis") { message[0] = "* Axis is staring at you blankly# until you do something."; } } }
()
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 == "ms mettaton")
8
            message[0] = "* It seems that Ms. Mettaton is#  getting bored of you.";
9
    }
10
    else if (game_mode == "yellow")
11
    {
12
        if (battle_enemy_name == "sweet corn solo")
13
        {
14
            message[0] = "* Sweet Corn jumps up and down in#  celebration.";
15
        }
16
        else if (battle_enemy_name == "sweet corn duo")
17
        {
18
            message[0] = "* Sweet Corn jumps up and down in#  celebration.";
19
        }
20
        else if (battle_enemy_name == "decibat")
21
        {
22
            if ((global.action_1_selected_count + global.action_3_selected_count) == 5)
23
                message[0] = "* Decibat is shaking with anger.";
24
            else if ((global.action_1_selected_count + global.action_3_selected_count) == 4)
25
                message[0] = "* Decibat grinds his teeth#  angrily and flinches at the#  ruckus he caused.";
26
            else if ((global.action_1_selected_count + global.action_3_selected_count) == 3)
27
                message[0] = "* Decibat can't hear himself#  think.";
28
            else if ((global.action_1_selected_count + global.action_3_selected_count) == 2)
29
                message[0] = "* Decibat is losing his patience#  with you.";
30
            else if ((global.action_1_selected_count + global.action_3_selected_count) == 1)
31
                message[0] = "* Decibat twitches his large ears.";
32
            else if (global.action_2_selected_count == 4)
33
                message[0] = "* Decibat is being lulled to#  sleep.";
34
            else if (global.action_2_selected_count == 3)
35
                message[0] = "* Decibat is enjoying the silence.";
36
            else if (global.action_2_selected_count == 2)
37
                message[0] = "* Decibat gives you a nod of#  approval.";
38
            else if (global.action_2_selected_count == 1)
39
                message[0] = "* Decibat looks slightly more at#  ease.";
40
        }
41
        else if (battle_enemy_name == "dalv")
42
        {
43
            message[0] = "* Dalv looks unsure of what to do.";
44
        }
45
        else if (battle_enemy_name == "micro froggit")
46
        {
47
            message[0] = "* Micro Froggit is shocked you#  managed to land a hit.";
48
        }
49
        else if (battle_enemy_name == "frostermit know cone duo")
50
        {
51
            message[0] = "* Know Cone knew someone was#  there!";
52
        }
53
        else if (battle_enemy_name == "martlet pacifist")
54
        {
55
            message[0] = "* A couple feathers litter the#  ground.";
56
        }
57
        else if (battle_enemy_name == "goosic")
58
        {
59
            message[0] = "* Goosic is liking the new tune.";
60
        }
61
        else if (battle_enemy_name == "axis")
62
        {
63
            message[0] = "* Axis is staring at you blankly#  until you do something.";
64
        }
65
    }
66
}