Undertale Yellow script viewer

← back to main script listing

gml_GlobalScript_scr_dialogue_battle_action_selected_action_2_decibat

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

function scr_dialogue_battle_action_selected_action_2_decibat() { var action_2_selected_count = global.action_2_selected_count; if (global.enemy_low_hp == true) { message[0] = "* Decibat is making too much# noise to notice your silence."; global.last_action_selected = "Action 2 Low HP"; global.last_action_selected_2 = "Nothing"; global.last_action_selected_3 = "Nothing"; } else { message[0] = "* You watch Decibat in silence.#* He seems to appreciate it."; 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
    if (global.enemy_low_hp == true)
5
    {
6
        message[0] = "* Decibat is making too much#  noise to notice your silence.";
7
        global.last_action_selected = "Action 2 Low HP";
8
        global.last_action_selected_2 = "Nothing";
9
        global.last_action_selected_3 = "Nothing";
10
    }
11
    else
12
    {
13
        message[0] = "* You watch Decibat in silence.#* He seems to appreciate it.";
14
        global.last_action_selected = "Action 2 Message 0";
15
        global.last_action_selected_2 = "Nothing";
16
        global.last_action_selected_3 = "Nothing";
17
    }
18
}