As posted on other thread, I solve this IMC by the rule that when you move diagonally, you are counted as moving through an adjactent square. For example:
@A
BX
Our hero, @, wishes to move to X diagonally, then she has to move through either A or B. If A is a wall, and B is an enemy...