def equip(equip_type, id)
case equip_type
when 0 # Weapon
if id == 0 or $game_party.weapon_number(id) > 0
id=WEAPON_FISTS if id==0
$game_party.gain_weapon(@weapon_id, 1) if @weapon_id != WEAPON_FISTS
@weapon_id = id
$game_party.lose_weapon(id, 1) if id!=WEAPON_FISTS
end