Undertale Yellow script viewer

← back to main script listing

gml_GlobalScript_scr_battle_core_directory_flavor_text_enemy_1_action_2

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

function scr_battle_core_directory_flavor_text_enemy_1_action_2() { var action_2_selected_count = global.action_2_selected_count; 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 doesn't seem too fond# of your insults."; } else if (game_mode == "yellow") { if (battle_enemy_name == "crispy scroll solo") { if (action_2_selected_count >= 3) message[0] = "* Crispy Scroll's power is# staggering!"; else if (action_2_selected_count == 2) message[0] = "* Crispy Scroll hit 100%! He has# reached Super Crispy Mode 2K!!"; else if (action_2_selected_count == 1) message[0] = "* Crispy Scroll is 50% powered up."; } else if (battle_enemy_name == "crispy scroll penilla duo") { if (action_2_selected_count >= 3) message[0] = "* Crispy Scroll's power is# staggering!"; else if (action_2_selected_count == 2) message[0] = "* Crispy Scroll hit 100%! He has# reached Super Crispy Mode 2K!!"; else if (action_2_selected_count == 1) message[0] = "* Crispy Scroll is 50% powered up."; } else if (battle_enemy_name == "micro froggit") { if (action_2_selected_count >= 1) message[0] = "* Micro Froggit is trying to hop# away."; } else if (battle_enemy_name == "trihecta together") { if (action_2_selected_count >= 1) message[0] = "* Trihecta begins to sway back# and forth."; else message[0] = "* Trihecta balances out."; } } }
()
2
{
3
    var action_2_selected_count = global.action_2_selected_count;
4
    var battle_enemy_name = global.battle_enemy_name;
5
    var game_mode = global.game_mode;
6
    if (game_mode == "customs")
7
    {
8
        if (battle_enemy_name == "craniex")
9
            message[0] = "* Craniex doesn't seem too fond#  of your insults.";
10
    }
11
    else if (game_mode == "yellow")
12
    {
13
        if (battle_enemy_name == "crispy scroll solo")
14
        {
15
            if (action_2_selected_count >= 3)
16
                message[0] = "* Crispy Scroll's power is#  staggering!";
17
            else if (action_2_selected_count == 2)
18
                message[0] = "* Crispy Scroll hit 100%! He has#  reached Super Crispy Mode 2K!!";
19
            else if (action_2_selected_count == 1)
20
                message[0] = "* Crispy Scroll is 50% powered up.";
21
        }
22
        else if (battle_enemy_name == "crispy scroll penilla duo")
23
        {
24
            if (action_2_selected_count >= 3)
25
                message[0] = "* Crispy Scroll's power is#  staggering!";
26
            else if (action_2_selected_count == 2)
27
                message[0] = "* Crispy Scroll hit 100%! He has#  reached Super Crispy Mode 2K!!";
28
            else if (action_2_selected_count == 1)
29
                message[0] = "* Crispy Scroll is 50% powered up.";
30
        }
31
        else if (battle_enemy_name == "micro froggit")
32
        {
33
            if (action_2_selected_count >= 1)
34
                message[0] = "* Micro Froggit is trying to hop#  away.";
35
        }
36
        else if (battle_enemy_name == "trihecta together")
37
        {
38
            if (action_2_selected_count >= 1)
39
                message[0] = "* Trihecta begins to sway back#  and forth.";
40
            else
41
                message[0] = "* Trihecta balances out.";
42
        }
43
    }
44
}