1 | draw_self(); |
2 | draw_set_blend_mode(bm_add); |
3 | if (timer >= (shotSpeed - 10) && active) |
4 | flashamt = lerp(flashamt, (timer - (shotSpeed - 10)) / 10, 0.5); |
5 | else |
6 | flashamt = lerp(flashamt, 0, 0.4); |
7 | for (var i = 0; i < 5; i++) |
8 | draw_sprite_ext(sprite_index, image_index, x, y, image_xscale, image_yscale, 0, c_white, flashamt); |
9 | draw_set_blend_mode(bm_normal); |