Undertale Yellow script viewer

← back to main script listing

gml_GlobalScript_scr_dialogue_battle_action_selected_action_3_crispy_scroll_a

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

function scr_dialogue_battle_action_selected_action_3_crispy_scroll_a() //gml_Script_scr_dialogue_battle_action_selected_action_3_crispy_scroll_a { var action_3_selected_count = global.action_3_selected_count if (global.enemy_low_hp == true) { message[0] = "* You mock Crispy's interests.#* He seems very offended." global.last_action_selected = "Action 3 Low HP" global.last_action_selected_2 = "Nothing" global.last_action_selected_3 = "Nothing" } else { random_number = irandom_range(0, 1) if (random_number == 0) message[0] = "* You give Crispy Scroll a# judgmental look.#* He seems offended." else if (random_number == 1) message[0] = "* You give Crispy Scroll a# judgmental look.#* He seems offended." global.last_action_selected = "Action 3 Message 0" global.last_action_selected_2 = "Nothing" global.last_action_selected_3 = "Nothing" } }
() //gml_Script_scr_dialogue_battle_action_selected_action_3_crispy_scroll_a
2
{
3
    var action_3_selected_count = global.action_3_selected_count
4
    if (global.enemy_low_hp == true)
5
    {
6
        message[0] = "* You mock Crispy's interests.#* He seems very offended."
7
        global.last_action_selected = "Action 3 Low HP"
8
        global.last_action_selected_2 = "Nothing"
9
        global.last_action_selected_3 = "Nothing"
10
    }
11
    else
12
    {
13
        random_number = irandom_range(0, 1)
14
        if (random_number == 0)
15
            message[0] = "* You give Crispy Scroll a#  judgmental look.#* He seems offended."
16
        else if (random_number == 1)
17
            message[0] = "* You give Crispy Scroll a#  judgmental look.#* He seems offended."
18
        global.last_action_selected = "Action 3 Message 0"
19
        global.last_action_selected_2 = "Nothing"
20
        global.last_action_selected_3 = "Nothing"
21
    }
22
}