Undertale script viewer

← back to main script listing

gml_Object_obj_dogmissle_Draw_0

(view raw script w/o annotations or w/e)
1
if (x < -10)
2
    instance_destroy();
3
if (anchor == 1)
4
{
5
    x = obj_amalgam_laserdog.x + 34;
6
    y = obj_amalgam_laserdog.y + 16;
7
    off -= 2;
8
    draw_sprite_part_ext(sprite_index, 0, 0, 0, 0 - off, sprite_height, x + (off * 2), y, 2, 2, c_white, 1);
9
}
10
if (anchor == 0)
11
    draw_sprite_ext(sprite_index, image_index, x, y, 2, 2, 0, c_white, 1);