Undertale script viewer

← back to main script listing

gml_Object_obj_highspider_Draw_0

(view raw script w/o annotations or w/e)
1
draw_sprite(sprite_index, image_index, x, y);
2
draw_set_color(c_black);
3
draw_line(x + 4, y - 1, x + 4, -2);
4
draw_set_color(c_white);
5
draw_line(x + 5, y - 1, x + 5, -2);
6
draw_set_color(c_black);
7
draw_line(x + 6, y - 1, x + 6, -2);
8
if (obj_mainchara.x > (x - 50) && global.interact == 0)
9
{
10
    vspeed = -3;
11
    image_speed = 0.25;
12
}
13
if (y < -30)
14
    instance_destroy();