Undertale script viewer

← back to main script listing

gml_Script_scr_npc_anim

(view raw script w/o annotations or w/e)
1
tt = 0;
2
if (myinteract == 3)
3
{
4
    if (instance_exists(OBJ_WRITER))
5
    {
6
        image_speed = 0.2;
7
        if (OBJ_WRITER.halt != 0)
8
            tt = 1;
9
    }
10
    else
11
    {
12
        tt = 1;
13
    }
14
}
15
if (tt == 1)
16
{
17
    image_speed = 0;
18
    image_index = 0;
19
}