Deltarune (Chapter 2) script viewer

← back to main script listing

gml_Object_obj_zapaura_zap_Draw_0

(view raw script w/o annotations or w/e)
1
if (!i_ex(actor))
2
    instance_destroy();
3
if (i_ex(actor))
4
{
5
    x = actor.x;
6
    y = actor.y;
7
}
8
gpu_set_texfilter(true);
9
draw_sprite_ext(spr_aura_zap, image_index, x, y, dis / 300, image_yscale, dir, image_blend, random(1));
10
gpu_set_blendmode(bm_add);
11
draw_sprite_ext(spr_aura_zap, image_index * 2, x, y, dis / 300, image_yscale * 2, dir, tint, random(1));
12
gpu_set_texfilter(false);
13
gpu_set_blendmode(bm_normal);