Undertale Yellow script viewer

← back to main script listing

gml_GlobalScript_scr_dialogue_battle_action_selected_action_1_axis

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

function scr_dialogue_battle_action_selected_action_1_axis() //gml_Script_scr_dialogue_battle_action_selected_action_1_axis { if (!global.action_1_important) { message[0] = "* You ready your trusty shield# for whatever awaits." global.last_action_selected = "Action 1 Message 0" } else if (global.route != 2) { var current_turn = global.action_1_selected_count switch current_turn { case 0: message[0] = "* (You commend Axis' vigilance.)" break case 1: message[0] = "* (You tell Axis his steel frame# is unwavering.)" break case 2: default: message[0] = "* (You tell Axis his energy# magic is the most impressive# you've seen.)" break } global.last_action_selected = "Action 1 Message 1" } else { message[0] = "* (You ask Ceroba to present# your metallic creation.)" 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_axis
2
{
3
    if (!global.action_1_important)
4
    {
5
        message[0] = "* You ready your trusty shield#  for whatever awaits."
6
        global.last_action_selected = "Action 1 Message 0"
7
    }
8
    else if (global.route != 2)
9
    {
10
        var current_turn = global.action_1_selected_count
11
        switch current_turn
12
        {
13
            case 0:
14
                message[0] = "* (You commend Axis' vigilance.)"
15
                break
16
            case 1:
17
                message[0] = "* (You tell Axis his steel frame#  is unwavering.)"
18
                break
19
            case 2:
20
            default:
21
                message[0] = "* (You tell Axis his energy#  magic is the most impressive#  you've seen.)"
22
                break
23
        }
24
25
        global.last_action_selected = "Action 1 Message 1"
26
    }
27
    else
28
    {
29
        message[0] = "* (You ask Ceroba to present#  your metallic creation.)"
30
        global.last_action_selected = "Action 1 Message 1"
31
    }
32
    global.last_action_selected_2 = "Nothing"
33
    global.last_action_selected_3 = "Nothing"
34
}