I did manipulate the game menu a bit. I changed the Window_MenuStatus and other stuff too.
After doing so suddenly a problem came out. The picture im gonna show explains it best:
The number and name on the MenuStatus looks different then on the CommandWindow or GoldWindow.
I tried different things out but nothing did work.
Here is my code:
Anyone gotn idea?
After doing so suddenly a problem came out. The picture im gonna show explains it best:
The number and name on the MenuStatus looks different then on the CommandWindow or GoldWindow.
I tried different things out but nothing did work.
Here is my code:
Code:
(function() {
//Status Fenster Gesamt Position
Window_MenuStatus.prototype.windowWidth = function() {
return Graphics.boxWidth - 725;
};
Window_MenuStatus.prototype.windowHeight = function() {
return Graphics.boxHeight - 250;
};
//Status Fenster einzel Position
Window_MenuStatus.prototype.drawItemStatus = function(index) {
var rect = this.itemRect(0);
var x = rect.x;
var y = rect.y;
var width = rect.width - x - this.textPadding();
;
this.drawActorName($gameParty.members()[0], 60, 10);
if ($gameParty.members()[0]._name == "Amelia") {
this.drawText($gameVariables.value(1), x, y, width, 'center');
} else if ($gameParty.members()[1]._name == "Amelia") {
this.drawText($gameVariables.value(1), x, y + 150, width, 'center');
}
};
})();
Anyone gotn idea?