Undertale Yellow script viewer

← back to main script listing

gml_GlobalScript_scr_dialogue_battle_action_selected_action_3_frostermit_a

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

function scr_dialogue_battle_action_selected_action_3_frostermit_a() //gml_Script_scr_dialogue_battle_action_selected_action_3_frostermit_a { var action_3_selected_count = global.action_3_selected_count var enemy_mode = global.enemy_mode if (enemy_mode == 0) { if (global.enemy_low_hp == true) { message[0] = "* You marvel at how it hasn't# crumbled." global.last_action_selected = "Action 3 Low HP" global.last_action_selected_2 = "Nothing" global.last_action_selected_3 = "Nothing" } else { message[0] = "* You comment on the igloo's fine# craftsmanship.#* It's an igloo." global.last_action_selected = "Action 3 Message 0" global.last_action_selected_2 = "Nothing" global.last_action_selected_3 = "Nothing" } } else if (enemy_mode == 1) { if (global.enemy_low_hp == true) { message[0] = "* You commend Frostermit's sharp# skill." global.last_action_selected = "Action 3 Low HP" global.last_action_selected_2 = "Nothing" global.last_action_selected_3 = "Nothing" } else { message[0] = "* You compliment Frostermit's# hiding skills." 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_frostermit_a
2
{
3
    var action_3_selected_count = global.action_3_selected_count
4
    var enemy_mode = global.enemy_mode
5
    if (enemy_mode == 0)
6
    {
7
        if (global.enemy_low_hp == true)
8
        {
9
            message[0] = "* You marvel at how it hasn't#  crumbled."
10
            global.last_action_selected = "Action 3 Low HP"
11
            global.last_action_selected_2 = "Nothing"
12
            global.last_action_selected_3 = "Nothing"
13
        }
14
        else
15
        {
16
            message[0] = "* You comment on the igloo's fine#  craftsmanship.#* It's an igloo."
17
            global.last_action_selected = "Action 3 Message 0"
18
            global.last_action_selected_2 = "Nothing"
19
            global.last_action_selected_3 = "Nothing"
20
        }
21
    }
22
    else if (enemy_mode == 1)
23
    {
24
        if (global.enemy_low_hp == true)
25
        {
26
            message[0] = "* You commend Frostermit's sharp#  skill."
27
            global.last_action_selected = "Action 3 Low HP"
28
            global.last_action_selected_2 = "Nothing"
29
            global.last_action_selected_3 = "Nothing"
30
        }
31
        else
32
        {
33
            message[0] = "* You compliment Frostermit's#  hiding skills."
34
            global.last_action_selected = "Action 3 Message 0"
35
            global.last_action_selected_2 = "Nothing"
36
            global.last_action_selected_3 = "Nothing"
37
        }
38
    }
39
}