Is there a way so that the random encounters on a map are only active after a switch is ON? Or more generally any script or plugin that would achieve that?
I also have Visustella.
I also have Visustella.
(function() {
const alias = Game_Player.prototype.canEncounter
Game_Player.prototype.canEncounter = function() {
return $gameSwitches.value(42) && alias.call(this);
})()
Okay that's far easier than my approach 😀
Original thread: https://forums.rpgmakerweb.com/threads/random-encounters-only-active-after-a-switch-is-on.151642/