Undertale script viewer

← back to main script listing

gml_Object_obj_shopmouth1_Draw_0

(view raw script w/o annotations or w/e)
1
if (global.faceemotion == 0)
2
    draw_sprite(sprite_index, image_index, x, y);
3
if (global.faceemotion > 0)
4
{
5
    xx = obj_shop1.shx + 20;
6
    yy = 36;
7
    if (global.faceemotion > 6)
8
        global.faceemotion = 6;
9
    draw_sprite(facespr[global.faceemotion], image_index, xx, yy);
10
}