Hey all,
I found this tidbit of code from a Google search:
The problem is that it affects EVERY help window in the game and ruins how I've resized a lot of scenes. If I could get this to ONLY work in the battle scene (and the Skill menu while I'm at it), it would be perfect. I tried adding Scene_Battle but that just broke the whole thing.
I found this tidbit of code from a Google search:
JavaScript:
Window_Help.prototype.initialize = function(numLines) {
var width = Graphics.boxWidth;
var height = this.fittingHeight(numLines || 2);
var height = this.fittingHeight(6);//six lines
Window_Base.prototype.initialize.call(this, 0, 0, width, height);
this._text = '';
};
Window_Help.prototype.setText = function(text) {
if (this._text !== text) {
this._text = text.replace(/\\nn/g,"\n");
this.refresh();
}
};
// by mogwai on the forums
The problem is that it affects EVERY help window in the game and ruins how I've resized a lot of scenes. If I could get this to ONLY work in the battle scene (and the Skill menu while I'm at it), it would be perfect. I tried adding Scene_Battle but that just broke the whole thing.