Hello !
I'm looking for a way to disable Escape in Random Encounter.
Thank you for your help !
I'm looking for a way to disable Escape in Random Encounter.
Thank you for your help !
Game_Player.prototype.executeEncounter = function() { if (!$gameMap.isEventRunning() && this._encounterCount <= 0) { this.makeEncounterCount(); var troopId = this.makeEncounterTroopId(); if ($dataTroops[troopId]) { BattleManager.setup(troopId, false, false); BattleManager.onEncounter(); return true; } else { return false; } } else { return false; }};
Original thread: https://forums.rpgmakerweb.com/threads/disable-escape-on-random-encounter.50790/