Deltarune (Chapter 3) script viewer

← back to main script listing

gml_Object_obj_fake_gt_Draw_0

(view raw script w/o annotations or w/e)
1
var _xoff = xoffset;
2
var _yoff = yoffset;
3
with (obj_growtangle)
4
{
5
    draw_sprite_ext(sprite_index, 1, x + _xoff, y + _yoff, image_xscale, image_yscale, image_angle, image_blend, image_alpha);
6
    if (customBox && growth && growcon != 2)
7
        draw_sprite_ext(spr_custom_box, 0, x + _xoff, y + _yoff, image_xscale / (maxxscale / 2), image_yscale / (maxyscale / 2), image_angle, image_blend, image_alpha);
8
    else
9
        draw_self_offset(_xoff, _yoff);
10
}