Window_NewMapName.prototype.initialize = function () {
var wight = this.windowWidth();
var height = this.windowHeight();
var x = this.windowX();
var y = this.windowY();
Window_Base.prototype.initialize.call(this, x, y, wight, height);
this.opacity = 0;
this.contentsOpacity = 0;
this._showCount = 0;
this.refresh();
};
Window_NewMapName.prototype.windowX = function () {
var width = this.windowWidth();
x = (816 - width) / 2
return x;
}
Window_NewMapName.prototype.windowY = function () {
var height = this.windowHeight();
y = (624 - height) / 2
return y;
}
Window_NewMapName.prototype.windowWidth = function () {
return 360;
};
Window_NewMapName.prototype.windowHeight = function () {
return this.fittingHeight(1);
};