Undertale Yellow script viewer

← back to main script listing

gml_GlobalScript_scr_dialogue_battle_action_selected_action_3_flier_a

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

function scr_dialogue_battle_action_selected_action_3_flier_a() //gml_Script_scr_dialogue_battle_action_selected_action_3_flier_a { var action_3_selected_count = global.action_3_selected_count if (global.enemy_low_hp == true) { message[0] = "* You tell Flier that he is# depressing." global.last_action_selected = "Action 3 Low HP" global.last_action_selected_2 = "Nothing" global.last_action_selected_3 = "Nothing" } else { if (global.action_2_selected_count > 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 = "Action 3 Message 0" global.last_action_selected_2 = "Nothing" global.last_action_selected_3 = "Nothing" } }
() //gml_Script_scr_dialogue_battle_action_selected_action_3_flier_a
2
{
3
    var action_3_selected_count = global.action_3_selected_count
4
    if (global.enemy_low_hp == true)
5
    {
6
        message[0] = "* You tell Flier that he is#  depressing."
7
        global.last_action_selected = "Action 3 Low HP"
8
        global.last_action_selected_2 = "Nothing"
9
        global.last_action_selected_3 = "Nothing"
10
    }
11
    else
12
    {
13
        if (global.action_2_selected_count > 0)
14
            message[0] = "* Flier is reconsidering his#  reconsiderations."
15
        else
16
        {
17
            random_number = irandom_range(0, 1)
18
            if (random_number == 0)
19
                message[0] = "* You insult Flier's choice of#  outfits."
20
            else if (random_number == 1)
21
                message[0] = "* You insult Flier's choice of#  outfits."
22
        }
23
        global.last_action_selected = "Action 3 Message 0"
24
        global.last_action_selected_2 = "Nothing"
25
        global.last_action_selected_3 = "Nothing"
26
    }
27
}