if (!other.hurt && !other.targetmode && !other.invincible && other.sprite_index != spr_kris_plat_slash_ground && other.sprite_index != spr_kris_plat_slash_air) { snd_play(snd_punchmed); with (other) { do_kb = true; hurt_type = 1; var hk = (6 * sign(x - other.x)) + (0.9 * other.hspeed); var vk = min(-4, -4 + (other.vspeed * 0.9)); get_hurt(20, hk, vk, other.damage); do_hitstop(4); with (scr_plat_vfx(7342)) { image_xscale = choose(1, -1); image_yscale = choose(1, -1); image_angle = choose(0, 90, 180, 270); } } }