Undertale Yellow script viewer

← back to main script listing

gml_GlobalScript_scr_dialogue_battle_action_selected_action_2_ta

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

function scr_dialogue_battle_action_selected_action_2_ta() //gml_Script_scr_dialogue_battle_action_selected_action_2_ta { var action_2_selected_count_3 = global.action_2_selected_count_3 if (global.enemy_low_hp_3 == true) { message[0] = "* You attempt to climb Ta, but# they run from you." global.last_action_selected = "Nothing" global.last_action_selected_2 = "Nothing" global.last_action_selected_3 = "Action 2 Low HP" } else { message[0] = "* You attempt to climb Ta... and# you succeed!#* Ta is very happy." global.last_action_selected = "Nothing" global.last_action_selected_2 = "Nothing" global.last_action_selected_3 = "Action 2 Message 0" } }
() //gml_Script_scr_dialogue_battle_action_selected_action_2_ta
2
{
3
    var action_2_selected_count_3 = global.action_2_selected_count_3
4
    if (global.enemy_low_hp_3 == true)
5
    {
6
        message[0] = "* You attempt to climb Ta, but#  they run from you."
7
        global.last_action_selected = "Nothing"
8
        global.last_action_selected_2 = "Nothing"
9
        global.last_action_selected_3 = "Action 2 Low HP"
10
    }
11
    else
12
    {
13
        message[0] = "* You attempt to climb Ta... and#  you succeed!#* Ta is very happy."
14
        global.last_action_selected = "Nothing"
15
        global.last_action_selected_2 = "Nothing"
16
        global.last_action_selected_3 = "Action 2 Message 0"
17
    }
18
}