Fixed Guard-AI enemies could not escape when captured an ally unit

Fixed an issue where an enemy with Guard-AI could not escape with 0 mobility when captured an ally unit.

Summary

Since a previous version, “Guard AI Display” has been added to prevent enemies with non-moving AI from displaying their movement range. (Guard AI Display is developed by Zane Avernathy.)

I found a small problem with this process: if an enemy with Guard-AI captures an ally unit, it will have 0 mobility and will not be able to escape. In most cases, this is not a problem because Guard-AI enemies do not capture, but it becomes apparent, for example, with the enemy on Halvan’s house in Chapter 1.

Fixes

The Escape-AI on capturing works by flagged $10 on $0EAF, so I exclude it by determining that bit.

Screenshots before fix

After fix