Deltarune (Chapter 4) script viewer

← back to main script listing

gml_Object_obj_gh_fireball_linear_Draw_0

(view raw script w/o annotations or w/e)
1
if (deform)
2
    scaler = (-cos(timer * 2) / 4) * (1 - (2 * type));
3
draw_sprite_ext(sprite_index, image_index, x, y, image_xscale - scaler, image_yscale + scaler, image_angle, c_white, image_alpha);
4
if (draw_iris)
5
    draw_sprite_ext(spr_ghosthouse_iris, sprite_width > 12, x + round(2 * (x - xprevious)), y + round(2 * (y - yprevious)), 1, 1, 90 * type, c_white, 1);