Undertale Yellow script viewer

← back to main script listing

gml_GlobalScript_scr_dialogue_battle_action_selected_action_1_flier_c

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

function scr_dialogue_battle_action_selected_action_1_flier_c() { var action_1_selected_count_3 = global.action_1_selected_count_3; if (global.enemy_low_hp_3 == true) { message[0] = "* You inform Flier that you# understand his struggle."; global.last_action_selected = "Nothing"; global.last_action_selected_2 = "Nothing"; global.last_action_selected_3 = "Action 1 Low HP"; } else { random_number = irandom_range(0, 1); if (random_number == 0) { message[0] = "* You inform Flier that his life# isn't half over, he has a whole# half left to go!"; global.last_action_selected = "Nothing"; global.last_action_selected_2 = "Nothing"; global.last_action_selected_3 = "Action 1 Message 0"; } else if (random_number == 1) { message[0] = "* You inform Flier that his life# isn't half over, he has a whole# half left to go!"; global.last_action_selected = "Nothing"; global.last_action_selected_2 = "Nothing"; global.last_action_selected_3 = "Action 1 Message 0"; } } }
()
2
{
3
    var action_1_selected_count_3 = global.action_1_selected_count_3;
4
    if (global.enemy_low_hp_3 == true)
5
    {
6
        message[0] = "* You inform Flier that you#  understand his struggle.";
7
        global.last_action_selected = "Nothing";
8
        global.last_action_selected_2 = "Nothing";
9
        global.last_action_selected_3 = "Action 1 Low HP";
10
    }
11
    else
12
    {
13
        random_number = irandom_range(0, 1);
14
        if (random_number == 0)
15
        {
16
            message[0] = "* You inform Flier that his life#  isn't half over, he has a whole#  half left to go!";
17
            global.last_action_selected = "Nothing";
18
            global.last_action_selected_2 = "Nothing";
19
            global.last_action_selected_3 = "Action 1 Message 0";
20
        }
21
        else if (random_number == 1)
22
        {
23
            message[0] = "* You inform Flier that his life#  isn't half over, he has a whole#  half left to go!";
24
            global.last_action_selected = "Nothing";
25
            global.last_action_selected_2 = "Nothing";
26
            global.last_action_selected_3 = "Action 1 Message 0";
27
        }
28
    }
29
}