Undertale Yellow script viewer

← back to main script listing

gml_GlobalScript_scr_dialogue_battle_action_selected_action_3_insomnitot_b

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

function scr_dialogue_battle_action_selected_action_3_insomnitot_b() { var action_3_selected_count_2 = global.action_3_selected_count_2; if (global.enemy_low_hp_2 == true) { message[0] = "* You wave your hand slowly in# front of Insomnitot's face.#* It doesn't react."; global.last_action_selected = "Nothing"; global.last_action_selected_2 = "Action 3 Low HP"; global.last_action_selected_3 = "Nothing"; } else if (global.enemy_sparing_2 == true) { message[0] = "* You reach for Insomnitot's# tassle, but think better of# disturbing its slumber."; global.last_action_selected = "Nothing"; global.last_action_selected_2 = "Action 3 Sparing"; global.last_action_selected_3 = "Nothing"; } else { message[0] = "* You swing Insomnitot's tassel# in front of its face."; global.last_action_selected = "Nothing"; global.last_action_selected_2 = "Action 3 Message 0"; global.last_action_selected_3 = "Nothing"; } }
()
2
{
3
    var action_3_selected_count_2 = global.action_3_selected_count_2;
4
    if (global.enemy_low_hp_2 == true)
5
    {
6
        message[0] = "* You wave your hand slowly in#  front of Insomnitot's face.#* It doesn't react.";
7
        global.last_action_selected = "Nothing";
8
        global.last_action_selected_2 = "Action 3 Low HP";
9
        global.last_action_selected_3 = "Nothing";
10
    }
11
    else if (global.enemy_sparing_2 == true)
12
    {
13
        message[0] = "* You reach for Insomnitot's#  tassle, but think better of#  disturbing its slumber.";
14
        global.last_action_selected = "Nothing";
15
        global.last_action_selected_2 = "Action 3 Sparing";
16
        global.last_action_selected_3 = "Nothing";
17
    }
18
    else
19
    {
20
        message[0] = "* You swing Insomnitot's tassel#  in front of its face.";
21
        global.last_action_selected = "Nothing";
22
        global.last_action_selected_2 = "Action 3 Message 0";
23
        global.last_action_selected_3 = "Nothing";
24
    }
25
}