if (destroyable == 1) { if (other.big == 0) { with (other) event_user(0); } anim = instance_create(x, y, obj_yshot_anim); anim.image_xscale = image_xscale; anim.image_yscale = image_yscale; with (anim) sprite_index = spr_yheart_shot_hit3; if (sprite_index != spr_sneo_electric_orb_destroy) { sprite_index = spr_sneo_electric_orb_destroy; image_index = 0; alarm[0] = 99; image_speed = 0.5; } } else if (destroyable == -1) { with (other) event_user(0); }