Undertale Yellow script viewer

← back to main script listing

gml_GlobalScript_scr_dialogue_battle_action_selected_action_3_goosic_b

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

function scr_dialogue_battle_action_selected_action_3_goosic_b() //gml_Script_scr_dialogue_battle_action_selected_action_3_goosic_b { var action_3_selected_count = global.action_3_selected_count_2 if (global.enemy_low_hp == true) { message[0] = "* You try to move Goosic's needle# but it shocks you." global.last_action_selected_2 = "Action 3 Low HP" global.last_action_selected = "Nothing" global.last_action_selected_3 = "Nothing" } else if (global.action_3_selected_count >= 1) { message[0] = "* Goosic seems to be calming# down. Shouldn't change the song# now." global.last_action_selected_2 = "Action 3 Message 1" global.last_action_selected = "Nothing" global.last_action_selected_3 = "Nothing" } else { message[0] = "* You move Goosic's needle to a# new, calmer record." global.last_action_selected_2 = "Action 3 Message 0" global.last_action_selected = "Nothing" global.last_action_selected_3 = "Nothing" } }
() //gml_Script_scr_dialogue_battle_action_selected_action_3_goosic_b
2
{
3
    var action_3_selected_count = global.action_3_selected_count_2
4
    if (global.enemy_low_hp == true)
5
    {
6
        message[0] = "* You try to move Goosic's needle#  but it shocks you."
7
        global.last_action_selected_2 = "Action 3 Low HP"
8
        global.last_action_selected = "Nothing"
9
        global.last_action_selected_3 = "Nothing"
10
    }
11
    else if (global.action_3_selected_count >= 1)
12
    {
13
        message[0] = "* Goosic seems to be calming#  down. Shouldn't change the song#  now."
14
        global.last_action_selected_2 = "Action 3 Message 1"
15
        global.last_action_selected = "Nothing"
16
        global.last_action_selected_3 = "Nothing"
17
    }
18
    else
19
    {
20
        message[0] = "* You move Goosic's needle to a#  new, calmer record."
21
        global.last_action_selected_2 = "Action 3 Message 0"
22
        global.last_action_selected = "Nothing"
23
        global.last_action_selected_3 = "Nothing"
24
    }
25
}