Unfortunately, the (not exactly cheap) scripts are obfuscated - which is REALLY annoying, especially when hunting down a bug or make some adjustments for a better fit to an individual game. Furthermore, it isn't a real protection against "thieves". So, I noticed, that this script unfortunately has a bug regarding the turn order after a hidden enemy reappears. As far as I can track it down in this !annoying! scrambled mess, the function BattleManager.otbInsertActionOrderAtEnd requires three arguments. However, when called by BattleManager.otbAddBattler only two arguments are used, which makes this call useless because the while loop in the other function isn't executed.
itch.io is an open marketplace for independent game creators. It's completely free to upload your content. Read more about what we're trying to accomplish and the features we provide.