Hi, I'm trying to enable escaping from a battle initiated by an event (not a random encounter) that initially had Escape command disabled. After certain conditions are met, I want to be able to escape from the battle but things like "BattleManager._escapeEnabled = true;" won´t work, my guess is that VisuStella's plugin has overriden most of this functionalities.
MZ VisuMZ Battle Core Escape mid battle when initially disabled
Javascript/Plugin SupportVisuStella's plugin didn't have to override anything. I don't know where you found that, but that code never existed 🤣
The correct code is
BattleManager._canEscape = trueOriginal thread: https://forums.rpgmakerweb.com/threads/visumz-battle-core-escape-mid-battle-when-initially-disabled.171501/