I'm trying to make a plugin to make the help window larger. Here's the relevant function in rpg_windows.js:
The number at the end of the third line controls the window size. If I change it in rpg_windows, it works. But if I copy and overwrite the function with a plugin instead the new number is ignored and the text window is the standard size.
Anybody know what I'm doing wrong? I'd like to avoid changing the base .js files if I can.
Code:
Window_Help.prototype.initialize = function(numLines) {
var width = Graphics.boxWidth;
var height = this.fittingHeight(numLines || 2);
Window_Base.prototype.initialize.call(this, 0, 0, width, height);
this._text = '';
};
The number at the end of the third line controls the window size. If I change it in rpg_windows, it works. But if I copy and overwrite the function with a plugin instead the new number is ignored and the text window is the standard size.
Anybody know what I'm doing wrong? I'd like to avoid changing the base .js files if I can.