Undertale script viewer

← back to main script listing

gml_Object_obj_spearafterimage2_Draw_0

(view raw script w/o annotations or w/e)
1
alpha -= 0.05;
2
if (alpha < 0.13)
3
    instance_destroy();
4
image_angle = angle;
5
image_blend = color;
6
image_xscale = 2;
7
image_yscale = 2;
8
image_alpha = alpha;
9
draw_sprite_ext(sprite_index, image_index, x, y, 2, 2, angle, color, alpha);