piItem_flags is purely used for color alterations. I'll add a check to prevent it if there's any nonzero value.