if (i_ex(obj_heart)) x_offset = obj_heart.x_offset; if (act == 0) { if (i_ex(obj_heart)) { xx = obj_heart.x; if (obj_heart.dash_h > 4) y = obj_heart.y; } if ((i_ex(obj_heart) && obj_heart.dash_h < 4) || !i_ex(obj_heart)) act = 1; } else { alpha -= 0.2; if (alpha <= 0) instance_destroy(); } draw_set_alpha(alpha); mix = scr_approach(mix, 1, 0.05); colour = merge_colour(merge_colour(c_yellow, c_red, mix), c_black, 0.5); draw_set_colour(colour); draw_sprite_part_ext(sprite_index, 0, 0, 0, 8, 32, x + x_offset, y, 1, 1, colour, alpha); draw_rectangle(x + 8 + x_offset, y + 2, (xx + x_offset) - 1, y + 17, 0); draw_sprite_part_ext(sprite_index, 0, 10, 0, 8, 32, xx + x_offset, y, 1, 1, colour, alpha); draw_set_alpha(1);