Undertale Yellow script viewer

← back to main script listing

gml_GlobalScript_scr_dialogue_battle_action_selected_action_2_flier_b

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

function scr_dialogue_battle_action_selected_action_2_flier_b() { var action_2_selected_count_2 = global.action_2_selected_count_2; if (global.enemy_low_hp_2 == true) { message[0] = "* You compliment Flier's choice# of outfits."; global.last_action_selected = "Nothing"; global.last_action_selected_2 = "Action 2 Low HP"; global.last_action_selected_3 = "Nothing"; } else { random_number = irandom_range(0, 1); if (random_number == 0) { message[0] = "* You tell Flier he looks proud."; global.last_action_selected = "Nothing"; global.last_action_selected_2 = "Action 2 Message 0"; global.last_action_selected_3 = "Nothing"; } else if (random_number == 1) { message[0] = "* You tell Flier he looks proud."; global.last_action_selected = "Nothing"; global.last_action_selected_2 = "Action 2 Message 0"; global.last_action_selected_3 = "Nothing"; } } }
()
2
{
3
    var action_2_selected_count_2 = global.action_2_selected_count_2;
4
    if (global.enemy_low_hp_2 == true)
5
    {
6
        message[0] = "* You compliment Flier's choice#  of outfits.";
7
        global.last_action_selected = "Nothing";
8
        global.last_action_selected_2 = "Action 2 Low HP";
9
        global.last_action_selected_3 = "Nothing";
10
    }
11
    else
12
    {
13
        random_number = irandom_range(0, 1);
14
        if (random_number == 0)
15
        {
16
            message[0] = "* You tell Flier he looks proud.";
17
            global.last_action_selected = "Nothing";
18
            global.last_action_selected_2 = "Action 2 Message 0";
19
            global.last_action_selected_3 = "Nothing";
20
        }
21
        else if (random_number == 1)
22
        {
23
            message[0] = "* You tell Flier he looks proud.";
24
            global.last_action_selected = "Nothing";
25
            global.last_action_selected_2 = "Action 2 Message 0";
26
            global.last_action_selected_3 = "Nothing";
27
        }
28
    }
29
}