Undertale Yellow script viewer

← back to main script listing

gml_GlobalScript_scr_dialogue_battle_action_selected_action_1_sousborg

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

function scr_dialogue_battle_action_selected_action_1_sousborg() { var action_1_selected_count = global.action_1_selected_count; if (global.enemy_low_hp == true) { message[0] = "* You toss Sousborg's cooking# into the garbage."; global.last_action_selected = "Action 1 Low HP"; global.last_action_selected_2 = "Nothing"; global.last_action_selected_3 = "Nothing"; } else if (global.enemy_mode == 0) { message[0] = "* You tell Sousborg to take the# egg and crack it over a pan."; global.last_action_selected = "Action 1 Message 0"; global.last_action_selected_2 = "Nothing"; global.last_action_selected_3 = "Nothing"; } else if (global.enemy_mode == 1) { message[0] = "* You tell Sousborg to fill the# pan with water and turn up the# heat."; global.last_action_selected = "Action 1 Message 1"; global.last_action_selected_2 = "Nothing"; global.last_action_selected_3 = "Nothing"; } else if (global.enemy_mode == 2) { message[0] = "* You tell Sousborg to wrap the# egg in plastic and let it chill# out."; global.last_action_selected = "Action 1 Message 2"; 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 (global.enemy_low_hp == true)
5
    {
6
        message[0] = "* You toss Sousborg's cooking#  into the garbage.";
7
        global.last_action_selected = "Action 1 Low HP";
8
        global.last_action_selected_2 = "Nothing";
9
        global.last_action_selected_3 = "Nothing";
10
    }
11
    else if (global.enemy_mode == 0)
12
    {
13
        message[0] = "* You tell Sousborg to take the#  egg and crack it over a pan.";
14
        global.last_action_selected = "Action 1 Message 0";
15
        global.last_action_selected_2 = "Nothing";
16
        global.last_action_selected_3 = "Nothing";
17
    }
18
    else if (global.enemy_mode == 1)
19
    {
20
        message[0] = "* You tell Sousborg to fill the#  pan with water and turn up the#  heat.";
21
        global.last_action_selected = "Action 1 Message 1";
22
        global.last_action_selected_2 = "Nothing";
23
        global.last_action_selected_3 = "Nothing";
24
    }
25
    else if (global.enemy_mode == 2)
26
    {
27
        message[0] = "* You tell Sousborg to wrap the#  egg in plastic and let it chill#  out.";
28
        global.last_action_selected = "Action 1 Message 2";
29
        global.last_action_selected_2 = "Nothing";
30
        global.last_action_selected_3 = "Nothing";
31
    }
32
}