Code:
Window_PartyDetail.prototype.setActor = function(actor) {
if (this._actor === actor) return;
this._actor = actor;
this.refresh();
};
I try to use the function with a different actor by typing "Window_PartyDetail.prototype.setActor(220)" In the dev console, But it returns the error "bitmap" is undefined.
Typing "Window_PartyDetail.prototype.refresh()" returns the same error.
Shouldn't I be able to just use a global function like this?
Any ideas are appreciated! 🙂