Undertale script viewer

← back to main script listing

gml_Object_obj_fakefalls_Draw_0

(view raw script w/o annotations or w/e)
1
maxy = bbox_bottom - obj_mainchara.y;
2
if (col == 0)
3
    draw_sprite(sprite_index, image_index, x, y);
4
if (col == 1)
5
    draw_sprite(sprite_index, image_index, x, y - 16);
6
if (col == 2)
7
    draw_sprite(sprite_index, image_index, x, y - 25);
8
if (col > 2)
9
    draw_sprite(sprite_index, image_index, x, y - 30);