Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_pulley_elevator_top_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, 0, sprite_width, y_offset, (obj_pulley_elevator.x - x_offset), (obj_pulley_elevator.y - y_offset))