Undertale script viewer

← back to main script listing

gml_Object_obj_woshbody_Draw_0

(view raw script w/o annotations or w/e)
1
anim += 0.2;
2
draw_sprite_ext(spr_woshhanger, image_index, x, y, 2, 2, 0, c_white, 1);
3
draw_sprite_ext(spr_woshduck, image_index, x + 46, y + ducky, 2, 2, 0, c_white, 1);
4
draw_sprite_part_ext(spr_woshwater, 0, 0, 0, 16, 28, (40 + x) - (sin(anim / 2) * 4), wy, 2, 2, c_white, 1);
5
draw_sprite_part_ext(spr_woshwater, 0, 0, 0, 16, 28, 40 + x + (sin(anim / 2) * 4), wy, 2, 2, c_white, 1);
6
draw_sprite_ext(sprite_index, image_index, x, y, 2, 2, 0, c_white, 1);
7
draw_sprite_ext(spr_woshtail, anim, x + 88, y + 50, 2, 2, 0, c_white, 1);
8
draw_sprite_ext(spr_woshhead, image_index, x, y + hy, 2, 2, 0, c_white, 1);
9
if (bull == 0)
10
    draw_sprite_ext(spr_woshface, image_index, x, y + hy + fy, 2, 2, 0, c_white, 1);
11
if (bull == 1)
12
    draw_sprite_ext(spr_woshface_bull, image_index, x, y + hy + fy, 2, 2, 0, c_white, 1);