This happens because event positions do not save.
No, no. That's not what I meant (sorry for my broken english). I'm not talking about moving to a new map and then going back. I'm talking about the stuff that happens when you load a different "game version". Try it yourself. ONLY when you make changes in the editor, this "game version" updates and the next time you use the "old" save file, events in map reset. If you save/load the same version, events remain in the same position even if they moved.
Hmm... looking through the code I found these methods:
Scene_Load.prototype.onLoadSuccess = function() {
SoundManager.playLoad();
this.fadeOutAll();
this.reloadMapIfUpdated();
SceneManager.goto(Scene_Map);
this._loadSuccess = true;
};
Scene_Load.prototype.reloadMapIfUpdated = function() {
if ($gameSystem.versionId() !== $dataSystem.versionId) {
$gamePlayer.reserveTransfer($gameMap.mapId(), $gamePlayer.x, $gamePlayer.y);
$gamePlayer.requestMapReload();
}
};
Imma tinker around with those next, try to disable them and hopefully not break anything along the way. If anything has a cleaner method, that'd save me some troubles
😛
Basically what I want is: refresh events content, but keep event old position >.< Not sure if entirely possible or recommended but unless I disable this function, my game will become unplayable for old players each time I update something in the game.