event_inherited(); if (i_ex(obj_heart)) { x_offset = obj_heart.x_offset; if (obj_heart.dash_h > 0 && image_blend == c_aqua) active = false; else active = true; if (obj_heart.dash_stop > 0) { x = xx; hspeed = 0; } else { hspeed = sp; xx = x; } } if ((x + x_offset) < 120) image_alpha *= 0.8; if (obj_heart.dash_h > 4 && collision_line(x - 10, y, x + 30, y, obj_heart, 0, 0)) { if (image_blend == c_aqua) event_user(1); else event_user(5); }