Window_Help.prototype.initialize = function(numLines) {
if (SceneManager.isSceneBattle()){
/* This will create a window description the same as in Warcraft 3 */
/* while you are in battle Assuming that game resolution is set to 1280x720 */
var leftPos = 760;
var UpperPos = 188;
var WinXSize = 520;
var WinYSize = 220;
Window_Base.prototype.initialize.call(this, LeftPos, UpperPos, WinXSize, WinYSize);
this._text = '';
}
else
{
/* default window */
var leftPos = 0;
var UpperPos = 0;
var WinXSize = Graphics.boxWidth;
var WinYSize = this.fittingHeight(numLines || 2);
Window_Base.prototype.initialize.call(this, 0, 0, width, height);
this._text = '';
}
};