Hopefully your gear can still be saved.

Nintendo Finally Addresses Game-Breaking Glitch for "Pokemon X & Y"