- May 19, 2017
- 2,455
- 5,331
You may have a better shot asking him than me. I dont think BoN like me very muchSoTN, could you propose BoN to add fix towww/js/plugins/YEP_SaveCore.js
for correct handling of MC's name in save location field?
So it will look like this:JavaScript:Window_SaveInfo.prototype.drawLocation = function(dx, dy, dw) { var id = this._saveContents.map._mapId; if (Yanfly.Param.SaveMapDisplayName) { var text = this._saveContents.map.locationDisplayName || ''; text = text.replace(/\\N\[001\]/gi, this._saveContents.actors._data[1]._name); // <<< add that line if (text.length <= 0 && $dataMapInfos[id]) text = $dataMapInfos[id].name; } else if ($dataMapInfos[id]) { var text = $dataMapInfos[id].name; } else { var text = ''; }
View attachment 1526548
This is good to add but actually is in the game but BoN choose not to add it and it kind of to late or kind of tedious to fix as BoN already has calls to the map room already.
Your code line is easier at this point to implement, just simple copy and paste.
Judging from your code \N[001] or whatever the dev wants can also be use in the first house also, so it can also be updated to saying the MC name. Smart idea
Last edited: