Undertale Yellow script viewer

← back to main script listing

gml_GlobalScript_cutscene_npc_direction

(view raw script w/o annotations or w/e)
1
function cutscene_npc_direction(arg0, arg1)
2
{
3
    if (instance_exists(arg0))
4
    {
5
        with (arg0)
6
        {
7
            npc_direction = arg1;
8
            with (other)
9
                cutscene_advance();
10
            return true;
11
        }
12
    }
13
    return false;
14
}