Ah I found the error. Does the pop up error displays target not defined?
I fixed it now. Thanks for spotting it out.
I'll patch it out on the next update. The bug is happened when the enemy has "Bite" move.