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() //gml_Script_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..." } }
() //gml_Script_scr_dialogue_battle_action_selected_action_2_ceroba_pacifist
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
        message[0] = "* You take a breath.#* The world seems to slow, but#  only for a moment."
8
    else if (!instance_exists(obj_ceroba_pacifist_act_helper))
9
    {
10
        instance_create(0, 0, obj_ceroba_pacifist_act_helper)
11
        message[0] = "* You refuse to back down..."
12
    }
13
}