class Window_EquipRight < Window_Selectable
def draw_item_name(item, x, y)
if item == nil
return
end
self.contents.font.color = normal_color
bitmap = RPG::Cache.icon(item.icon_name)
self.contents.blt(x, y + 4, bitmap, Rect.new(0, 0, 24, 24))
if item.is_a?(RPG::Armor) && item.id == 10
self.contents.font.color = disabled_color
end
self.contents.draw_text(x + 28, y, 212, 32, item.name)
end
end
class Window_EquipRight < Window_Selectable
def draw_item_name(item, x, y)
if item == nil
return
end
self.contents.font.color = normal_color
bitmap = RPG::Cache.icon(item.icon_name)
self.contents.blt(x, y + 4, bitmap, Rect.new(0, 0, 24, 24))
if item.is_a?(RPG::Armor) && item.id == 10
self.contents.font.color = disabled_color
end
self.contents.draw_text(x + 28, y, 212, 32, item.name)
end
end