I put this into the 'Harm Character' part of an enemy's settings:
if percent chance = 50
{enemy sprite = 158}
else
{enemy sprite = 157}
delay = 5
enemy sprite = 156
It works OK except the enemy drops down through the ground tile after the attack. All the sprites have the same hit box values.