Deltarune (Chapter 4) script viewer

← back to main script listing

gml_Object_obj_oflash_gerson_buster_Draw_0

(view raw script w/o annotations or w/e)
1
if (i_ex(target))
2
    x = (target.x - 20) + (target.hurtindex * 10);
3
siner += flashspeed;
4
d3d_set_fog(true, flashcolor, 0, 1);
5
draw_sprite_ext(sprite_index, image_index, x, y, image_xscale, image_yscale, angle, image_blend, sin(siner / 3));
6
d3d_set_fog(false, c_black, 0, 0);
7
if (siner > 4 && sin(siner / 3) < 0)
8
    instance_destroy();