How to get rid of the x in the item menu?

I'm making a normal rpg game with a custom font. But the problem is the x that normally appears next to the item number is not in my font, so it looks like a square symbol. Anyway to get rid of it? i'm using yanflys ace item menu script

for anyone who doesn't understand me.

                                  ↓

                                  ↓   that devil

                                  ↓

random item name    X 14  
There are scripts that handle that problem with missing characters from a font...

Or you could try to go to Window_ItemList, look for where it draws the item name and count, trace the methods they call until you can find the "x". I forgot where it is exactly, but I do think you'll narrow it down to Window_Base
There IS no "x" in the Item windows (or at least the ones I'm looking at)!  It's actually a colon.  Maybe that's why it's not in your font.

Anyhow, you can get rid of it in the draw_item_number method (part of Window_ItemList, as Engr. Adik mentioned).  Just delete the colon you see shortly after "sprintf" in the below method.

Code:
  #--------------------------------------------------------------------------  # * Draw Number of Items  #--------------------------------------------------------------------------  def draw_item_number(rect, item)    draw_text(rect, sprintf(":%2d", $game_party.item_number(item)), 2)  end
I forgot to mention something really important, I am using yanfly's ace item menu. i tried your fix but it still appears (most likely cause of the script i mentioned)
Wavelength, it's an x - the OP is using Yanfly's script. So the solution above may not work - you have to find in Yanfly's script where the item is drawn. (oh, that might have been added after you answered)


Yeah, it's not a X as in the character on the keyboard. It's actually a symbol, which is why so many people have trouble with it.


Next time you need help with a script, post a link to the script (and tell people, in your first post, that you're using a script).


I've moved this thread to RGSSx Script Support. Please be sure to post your threads in the correct forum next time. Thank you.
then try to find it inside Yanfly's script instead of the default ItemList
thank's for changing it shaz, sorry about the misplace. I managed to find the source of my problems. Turns out it's from yanfly's core script. You can mark this as solved.

Original thread: https://forums.rpgmakerweb.com/threads/how-to-get-rid-of-the-x-in-the-item-menu.36260/