[Solved] Remove colons from item menu

Hi 🙂

Just a quick question:
Is it somehow possible to remove the colons from the item menus? Preferrably without any plugins with other functions like total menu overlay etc.

Problem is that I increased my item limits, but everything above 99 overlaps with the colons, as shown in the picture below.

Thanks in advance 🙂
it require a plugin and there are and can be changed here
JavaScript:
Window_ItemList.prototype.drawItemNumber = function(item, x, y, width) {
    if (this.needsNumber()) {
        this.drawText(':', x, y, width - this.textWidth('00'), 'right');
        this.drawText($gameParty.numItems(item), x, y, width, 'right');
    }
};
either change ":" to "" or "x" with textwidth "00" to "000" (000 = 3 digits)

both works, but without plugin is probably a no go.
it require a plugin and there are and can be changed here
JavaScript:
Window_ItemList.prototype.drawItemNumber = function(item, x, y, width) {
    if (this.needsNumber()) {
        this.drawText(':', x, y, width - this.textWidth('00'), 'right');
        this.drawText($gameParty.numItems(item), x, y, width, 'right');
    }
};
either change ":" to "" or "x" with textwidth "00" to "000" (000 = 3 digits)

both works, but without plugin is probably a no go.
Works perfectly. Thank you 🙂
Can verify that it works perfectly in MZ as well. Another snippet I didn't know I needed until someone else asked for it. Thank you both, @ShadowDragon and @VeniVidiRici .
Can verify that it works perfectly in MZ as well.
this I didn't know, as I don't own it, otherwise, you can check MZ windows,
check needsNumber (if not changed).

if it's slightly different, it easy to fix there, but I'm an active MV user ^^

glad it work in MZ too, there might be a cleaner approach than this, but
for other things, you can alias too.

mine way is also slightly different than the given above as I use
number + "x" but it depends what your game needs and change.

so it's a relative simple function.

Original thread: https://forums.rpgmakerweb.com/threads/solved-remove-colons-from-item-menu.180403/