Undertale Yellow script viewer

← back to main script listing

gml_GlobalScript_scr_dialogue_battle_action_selected_action_3_hec

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

function scr_dialogue_battle_action_selected_action_3_hec() //gml_Script_scr_dialogue_battle_action_selected_action_3_hec { var action_3_selected_count_2 = global.action_3_selected_count_2 if (global.enemy_low_hp_2 == true) { message[0] = "* You tell them to hug it out,# but they aren't listening." global.last_action_selected = "Nothing" global.last_action_selected_2 = "Action 3 Low HP" global.last_action_selected_3 = "Nothing" } else { message[0] = "* You tell Tri, Hec and Ta to# settle their differences and# hug it out." global.last_action_selected = "Nothing" global.last_action_selected_2 = "Action 3 Message 0" global.last_action_selected_3 = "Nothing" } }
() //gml_Script_scr_dialogue_battle_action_selected_action_3_hec
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 tell them to hug it out,#  but they aren't listening."
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
12
    {
13
        message[0] = "* You tell Tri, Hec and Ta to#  settle their differences and#  hug it out."
14
        global.last_action_selected = "Nothing"
15
        global.last_action_selected_2 = "Action 3 Message 0"
16
        global.last_action_selected_3 = "Nothing"
17
    }
18
}