if (destroyable == 0 && other.big == 1) { if ((other.y < y && instance_place(x, y - 40, obj_sneo_wallbullet_new) && instance_nearest(x, y - 40, obj_sneo_wallbullet_new).sprite_index == spr_sneo_mail) || (other.y > y && instance_place(x, y + 40, obj_sneo_wallbullet_new) && instance_nearest(x, y + 40, obj_sneo_wallbullet_new).sprite_index == spr_sneo_mail)) { } else if (abs(other.y - y) > 12) { exit; } } hitshot = other; event_user(0); if (destroyable == 1 && active == 1) { if (hitshot.big == 0) { with (hitshot) event_user(0); } snd_volume(snd_bomb, 0.7, 0); snd_play_x(snd_bomb, 0.7, 1.1 + random(0.2)); var _cut = scr_afterimage_cut(); _cut.flash = true; 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; instance_destroy(); }