Undertale Yellow script viewer

← back to main script listing

gml_GlobalScript_scr_dialogue_battle_action_selected_action_1_martlet_final

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

function scr_dialogue_battle_action_selected_action_1_martlet_final() { var action_1_selected_count = global.action_1_selected_count; if (global.hotland_flag[9] < 2) { var rnd = choose(0, 1, 2); switch (rnd) { case 0: message[0] = "* A moment of remembrance is# taken..."; message[1] = "* The bloodshed ends here."; break; case 1: message[0] = "* A moment of remembrance is# taken..."; message[1] = "* The mission is almost# complete."; break; case 2: message[0] = "* A moment of remembrance is# taken..."; message[1] = "* They will be avenged."; break; } } else { message[0] = "* An end in sight.\t"; message[1] = "* Nothing else matters."; } global.last_action_selected = "Action 1 Low HP"; 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
    if (global.hotland_flag[9] < 2)
5
    {
6
        var rnd = choose(0, 1, 2);
7
        switch (rnd)
8
        {
9
            case 0:
10
                message[0] = "* A moment of remembrance is#  taken...";
11
                message[1] = "* The bloodshed ends here.";
12
                break;
13
            case 1:
14
                message[0] = "* A moment of remembrance is#  taken...";
15
                message[1] = "* The mission is almost#  complete.";
16
                break;
17
            case 2:
18
                message[0] = "* A moment of remembrance is#  taken...";
19
                message[1] = "* They will be avenged.";
20
                break;
21
        }
22
    }
23
    else
24
    {
25
        message[0] = "* An end in sight.\t";
26
        message[1] = "* Nothing else matters.";
27
    }
28
    global.last_action_selected = "Action 1 Low HP";
29
    global.last_action_selected_2 = "Nothing";
30
    global.last_action_selected_3 = "Nothing";
31
}