Undertale Yellow script viewer

← back to main script listing

gml_GlobalScript_scr_dialogue_battle_action_selected_action_1_guardener

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

function scr_dialogue_battle_action_selected_action_1_guardener() //gml_Script_scr_dialogue_battle_action_selected_action_1_guardener { if (global.enemy_mode == 0) { message[0] = "* You wriggle within your# confines. The FIGHT vines# weakened!" global.last_action_selected = "Action 1 Message 0" global.last_action_selected_2 = "Nothing" global.last_action_selected_3 = "Nothing" } else if (global.enemy_mode == 1) { message[0] = "* You pick some flowers and offer# them. Guardener is too# distracted." global.last_action_selected = "Action 1 Message 1" global.last_action_selected_2 = "Nothing" global.last_action_selected_3 = "Nothing" } }
() //gml_Script_scr_dialogue_battle_action_selected_action_1_guardener
2
{
3
    if (global.enemy_mode == 0)
4
    {
5
        message[0] = "* You wriggle within your#  confines. The FIGHT vines#  weakened!"
6
        global.last_action_selected = "Action 1 Message 0"
7
        global.last_action_selected_2 = "Nothing"
8
        global.last_action_selected_3 = "Nothing"
9
    }
10
    else if (global.enemy_mode == 1)
11
    {
12
        message[0] = "* You pick some flowers and offer#  them. Guardener is too#  distracted."
13
        global.last_action_selected = "Action 1 Message 1"
14
        global.last_action_selected_2 = "Nothing"
15
        global.last_action_selected_3 = "Nothing"
16
    }
17
}