Undertale Yellow script viewer

← back to main script listing

gml_GlobalScript_scr_dialogue_battle_action_selected_action_3_sousborg

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

function scr_dialogue_battle_action_selected_action_3_sousborg() //gml_Script_scr_dialogue_battle_action_selected_action_3_sousborg { if (global.enemy_mode == 1) { message[0] = "* You tell Sousborg to throw that# puppy into the oven!" global.last_action_selected_3 = "Action 3 Message 0" global.last_action_selected = "Nothing" global.last_action_selected_2 = "Nothing" } else if (global.enemy_mode == 2) { message[0] = "* You tell Sousborg to grab some# pepper and sprinkle it over the# egg." global.last_action_selected_3 = "Action 3 Message 1" global.last_action_selected = "Nothing" global.last_action_selected_2 = "Nothing" } }
() //gml_Script_scr_dialogue_battle_action_selected_action_3_sousborg
2
{
3
    if (global.enemy_mode == 1)
4
    {
5
        message[0] = "* You tell Sousborg to throw that#  puppy into the oven!"
6
        global.last_action_selected_3 = "Action 3 Message 0"
7
        global.last_action_selected = "Nothing"
8
        global.last_action_selected_2 = "Nothing"
9
    }
10
    else if (global.enemy_mode == 2)
11
    {
12
        message[0] = "* You tell Sousborg to grab some#  pepper and sprinkle it over the#  egg."
13
        global.last_action_selected_3 = "Action 3 Message 1"
14
        global.last_action_selected = "Nothing"
15
        global.last_action_selected_2 = "Nothing"
16
    }
17
}