MV LeTBS - I need help to change the position of the command window

Screenshot_1035.png


As you can see, the command window is above the sprite of my character. I've tried searching through the LeTBS scripts but I can't find the part of the code where the window is positioned.

I'm not an expert in JavaScript, in fact I don't know anything about it, I just know the basics of programming: c. Still I think they should be in the JS files called "LeTBS_Commands" and "LeTBSWindows". Or maybe also in "LeTBS" the very basis of the script, but the latter I think is the least likely.

I would greatly appreciate the help, since I think it is the only thing I want to change about the program, but no matter how much I inquire, I did not find a solution.

Thanks for your attention <🙂.

Link of the JS of "LeTBS_Commands" and "LeTBSWindows"
Here
Moved to: Plugin Support
It would definitely fall under LeTBS_Commands.js but I'm not really sure what section of code exactly. However, I would highly recommend a plugin extension made by @Yazik that turns the command window into a "wheel". It was a paid commission though, so you'll have to contact him for permission.
1625981974579.png


Edit: This is just a wild guess but, perhaps you could edit Window_Command.prototype.initialize.call(this, 0, 0); and change the "0" to a different number. Perhaps they represent x, y coordinates (just a hunch).
JavaScript:
Window_TBSCommand.prototype.initialize = function () {
    Window_Command.prototype.initialize.call(this, 0, 0);
    this.openness = 0;
    this.deactivate();
    this._battler = null;
    this._entity = null;
    this._icons = [];
};
Thanks for your help Frostorm, but the code that you told me in the post has not worked.

However I think I have found a clue about the position of the command window.

Window_TBSCommand.prototype.update = function () { Window_Command.prototype.update.call(this); if (this._entity) { this._entity.attachWindow(this); };

This code here links the entity (a fighter in combat) to the command window, so there is no "x" or "y" modifiable apparently. I deleted the code to check it and indeed the command window did not appear but the game worked.

I need someone who knows a little Javascript to help me. Do you know any? It would be helpful :C.
It would definitely fall under LeTBS_Commands.js but I'm not really sure what section of code exactly. However, I would highly recommend a plugin extension made by @Yazik that turns the command window into a "wheel". It was a paid commission though, so you'll have to contact him for permission.
View attachment 195075

Edit: This is just a wild guess but, perhaps you could edit Window_Command.prototype.initialize.call(this, 0, 0); and change the "0" to a different number. Perhaps they represent x, y coordinates (just a hunch).
JavaScript:
Window_TBSCommand.prototype.initialize = function () {
    Window_Command.prototype.initialize.call(this, 0, 0);
    this.openness = 0;
    this.deactivate();
    this._battler = null;
    this._entity = null;
    this._icons = [];
};
Hmm, makes sense that the window is anchored to the battler. I only know a modest bit of JS, unfortunately... Try looking up the "attachWindow()" function and see what that entails.

Edit: @Dails I might've found a solution for you. Look at the following line:
Window_Command.prototype.update.call(this);
Try changing it to the following:
Window_Command.prototype.update.call(this, 0, y);
Where "y" is the amount of vertical adjustment.

Original thread: https://forums.rpgmakerweb.com/threads/letbs-i-need-help-to-change-the-position-of-the-command-window.138379/