Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_martlet_fly_in_cart_Step_0

(view raw script w/o annotations or w/e)
1
y += 3;
2
if (y >= (obj_pl.y - 20))
3
{
4
    with (instance_create(x, y - 15, obj_martlet_follower))
5
    {
6
        npc_reset = true;
7
        direction = 180;
8
    }
9
    instance_destroy();
10
    global.cutscene = false;
11
    scr_text
scr_text

function scr_text() { if (!instance_exists(obj_dialogue)) msg = instance_create(x, y, obj_dialogue); }
();
12
    with (msg)
13
    {
14
        message[0] = "* Heyo!";
15
        prt[0] = 312;
16
    }
17
}