Here's a weird bug with the AI that is... well, the video explains it better. The event starts about the 38 second mark.

Crab attacks wall and loses.