I think this demonstrates different types of weak enemy AI problems.
Larry using E!Revelation Dance despite Lightning Rod is a complex issue to solve. That specific edge case might be fixable, but there's 900+ moves, 300+ abilities, and lots of weird edge cases. Programming to avoid all of them...