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(argument0, argument1) //gml_Script_cutscene_npc_direction
2
{
3
    if instance_exists(argument0)
4
    {
5
        with (argument0)
6
        {
7
            npc_direction = argument1
8
            with (other)
9
                cutscene_advance()
10
            return true;
11
        }
12
    }
13
    return false;
14
}