MZ A MZ conversion of Kadokawas BattleResultsPopup plugin for MV

As far as I figure out the only difference is how it draws the window and I'm dum.
If the plugin does window drawing, you need to modify the call to the constructor to provide a rect as an argument instead of x, y, width and height.
If the plugin does window drawing, you need to modify the call to the constructor to provide a rect as an argument instead of x, y, width and height.
Tried just changing some lines around but ofcourse it didn't work. The window also changes in height depending on the item rewards.
Tried just changing some lines around but ofcourse it didn't work. The window also changes in height depending on the item rewards.
What did you try changing?
I haven't tested but it looks like you could just change line 88 of the MV plugin:
JavaScript:
Window_Base.prototype.initialize.call(this, x, y, width, height);
...to this:
JavaScript:
Window_Base.prototype.initialize.call(this, new Rectangle(x, y, width, height));
What did you try changing?
What Caethryll did but in the wrong place in the line. I guesss it works now windowwise but it errors out when it can't find the this.textpadding function.
Yeah, that's changed as well. Have a look in the default scripts for padding and you'll see how it's done now.
If you figure this out I'd appreciate a copy!
Yeah, that's changed as well. Have a look in the default scripts for padding and you'll see how it's done now.
This turned out to be stupidly easy. They where just renamed.

Original thread: https://forums.rpgmakerweb.com/threads/a-mz-conversion-of-kadokawas-battleresultspopup-plugin-for-mv.134261/