# 聪仔修改
def delete_equipments
saved_equips = $game_party.items + $game_party.warehouses + $game_party.equipments
for i in 0...$data_weapons.size
$data_weapons[i] = nil unless saved_equips.include?($data_weapons)
end
for i in 0...$data_armors.size
$data_armors = nil unless saved_equips.include?($data_armors)
end
end
# 聪仔修改
def delete_equipments
saved_equips = $game_party.items + $game_party.warehouses + $game_party.equipments
for i in 0...$data_weapons.size
$data_weapons[i] = nil unless saved_equips.include?($data_weapons)
end
for i in 0...$data_armors.size
$data_armors = nil unless saved_equips.include?($data_armors)
end
end