Undertale Yellow script viewer

← back to main script listing

gml_GlobalScript_scr_dialogue_battle_action_selected_action_1_crispy_scroll_a

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

function scr_dialogue_battle_action_selected_action_1_crispy_scroll_a() //gml_Script_scr_dialogue_battle_action_selected_action_1_crispy_scroll_a { var action_1_selected_count = global.action_1_selected_count if (global.enemy_low_hp == true) { message[0] = "* You haphazardly jump around# while waving your arms." global.last_action_selected = "Action 1 Low HP" global.last_action_selected_2 = "Nothing" global.last_action_selected_3 = "Nothing" } else if (action_1_selected_count >= 2) { message[0] = "* Crispy Scroll can't handle the# excitement and rolls away in a# daze." global.last_action_selected = "Action 1 Message 0" global.last_action_selected_2 = "Nothing" global.last_action_selected_3 = "Nothing" } else { message[0] = "* You and Crispy Scroll perform a# magical transformation sequence." global.last_action_selected = "Action 1 Message 0" global.last_action_selected_2 = "Nothing" global.last_action_selected_3 = "Nothing" } }
() //gml_Script_scr_dialogue_battle_action_selected_action_1_crispy_scroll_a
2
{
3
    var action_1_selected_count = global.action_1_selected_count
4
    if (global.enemy_low_hp == true)
5
    {
6
        message[0] = "* You haphazardly jump around#  while waving your arms."
7
        global.last_action_selected = "Action 1 Low HP"
8
        global.last_action_selected_2 = "Nothing"
9
        global.last_action_selected_3 = "Nothing"
10
    }
11
    else if (action_1_selected_count >= 2)
12
    {
13
        message[0] = "* Crispy Scroll can't handle the#  excitement and rolls away in a#  daze."
14
        global.last_action_selected = "Action 1 Message 0"
15
        global.last_action_selected_2 = "Nothing"
16
        global.last_action_selected_3 = "Nothing"
17
    }
18
    else
19
    {
20
        message[0] = "* You and Crispy Scroll perform a#  magical transformation sequence."
21
        global.last_action_selected = "Action 1 Message 0"
22
        global.last_action_selected_2 = "Nothing"
23
        global.last_action_selected_3 = "Nothing"
24
    }
25
}