Undertale Yellow script viewer

← back to main script listing

gml_GlobalScript_scr_dialogue_battle_action_selected_action_1_martlet_genocide

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

function scr_dialogue_battle_action_selected_action_1_martlet_genocide() { var enemy_mode = global.enemy_mode; var action_1_selected_count = global.action_1_selected_count; if (enemy_mode == 3) { message[0] = "* Sorry."; global.last_action_selected = "Action 1 Fight Mode"; global.last_action_selected_2 = "Nothing"; global.last_action_selected_3 = "Nothing"; } else if (action_1_selected_count >= 1) { message[0] = "* You say you're sorry again."; global.last_action_selected = "Action 1 Message 1"; global.last_action_selected_2 = "Nothing"; global.last_action_selected_3 = "Nothing"; } else { message[0] = "* You say you're sorry for# everything."; global.last_action_selected = "Action 1 Message 0"; global.last_action_selected_2 = "Nothing"; global.last_action_selected_3 = "Nothing"; } }
()
2
{
3
    var enemy_mode = global.enemy_mode;
4
    var action_1_selected_count = global.action_1_selected_count;
5
    if (enemy_mode == 3)
6
    {
7
        message[0] = "* Sorry.";
8
        global.last_action_selected = "Action 1 Fight Mode";
9
        global.last_action_selected_2 = "Nothing";
10
        global.last_action_selected_3 = "Nothing";
11
    }
12
    else if (action_1_selected_count >= 1)
13
    {
14
        message[0] = "* You say you're sorry again.";
15
        global.last_action_selected = "Action 1 Message 1";
16
        global.last_action_selected_2 = "Nothing";
17
        global.last_action_selected_3 = "Nothing";
18
    }
19
    else
20
    {
21
        message[0] = "* You say you're sorry for#  everything.";
22
        global.last_action_selected = "Action 1 Message 0";
23
        global.last_action_selected_2 = "Nothing";
24
        global.last_action_selected_3 = "Nothing";
25
    }
26
}