Undertale Yellow script viewer

← back to main script listing

gml_GlobalScript_scr_dialogue_battle_action_selected_action_1_martlet_pacifist

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

function scr_dialogue_battle_action_selected_action_1_martlet_pacifist() { var action_1_selected_count = global.action_1_selected_count; if (action_1_selected_count >= 2) { message[0] = "* You tap your foot on the ground.#* Martlet tries talking even# faster."; global.last_action_selected = "Action 1 Message 2"; global.last_action_selected_2 = "Nothing"; global.last_action_selected_3 = "Nothing"; } else if (action_1_selected_count >= 1) { message[0] = "* You fake a yawn.#* Martlet starts talking faster# still."; global.last_action_selected = "Action 1 Message 1"; global.last_action_selected_2 = "Nothing"; global.last_action_selected_3 = "Nothing"; } else { message[0] = "* You tap your wrist impatiently.#* Martlet looks apologetic and# tries to talk a little faster."; 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
    if (action_1_selected_count >= 2)
5
    {
6
        message[0] = "* You tap your foot on the ground.#* Martlet tries talking even#  faster.";
7
        global.last_action_selected = "Action 1 Message 2";
8
        global.last_action_selected_2 = "Nothing";
9
        global.last_action_selected_3 = "Nothing";
10
    }
11
    else if (action_1_selected_count >= 1)
12
    {
13
        message[0] = "* You fake a yawn.#* Martlet starts talking faster#  still.";
14
        global.last_action_selected = "Action 1 Message 1";
15
        global.last_action_selected_2 = "Nothing";
16
        global.last_action_selected_3 = "Nothing";
17
    }
18
    else
19
    {
20
        message[0] = "* You tap your wrist impatiently.#* Martlet looks apologetic and#  tries to talk a little faster.";
21
        global.last_action_selected = "Action 1 Message 0";
22
        global.last_action_selected_2 = "Nothing";
23
        global.last_action_selected_3 = "Nothing";
24
    }
25
}