Undertale script viewer

← back to main script listing

gml_Object_obj_sans_friendscene_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, image_angle, image_blend, image_alpha);
2
if (shock == 0)
3
    draw_sprite_ext(spr_sans_bface, face, x + 24, y - 46, image_xscale, image_yscale, image_angle, image_blend, image_alpha);
4
if (shock == 1)
5
    draw_sprite_ext(spr_sanswrapface, 0, x + 24, y - 46, image_xscale, image_yscale, image_angle, image_blend, image_alpha);