Undertale Yellow script viewer

← back to main script listing

gml_GlobalScript_scr_dialogue_battle_action_selected_action_2_ceroba_pacifist

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

function scr_dialogue_battle_action_selected_action_2_ceroba_pacifist() { global.last_action_selected = "Action 2 Message 0"; global.last_action_selected_2 = "Nothing"; global.last_action_selected_3 = "Nothing"; if (global.hotland_flag[2] == 0) { message[0] = "* You take a breath.#* The world seems to slow, but# only for a moment."; } else if (!instance_exists(obj_ceroba_pacifist_act_helper)) { instance_create(0, 0, obj_ceroba_pacifist_act_helper); message[0] = "* You refuse to back down..."; } }
()
2
{
3
    global.last_action_selected = "Action 2 Message 0";
4
    global.last_action_selected_2 = "Nothing";
5
    global.last_action_selected_3 = "Nothing";
6
    if (global.hotland_flag[2] == 0)
7
    {
8
        message[0] = "* You take a breath.#* The world seems to slow, but#  only for a moment.";
9
    }
10
    else if (!instance_exists(obj_ceroba_pacifist_act_helper))
11
    {
12
        instance_create(0, 0, obj_ceroba_pacifist_act_helper);
13
        message[0] = "* You refuse to back down...";
14
    }
15
}