Undertale script viewer

← back to main script listing

gml_Object_obj_papyrus_actor_mad_Step_0

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

depth = 50000 - ((y * 10) + (sprite_height * 10));
(0, 0, 0, 0, 0);
2
if (fun == 0)
3
{
4
    if (instance_exists(obj_face_papyrus))
5
    {
6
        image_index = obj_face_papyrus.image_index;
7
    }
8
    else
9
    {
10
        myinteract = 0;
11
        if (speed == 0)
12
        {
13
            image_index = 0;
14
            image_speed = 0;
15
        }
16
        if (speed > 0)
17
            image_speed = 0.2;
18
    }
19
}