- Joined
- Apr 28, 2016
- Messages
- 59
- Reaction score
- 4
- First Language
- Portuguese (Br)
- Primarily Uses
- RMMV
I'm trying to change the x position of the Enemy Window (where the player selects which enemy to attack), but no matter what number I add/subtract/replace the 'x' with, the window won't move. I can change the 'y', the height and the width without problems. The same thing happens in a new project.
I added the "- 20" but it does nothing:
(This edit was made in rpg_windows.js)
However, if I add the "- 20" to any other property, the changes take effect. Why does the x ignore that? 
On a similar topic, if I'm allowed to ask, how do I stop the Status Window from sliding left/right when the command window (attack/guard/item...) appear/disappear?
Thanks in advance.
PS.: Currently, I'm using SRD's Battle GUI Core to fix that and it works, but, using an advanced plugin just to change a single value is something I'm trying to avoid. And in case there's any compatibility issues in the future, I want to have a plan B.
I added the "- 20" but it does nothing:
(This edit was made in rpg_windows.js)
Code:
Window_BattleEnemy.prototype.initialize = function(x, y) {
this._enemies = [];
var width = this.windowWidth();
var height = this.windowHeight();
Window_Selectable.prototype.initialize.call(this, x - 20, y, width, height);
this.refresh();
this.hide();
};
On a similar topic, if I'm allowed to ask, how do I stop the Status Window from sliding left/right when the command window (attack/guard/item...) appear/disappear?
Thanks in advance.
PS.: Currently, I'm using SRD's Battle GUI Core to fix that and it works, but, using an advanced plugin just to change a single value is something I'm trying to avoid. And in case there's any compatibility issues in the future, I want to have a plan B.

