I don't know where I should post this since I've already resolved the issue so I figure I'd post here.
My current project is using version 1.4.0 of MV and for the first time I used regionID as a condition for encounters (I rarely use them). Curiously there was a crash when I tested, but the error wasn't coming from one of my numerous plugins, but rather from the default object plugin. It wasn't recognizing the regionID() function in the Game_Player object. Sure I fixed it, but it seems curious to me that an obvious bug like this would be in the default plugin. Here's the default function:
Now I don't know if it's only in my project, but there's is no regionId() function in Game_Player. Anyone else got that issue?
My current project is using version 1.4.0 of MV and for the first time I used regionID as a condition for encounters (I rarely use them). Curiously there was a crash when I tested, but the error wasn't coming from one of my numerous plugins, but rather from the default object plugin. It wasn't recognizing the regionID() function in the Game_Player object. Sure I fixed it, but it seems curious to me that an obvious bug like this would be in the default plugin. Here's the default function:
Code:
Game_Player.prototype.meetsEncounterConditions = function(encounter) {
return (encounter.regionSet.length === 0 ||
encounter.regionSet.contains(this.regionId()));
};
Now I don't know if it's only in my project, but there's is no regionId() function in Game_Player. Anyone else got that issue?