Undertale Yellow script viewer

← back to main script listing

gml_GlobalScript_scr_dialogue_battle_action_selected_action_2_slither_b

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

function scr_dialogue_battle_action_selected_action_2_slither_b() //gml_Script_scr_dialogue_battle_action_selected_action_2_slither_b { if (global.enemy_low_hp == true) { message[0] = "* You believe that Sir Slither# wants to stay alive." global.last_action_selected_2 = "Action 2 Low HP" global.last_action_selected = "Nothing" global.last_action_selected_3 = "Nothing" } else { message[0] = "* You buy into Sir Slither's# fancy words. Something feels# off." global.last_action_selected_2 = "Action 2 Message 0" global.last_action_selected = "Nothing" global.last_action_selected_3 = "Nothing" } }
() //gml_Script_scr_dialogue_battle_action_selected_action_2_slither_b
2
{
3
    if (global.enemy_low_hp == true)
4
    {
5
        message[0] = "* You believe that Sir Slither#  wants to stay alive."
6
        global.last_action_selected_2 = "Action 2 Low HP"
7
        global.last_action_selected = "Nothing"
8
        global.last_action_selected_3 = "Nothing"
9
    }
10
    else
11
    {
12
        message[0] = "* You buy into Sir Slither's#  fancy words. Something feels#  off."
13
        global.last_action_selected_2 = "Action 2 Message 0"
14
        global.last_action_selected = "Nothing"
15
        global.last_action_selected_3 = "Nothing"
16
    }
17
}