Undertale script viewer

← back to main script listing

gml_Object_obj_napstablook_actor_Draw_0

(view raw script w/o annotations or w/e)
1
draw_sprite_ext(sprite_index, image_index, x, y, image_xscale, image_yscale, 0, c_white, image_alpha);
2
if (fun == 0)
3
    script_execute(scr_npcdir, 2);
4
scr_depth
scr_depth

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