EnemyBook window size mod

Hi makers!

In the process of making my game more mobile friendly, I had the screen and font resized (through Yanfly's core plugin). That brought me I few problems which I could handle. But then there is this one I need help with.

I'm using the EnemyBook plugin by Yoji Ojima, which is scripted to show two windows splitting the screen in half. One of them is for the list of nemies and the other for each selected enemy's stats.
The problem is it isn't portraying all of it's stats due to the fontsize being bigger. I figured I could resize them both, making the list 1/3 of screen's height and the stats 2/3, for example.

I dug into the plugin script and I suppose this is it:

Spoiler
Scene_EnemyBook.prototype.create = function() {
Scene_MenuBase.prototype.create.call(this);
this._indexWindow = new Window_EnemyBookIndex(0, 0);
this._indexWindow.setHandler('cancel', this.popScene.bind(this));
var wy = this._indexWindow.height;
var ww = Graphics.boxWidth;
var wh = Graphics.boxHeight - wy;
this._statusWindow = new Window_EnemyBookStatus(0, wy, ww, wh);
this.addWindow(this._indexWindow);
this.addWindow(this._statusWindow);
this._indexWindow.setStatusWindow(this._statusWindow);

Thus my questions
a) how could I change those variables "Graphics.box"?
b) is it "legal" for me to change such plugin's code and use it to my needs?

Edit:
I might have been looking at the wrong piece of code. I believe the "list" of enemies is called index and is drawn here
Spoiler
Window_EnemyBookIndex.prototype.initialize = function(x, y) {
var width = Graphics.boxWidth;
var height = this.fittingHeight(6);
Window_Selectable.prototype.initialize.call(this, x, y, width, height);
this.refresh();
this.setTopRow(Window_EnemyBookIndex.lastTopRow);
this.select(Window_EnemyBookIndex.lastIndex);
this.activate();
};

Original thread: https://forums.rpgmakerweb.com/threads/enemybook-window-size-mod.117932/