Undertale Yellow script viewer

← back to main script listing

gml_GlobalScript_scr_dialogue_battle_action_selected_action_1_starlo

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

function scr_dialogue_battle_action_selected_action_1_starlo() { if (global.attack_cycle < 10) { message[0] = "* You squirm inside your leather# cage to no avail."; } else if (global.turns_passed >= 17) { message[0] = "* You lower your weapon and# raise your hands."; } else { message[0] = "* You spin your six-shooter# several times to intimidate# Starlo."; message[1] = "* He instead seems impressed."; } global.last_action_selected = "Action 1 Message 0"; global.last_action_selected_2 = "Nothing"; global.last_action_selected_3 = "Nothing"; }
()
2
{
3
    if (global.attack_cycle < 10)
4
    {
5
        message[0] = "* You squirm inside your leather#  cage to no avail.";
6
    }
7
    else if (global.turns_passed >= 17)
8
    {
9
        message[0] = "* You lower your weapon and#  raise your hands.";
10
    }
11
    else
12
    {
13
        message[0] = "* You spin your six-shooter#  several times to intimidate#  Starlo.";
14
        message[1] = "* He instead seems impressed.";
15
    }
16
    global.last_action_selected = "Action 1 Message 0";
17
    global.last_action_selected_2 = "Nothing";
18
    global.last_action_selected_3 = "Nothing";
19
}