Undertale Yellow script viewer

← back to main script listing

gml_GlobalScript_scr_dialogue_battle_action_selected_action_2_sousborg

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

function scr_dialogue_battle_action_selected_action_2_sousborg() //gml_Script_scr_dialogue_battle_action_selected_action_2_sousborg { if (global.enemy_low_hp == true) { message[0] = "* You wash Sousborg's oil off of# your hands." global.last_action_selected_2 = "Action 2 Low HP" global.last_action_selected = "Nothing" global.last_action_selected_3 = "Nothing" } else if (global.enemy_mode == 0) { message[0] = "* You accuse Sousborg of# undercooking his food." global.last_action_selected_2 = "Action 2 Message 0" global.last_action_selected = "Nothing" global.last_action_selected_3 = "Nothing" } else if (global.enemy_mode == 1) { message[0] = "* You tell Sousborg to heat the# stove until the egg begins to# sizzle." global.last_action_selected_2 = "Action 2 Message 1" global.last_action_selected = "Nothing" global.last_action_selected_3 = "Nothing" } else if (global.enemy_mode == 2) { message[0] = "* You tell Sousborg to pet the# egg. He does. This accomplished# nothing." global.last_action_selected_2 = "Action 2 Message 2" global.last_action_selected = "Nothing" global.last_action_selected_3 = "Nothing" } }
() //gml_Script_scr_dialogue_battle_action_selected_action_2_sousborg
2
{
3
    if (global.enemy_low_hp == true)
4
    {
5
        message[0] = "* You wash Sousborg's oil off of#  your hands."
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 if (global.enemy_mode == 0)
11
    {
12
        message[0] = "* You accuse Sousborg of#  undercooking his food."
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
    else if (global.enemy_mode == 1)
18
    {
19
        message[0] = "* You tell Sousborg to heat the#  stove until the egg begins to#  sizzle."
20
        global.last_action_selected_2 = "Action 2 Message 1"
21
        global.last_action_selected = "Nothing"
22
        global.last_action_selected_3 = "Nothing"
23
    }
24
    else if (global.enemy_mode == 2)
25
    {
26
        message[0] = "* You tell Sousborg to pet the#  egg. He does. This accomplished#  nothing."
27
        global.last_action_selected_2 = "Action 2 Message 2"
28
        global.last_action_selected = "Nothing"
29
        global.last_action_selected_3 = "Nothing"
30
    }
31
}