Deltarune (Chapter 3) script viewer

← back to main script listing

gml_Object_obj_knight_pointing_star_Other_10

(view raw script w/o annotations or w/e)
1
var _xscale = (sprite_width + 16) / sprite_get_width(sprite_index);
2
var _yscale = (sprite_height + 16) / sprite_get_height(sprite_index);
3
draw_sprite_ext(sprite_index, 0, screenx(), screeny(), _xscale, _yscale, 0, c_white, 1);