MV Refer to Armor Object

Hi,
basically I'm trying to get rid of the unequip slot that show up in the equip scene when you try to unequip a weapon/armor

I did it by changing

Window_EquipItem.prototype.includes = function {
If (item === null) (
return false // It was originally true
}

I changed another thing in item selectable I think ? Can't quite remember..

Now, I try to change it so it's only remove when it a weapon.

I can't get it to work with $data.Armor so I'm at lost at how to proceed.

Also hi, my first post. Been ghosting this since forever but just now I post about it 🙂

Original thread: https://forums.rpgmakerweb.com/threads/refer-to-armor-object.146947/