Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_darkruins_01_special_waiter_Step_0

(view raw script w/o annotations or w/e)
1
if (scr_timer
scr_timer

function scr_timer() { if (timer > 0) { timer--; return false; } else { return true; } }
())
2
{
3
    scr_cutscene_start
scr_cutscene_start

function scr_cutscene_start() { global.cutscene = true; obj_pl.state = scr_frozen_state; obj_pl.image_index = 0; obj_pl.image_speed = 0; }
();
4
    scr_text
scr_text

function scr_text() { if (!instance_exists(obj_dialogue)) msg = instance_create(x, y, obj_dialogue); }
();
5
    with (msg)
6
    {
7
        sndfnt = 97;
8
        message[0] = "* Hello?";
9
        message[1] = "* Are you still present,#  little one?";
10
        message[2] = "* I am going to rescue#  you! Come!";
11
        prt[0] = 343;
12
        prt[1] = 340;
13
        prt[2] = 343;
14
    }
15
    if (!global.dialogue_open)
16
    {
17
        instance_create(160, 145, obj_darkruins_01_rope);
18
        instance_destroy();
19
    }
20
}
21
if (global.flag[23 Rescue Ending rope status] == 0 && instance_exists(obj_transition))
22
{
23
    if (obj_transition.newRoom != 14)
24
        exit;
25
    global.flag[23 Rescue Ending rope status] = 2;
26
    instance_destroy();
27
}