You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

27 lines
890 B

if flipx
image_xscale = facing
else
image_xscale = 1
if (frozen > 0)
myspr = frozenspr
else
myspr = sprite_index
if (flashing == 0)
{
draw_sprite_ext(myspr, -1, x, y, image_xscale, image_yscale, image_angle, make_color_rgb(250, 90, 220), image_alpha)
if (frozen > 0 && frozen < (freezetime * 0.2))
{
draw_set_blend_mode(bm_add)
draw_sprite_ext(myspr, -1, x, y, image_xscale, image_yscale, image_angle, make_color_rgb(250, 90, 220), (1 - (fxtimer * 0.25)))
draw_set_blend_mode(bm_normal)
}
}
if flashing
{
draw_sprite_ext(myspr, -1, x, y, image_xscale, image_yscale, image_angle, make_color_rgb(80, 80, 80), 1)
draw_set_blend_mode(bm_add)
repeat (3)
draw_sprite_ext(myspr, -1, x, y, image_xscale, image_yscale, image_angle, make_color_rgb(250, 90, 220), (1 - (fxtimer * 0.25)))
draw_set_blend_mode(bm_normal)
}