Undertale script viewer

← back to main script listing

gml_Object_obj_mandog_actor_Step_0

(view raw script w/o annotations or w/e)
1
if (path_speed || speed > 0)
2
{
3
    image_speed = 0.2;
4
}
5
else
6
{
7
    image_index = 0;
8
    image_speed = 0;
9
}
10
scr_depth
scr_depth

depth = 50000 - ((y * 10) + (sprite_height * 10));
();