Undertale Yellow script viewer

← back to main script listing

gml_GlobalScript_scr_dialogue_battle_action_selected_action_2_flower_girls

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

function scr_dialogue_battle_action_selected_action_2_flower_girls() { var action_2_selected_count = global.action_2_selected_count; switch (global.dunes_flag[31]) { case 1: message[0] = "* You tell Violetta she has# nothing to fear."; if (global.enemy_low_hp == true) message[0] = "* You tell Violetta to get lost."; break; case 2: message[0] = "* You tell Pedla she's the# sweetest Flower Girl in the# Underground!"; if (global.enemy_low_hp == true) message[0] = "* You tell Pedla her attacks are# impressive."; break; case 3: message[0] = "* You ask if you can have one of# Rosa's flowers."; if (global.enemy_low_hp == true) message[0] = "* You ask Rosa to give you a# real challenge."; break; } global.last_action_selected = "Action 2 Message 0"; global.last_action_selected_2 = "Nothing"; global.last_action_selected_3 = "Nothing"; }
()
2
{
3
    var action_2_selected_count = global.action_2_selected_count;
4
    switch (global.dunes_flag[31])
5
    {
6
        case 1:
7
            message[0] = "* You tell Violetta she has#  nothing to fear.";
8
            if (global.enemy_low_hp == true)
9
                message[0] = "* You tell Violetta to get lost.";
10
            break;
11
        case 2:
12
            message[0] = "* You tell Pedla she's the#  sweetest Flower Girl in the#  Underground!";
13
            if (global.enemy_low_hp == true)
14
                message[0] = "* You tell Pedla her attacks are#  impressive.";
15
            break;
16
        case 3:
17
            message[0] = "* You ask if you can have one of#  Rosa's flowers.";
18
            if (global.enemy_low_hp == true)
19
                message[0] = "* You ask Rosa to give you a#  real challenge.";
20
            break;
21
    }
22
    global.last_action_selected = "Action 2 Message 0";
23
    global.last_action_selected_2 = "Nothing";
24
    global.last_action_selected_3 = "Nothing";
25
}