Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_quote_battle_martlet_genocide_final_2_intro_Step_0

(view raw script w/o annotations or w/e)
1
script_execute(scr_controls_text);
2
if (instance_exists(obj_quote_bubble_battle))
3
{
4
    if (draw_enabled == false)
5
        obj_quote_bubble_battle.visible = 0;
6
    else
7
        obj_quote_bubble_battle.visible = 1;
8
}
9
script_execute(scr_cutscene_battle_martlet_final_2_intro);
10
if (draw_enabled == false)
11
    exit;
12
if (key_revert_pressed)
13
{
14
    characters = message_length;
15
    message_draw = string_copy(message[message_current], 0, characters);
16
}
17
if (characters < message_length)
18
{
19
    if (counter == 0)
20
    {
21
        script_execute(scr_text_increase);
22
        script_execute(scr_talking_martlet);
23
    }
24
    else
25
    {
26
        can_talk = false;
27
    }
28
}
29
else
30
{
31
    can_talk = false;
32
    if (key_select_pressed && skippable == true)
33
    {
34
        if (message_current < message_end)
35
        {
36
            message_adv = true;
37
        }
38
        else
39
        {
40
            with (obj_heart_battle_fighting_parent)
41
                moveable = true;
42
            with (obj_quote_bubble_battle)
43
                instance_destroy();
44
            instance_destroy();
45
        }
46
    }
47
}
48
if (message_adv == true)
49
{
50
    message_current += 1;
51
    message_length = string_length(message[message_current]);
52
    characters = 0;
53
    message_draw = "";
54
    draw_enabled = true;
55
    message_adv = false;
56
}
57
script_execute(scr_text_counter);