- Joined
- Oct 16, 2012
- Messages
- 9
- Reaction score
- 1
- First Language
- English
- Primarily Uses
Good day everyone, and thanks ahead of time for your help.
I'm trying to change the order the parameters show up in the various menus. I'm pretty sure I'll have the change it in multiple locations (for example, the status menu the equip menu and the shop menu), but the problem is I'm not sure how. I'm still very new to javascript (and programming in general).
I'd like to change the order so it's (Top to bottom) Strength, Magic Attack, Agility, Defense, Magic Defense, Luck.
I tried to figure it out myself, and I *THINK* I'm going in the right direction. Under rpg_windows.js, there is a section for Window_Status.prototype.drawparameters. It looks like this:
I'm pretty sure that I need to change that for loop to read something else, but I'm just not sure what I change it to. I'm hoping someone can point me in the right direction (and any lessons I can learn from it would be great too!
Again, thanks ahead of time.
I'm trying to change the order the parameters show up in the various menus. I'm pretty sure I'll have the change it in multiple locations (for example, the status menu the equip menu and the shop menu), but the problem is I'm not sure how. I'm still very new to javascript (and programming in general).
I'd like to change the order so it's (Top to bottom) Strength, Magic Attack, Agility, Defense, Magic Defense, Luck.
I tried to figure it out myself, and I *THINK* I'm going in the right direction. Under rpg_windows.js, there is a section for Window_Status.prototype.drawparameters. It looks like this:
Window_Status.prototype.drawParameters = function(x, y) {
var lineHeight = this.lineHeight();
for (var i = 0; i < 6; i++) {
var paramId = i + 2;
var y2 = y + lineHeight * i;
this.changeTextColor(this.systemColor());
this.drawText(TextManager.param(paramId), x, y2, 160);
this.resetTextColor();
this.drawText(this._actor.param(paramId), x + 160, y2, 60, 'right');
var lineHeight = this.lineHeight();
for (var i = 0; i < 6; i++) {
var paramId = i + 2;
var y2 = y + lineHeight * i;
this.changeTextColor(this.systemColor());
this.drawText(TextManager.param(paramId), x, y2, 160);
this.resetTextColor();
this.drawText(this._actor.param(paramId), x + 160, y2, 60, 'right');
I'm pretty sure that I need to change that for loop to read something else, but I'm just not sure what I change it to. I'm hoping someone can point me in the right direction (and any lessons I can learn from it would be great too!
Again, thanks ahead of time.

