Hey all,
As the title says, I'm looking to check if Window_ShopNumber's contents are to be sold or bought since I would like to add a line of text for buying or selling. I'd also like it to appear in the same line as the item being bought or sold. I figure I could toss an if statement to check in here, which would decide what to write, etc.:
I'm just not sure how to check the buy/sell mode of the window. As usual, help is appreciated! Thanks!
As the title says, I'm looking to check if Window_ShopNumber's contents are to be sold or bought since I would like to add a line of text for buying or selling. I'd also like it to appear in the same line as the item being bought or sold. I figure I could toss an if statement to check in here, which would decide what to write, etc.:
Code:
Window_ShopNumber.prototype.drawCurrentItemName = function() {
const padding = this.itemPadding();
const x = padding * 2;
const y = this.itemNameY();
const width = this.multiplicationSignX() - padding * 3;
this.drawItemName(this._item, x, y, width);
};
I'm just not sure how to check the buy/sell mode of the window. As usual, help is appreciated! Thanks!