Undertale Yellow script viewer

← back to main script listing

gml_GlobalScript_scr_dialogue_battle_action_selected_action_1_frostermit_a

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

function scr_dialogue_battle_action_selected_action_1_frostermit_a() { var action_1_selected_count = global.action_1_selected_count; var enemy_mode = global.enemy_mode; if (enemy_mode == 0) { if (global.enemy_low_hp == true) { message[0] = "* You look over the damaged igloo."; global.last_action_selected = "Action 1 Low HP"; global.last_action_selected_2 = "Nothing"; global.last_action_selected_3 = "Nothing"; } else { message[0] = "* It's just an igloo."; global.last_action_selected = "Action 1 Message 0"; global.last_action_selected_2 = "Nothing"; global.last_action_selected_3 = "Nothing"; } } else if (enemy_mode == 1) { if (global.enemy_low_hp == true) { message[0] = "* You stare at Frostermit."; global.last_action_selected = "Action 1 Low HP"; global.last_action_selected_2 = "Nothing"; global.last_action_selected_3 = "Nothing"; } else { message[0] = "* You begin giving Frostermit a# discerning once-over.#* It looks uncomfortable."; global.last_action_selected = "Action 1 Message 0"; global.last_action_selected_2 = "Nothing"; global.last_action_selected_3 = "Nothing"; } } }
()
2
{
3
    var action_1_selected_count = global.action_1_selected_count;
4
    var enemy_mode = global.enemy_mode;
5
    if (enemy_mode == 0)
6
    {
7
        if (global.enemy_low_hp == true)
8
        {
9
            message[0] = "* You look over the damaged igloo.";
10
            global.last_action_selected = "Action 1 Low HP";
11
            global.last_action_selected_2 = "Nothing";
12
            global.last_action_selected_3 = "Nothing";
13
        }
14
        else
15
        {
16
            message[0] = "* It's just an igloo.";
17
            global.last_action_selected = "Action 1 Message 0";
18
            global.last_action_selected_2 = "Nothing";
19
            global.last_action_selected_3 = "Nothing";
20
        }
21
    }
22
    else if (enemy_mode == 1)
23
    {
24
        if (global.enemy_low_hp == true)
25
        {
26
            message[0] = "* You stare at Frostermit.";
27
            global.last_action_selected = "Action 1 Low HP";
28
            global.last_action_selected_2 = "Nothing";
29
            global.last_action_selected_3 = "Nothing";
30
        }
31
        else
32
        {
33
            message[0] = "* You begin giving Frostermit a#  discerning once-over.#* It looks uncomfortable.";
34
            global.last_action_selected = "Action 1 Message 0";
35
            global.last_action_selected_2 = "Nothing";
36
            global.last_action_selected_3 = "Nothing";
37
        }
38
    }
39
}