Undertale script viewer

← back to main script listing

gml_Object_obj_mettaton_dress2_Draw_0

(view raw script w/o annotations or w/e)
1
draw_sprite(sprite_index, 0, x, y);
2
animimg += 0.25;
3
depth = 50000 - (y * 10);
4
if (arm == 0)
5
    draw_sprite(spr_metthand_clasped, animimg, (x - 19) + xoff, (y - 26) + yoff);
6
if (arm == 1)
7
    draw_sprite(spr_metthand_broad, animimg, (x - 19) + xoff, (y - 26 - 8) + yoff);
8
if (arm == 2)
9
    draw_sprite(spr_metthand_tragedy, animimg, (x - 19 - 10) + xoff, (y - 26 - 10) + yoff);
10
if (arm == 3)
11
    draw_sprite(spr_metthand_cry, animimg, (x - 19) + xoff, (y - 26 - 10) + yoff);
12
if (arm == 4)
13
    draw_sprite(spr_metthand_facescratch, animimg, (x - 19 - 5) + xoff, (y - 26 - 9) + yoff);
14
if (arm == 5)
15
    draw_sprite(spr_metthand_shrug, animimg, (x - 19 - 18) + xoff, (y - 26 - 5) + yoff);
16
if (arm == 6)
17
    draw_sprite(spr_metthand_nailfile, animimg, (x - 19 - 1) + xoff, (y - 26) + 4 + yoff);
18
if (arm == 7)
19
    draw_sprite(spr_metthand_nailfile2, animimg, (x - 19 - 1) + xoff, (y - 26) + 1 + yoff);
20
if (arm == 8)
21
    draw_sprite(spr_metthand_up, animimg, (x - 19 - 14) + xoff, (y - 26 - 11) + yoff);
22
if (arm == 9)
23
    draw_sprite(spr_metthand_headpat, animimg, (x - 19 - 17) + xoff, (y - 26 - 7) + yoff);
24
if (arm == 10)
25
    draw_sprite(spr_metthand_assrummage, animimg, (x - 19 - 14) + xoff, (y - 26 - 8) + yoff);
26
if (arm == 11)
27
    draw_sprite(spr_metthand_telething, animimg, (x - 19 - 14) + xoff, (y - 26 - 11) + yoff);
28
if (arm == 12)
29
    draw_sprite(spr_metthand_telepoke, 2, (x - 19 - 14) + xoff, (y - 26 - 11) + yoff);