Moving Window_BattleStatus X-Axis

I backed up rpg_windows.js in order to fiddle with window positioning and the like but I don't seem to be able to change Window_BattleStatus' position on the x-axis no matter what values I enter for "var x" ("var y" on the other hand works perfectly fine, allowing me to place the window anywhere on the y-axis). I don't know much about JS but I assume this is because Window_BattleStatus somehow gets its x-axis positioning from the width and/or location of Window_ActorCommand or Window_PartyCommand.

 

Does anyone know how to make it so I can manipulate the location of the window on the x-axis? 🙂 ​
I really want to know this. Tried everything to no avail.
I've moved this thread to JS/Plugin Support. Please be sure to post your threads in the correct forum next time. Thank you.


If it's anything like Ace, the position is modified in either the rpg_scene or rpg_manager file. The status window, the fight/escape window, and the actor commands window are (in Ace) all together and move right and left depending on the battle phase.
Yes, this is correct, as it's something i figured out recently.

If you want the stupid thing to stop sliding back and forth as well, that's also doable and is over in the scenes.
But how to do it? I figured out how to manipulate the party/command windows, but not the status window.

The thing insists in doing that automatic horizontal scroll and aligning according to the party/command windows.
Look in the rpg_scenes.js file

Scene_Battle.prototype.updateWindowPositions = function() { var statusX = 0; if (BattleManager.isInputting()) { statusX = this._partyCommandWindow.width; } else { statusX = this._partyCommandWindow.width / 2; } if (this._statusWindow.x < statusX) { this._statusWindow.x += 16; if (this._statusWindow.x > statusX) { this._statusWindow.x = statusX; } } if (this._statusWindow.x > statusX) { this._statusWindow.x -= 16; if (this._statusWindow.x < statusX) { this._statusWindow.x = statusX; } }};It's the += 16 and the -= 16 that's what is moving it back and forth.

You can change them to 0 and the thing will stop shifting around like a spaz.

Trust me, i hate it to... makes customizing the layout super difficult.

Lemme know if i been helpful. Or even let me know if it works successfully.

Original thread: https://forums.rpgmakerweb.com/threads/moving-window_battlestatus-x-axis.48871/