Undertale Yellow script viewer

← back to main script listing

gml_GlobalScript_scr_dialogue_battle_action_selected_action_3_flier_c

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

function scr_dialogue_battle_action_selected_action_3_flier_c() { var action_3_selected_count_3 = global.action_3_selected_count_3; if (global.enemy_low_hp_3 == true) { message[0] = "* You tell Flier that he is# depressing."; global.last_action_selected = "Nothing"; global.last_action_selected_2 = "Nothing"; global.last_action_selected_3 = "Action 3 Low HP"; } else { if (global.action_2_selected_count_3 > 0) { message[0] = "* Flier is reconsidering his# reconsiderations."; } else { random_number = irandom_range(0, 1); if (random_number == 0) message[0] = "* You insult Flier's choice of# outfits."; else if (random_number == 1) message[0] = "* You insult Flier's choice of# outfits."; } global.last_action_selected = "Nothing"; global.last_action_selected_2 = "Nothing"; global.last_action_selected_3 = "Action 3 Message 0"; } }
()
2
{
3
    var action_3_selected_count_3 = global.action_3_selected_count_3;
4
    if (global.enemy_low_hp_3 == true)
5
    {
6
        message[0] = "* You tell Flier that he is#  depressing.";
7
        global.last_action_selected = "Nothing";
8
        global.last_action_selected_2 = "Nothing";
9
        global.last_action_selected_3 = "Action 3 Low HP";
10
    }
11
    else
12
    {
13
        if (global.action_2_selected_count_3 > 0)
14
        {
15
            message[0] = "* Flier is reconsidering his#  reconsiderations.";
16
        }
17
        else
18
        {
19
            random_number = irandom_range(0, 1);
20
            if (random_number == 0)
21
                message[0] = "* You insult Flier's choice of#  outfits.";
22
            else if (random_number == 1)
23
                message[0] = "* You insult Flier's choice of#  outfits.";
24
        }
25
        global.last_action_selected = "Nothing";
26
        global.last_action_selected_2 = "Nothing";
27
        global.last_action_selected_3 = "Action 3 Message 0";
28
    }
29
}