Undertale Yellow script viewer

← back to main script listing

gml_GlobalScript_scr_dialogue_battle_action_selected_action_1_flower_girls

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

function scr_dialogue_battle_action_selected_action_1_flower_girls() { var action_1_selected_count = global.action_1_selected_count; switch (global.dunes_flag[31]) { case 1: message[0] = "* You compliment the rich color# of Violetta's flowers."; if (global.enemy_low_hp == true) message[0] = "* You tell Violetta her attacks# are impressive."; break; case 2: message[0] = "* You reach for Pedla's# offering."; break; case 3: message[0] = "* You tell Rosa her flowers are# stunning."; if (global.enemy_low_hp == true) message[0] = "* You tell Rosa her attacks are# impressive."; break; } global.last_action_selected = "Action 1 Message 0"; global.last_action_selected_2 = "Nothing"; global.last_action_selected_3 = "Nothing"; }
()
2
{
3
    var action_1_selected_count = global.action_1_selected_count;
4
    switch (global.dunes_flag[31])
5
    {
6
        case 1:
7
            message[0] = "* You compliment the rich color#  of Violetta's flowers.";
8
            if (global.enemy_low_hp == true)
9
                message[0] = "* You tell Violetta her attacks#  are impressive.";
10
            break;
11
        case 2:
12
            message[0] = "* You reach for Pedla's#  offering.";
13
            break;
14
        case 3:
15
            message[0] = "* You tell Rosa her flowers are#  stunning.";
16
            if (global.enemy_low_hp == true)
17
                message[0] = "* You tell Rosa her attacks are#  impressive.";
18
            break;
19
    }
20
    global.last_action_selected = "Action 1 Message 0";
21
    global.last_action_selected_2 = "Nothing";
22
    global.last_action_selected_3 = "Nothing";
23
}