Just found the bug and patched it out in a new build, you were just a couple rooms from seeing the ending. It's weird though, I didn't encounter that bug nor did others for the 2 years this was out. Anyways, just transfer your save to this new version. If you don't know how to transfer save files of RPGMaker games then just reply here and I'll tell ya.
Anyways, good day! And have fun with the remainder of the game.