Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_pulley_elevator_Draw_0

(view raw script w/o annotations or w/e)
1
var x_offset = sprite_get_xoffset(sprite_index)
2
var y_offset = sprite_get_yoffset(sprite_index)
3
draw_sprite_part(sprite_index, 0, 0, (y_offset + 1), sprite_width, sprite_height, (x - x_offset), y)