Hey everyone,
So I've been altering the YEP_EquipCore to some pretty great success; I've removed the equip command window to have the scene place the cursor directly in the equip slots window, and I've just added change actor functionality using the page up and page down as you'd normally be able to do if the equip command window was still there.
However I've ran into a new issue: when I use page up or down to change to the next actor, the parameter numbers in the Window_StatCompare disappear until I move the cursor. They also disappear if I activate an equip slot to change equipment, but cancel out of it instead of confirming a removal or equipping a new item, but reappear until I move the cursor the same way they reappear when moving the cursor after going to the next character.
I've tried...
...but to no avail. I feel like it's a simple fix but for the life of me can't figure out what needs adjusting.
Any help would be greatly appreciated! Thanks!
EDIT: Ok, I fixed the stats disappearing from canceling from the equip item window. There was this bit:
I changed
to
and that worked!
Now to prevent them from disappearing when using page up or down to switch to the next or previous actor.
UPDATE:
GOT IT. There was this bit of code:
So what I did was just change
to
and voila, it works!
So there it is. Hopefully that's all that's needed and there's no other quirks that pop up. I guess time will tell!
So I've been altering the YEP_EquipCore to some pretty great success; I've removed the equip command window to have the scene place the cursor directly in the equip slots window, and I've just added change actor functionality using the page up and page down as you'd normally be able to do if the equip command window was still there.
However I've ran into a new issue: when I use page up or down to change to the next actor, the parameter numbers in the Window_StatCompare disappear until I move the cursor. They also disappear if I activate an equip slot to change equipment, but cancel out of it instead of confirming a removal or equipping a new item, but reappear until I move the cursor the same way they reappear when moving the cursor after going to the next character.
I've tried...
Code:
Scene_Equip.prototype.onActorChange = function() {
this._slotWindow.activate();
this._compareWindow.refresh();
this._statusWindow.refresh();
this.refreshActor();
};
...but to no avail. I feel like it's a simple fix but for the life of me can't figure out what needs adjusting.
Any help would be greatly appreciated! Thanks!
EDIT: Ok, I fixed the stats disappearing from canceling from the equip item window. There was this bit:
Code:
Yanfly.Equip.Scene_Equip_onItemCancel = Scene_Equip.prototype.onItemCancel;
Scene_Equip.prototype.onItemCancel = function() {
Yanfly.Equip.Scene_Equip_onItemCancel.call(this);
this._compareWindow.setTempActor(null);
this._itemWindow.hide();
};
Code:
this._compareWindow.setTempActor(null);
Code:
this._compareWindow.refresh();
Now to prevent them from disappearing when using page up or down to switch to the next or previous actor.
UPDATE:
GOT IT. There was this bit of code:
Code:
Yanfly.Equip.Scene_Equip_onActorChange = Scene_Equip.prototype.onActorChange;
Scene_Equip.prototype.onActorChange = function() {
Yanfly.Equip.Scene_Equip_onActorChange.call(this);
this._compareWindow.setTempActor(null);
if (this._infoWindow) this._infoWindow.setItem(null);
};
So what I did was just change
Code:
this._compareWindow.setTempActor(null);
Code:
this._compareWindow.setTempActor(this.actor());
So there it is. Hopefully that's all that's needed and there's no other quirks that pop up. I guess time will tell!