Undertale Yellow script viewer

← back to main script listing

gml_GlobalScript_scr_dialogue_battle_action_selected_action_3_tellyvis_a

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

function scr_dialogue_battle_action_selected_action_3_tellyvis_a() { var action_3_selected_count = global.action_3_selected_count; if (global.enemy_low_hp == true) { message[0] = "* You see if Telly's antennas# still function. They do not."; global.last_action_selected = "Nothing"; global.last_action_selected_2 = "Nothing"; global.last_action_selected_3 = "Action 3 Low HP"; } else if (action_3_selected_count == 0) { message[0] = "* You help Telly finagle her# antennas to find some# programming."; global.last_action_selected = "Nothing"; global.last_action_selected_2 = "Nothing"; global.last_action_selected_3 = "Action 3 Message 0"; } else { message[0] = "* You attempt to touch Telly's# antennas again but she motions# you away."; global.last_action_selected = "Nothing"; global.last_action_selected_2 = "Nothing"; global.last_action_selected_3 = "Action 3 Message 1"; } }
()
2
{
3
    var action_3_selected_count = global.action_3_selected_count;
4
    if (global.enemy_low_hp == true)
5
    {
6
        message[0] = "* You see if Telly's antennas#  still function. They do not.";
7
        global.last_action_selected = "Nothing";
8
        global.last_action_selected_2 = "Nothing";
9
        global.last_action_selected_3 = "Action 3 Low HP";
10
    }
11
    else if (action_3_selected_count == 0)
12
    {
13
        message[0] = "* You help Telly finagle her#  antennas to find some#  programming.";
14
        global.last_action_selected = "Nothing";
15
        global.last_action_selected_2 = "Nothing";
16
        global.last_action_selected_3 = "Action 3 Message 0";
17
    }
18
    else
19
    {
20
        message[0] = "* You attempt to touch Telly's#  antennas again but she motions#  you away.";
21
        global.last_action_selected = "Nothing";
22
        global.last_action_selected_2 = "Nothing";
23
        global.last_action_selected_3 = "Action 3 Message 1";
24
    }
25
}