Fine game. Here's a complete walkthrough:
But please, next time consider engine limitations and DO NOT make such tight rooms on chasing events. Character moving is limited by the grid in such engines, so it cannot turn left or right before it completely moves on the other tile segment. i.e. is a nightmare to control. Enemies can hit you not only in a straight line but also in a diagonal (like king in chess). At least 3 tiles should be empty for a retreat move to make a turn.
And the code in the last chase is COMPLETELY unreadable. I only made it with the help of this page's comments... But it also contained an error. So, it's not 3214 as someone wrote, but 3124!