I tried to play around with the js game files to modify the item menu, but I messed it up a little and now I'm getting this error:
The code doesnt give me any errors but the error message insists:
Thanks in advance <3
The code doesnt give me any errors but the error message insists:
Code:
Window_ItemCategory.prototype.makeCommandList = function() {
if (this.needsCommand("item")) {
this.addCommand(TextManager.item, "item");
}
if (this.needsCommand("weapon")) {
this.addCommand(TextManager.weapon, "weapon");
}
}
if (this.needsCommand("keyItem")) {
this.addCommand(TextManager.keyItem, "keyItem");
}
;
Thanks in advance <3