When I did the virtual E4 quest, my Gengar glitched and was replaced by my Magnezone (so I had 2 lvl 85 Magnezones) when I took breaks between the battles and then I had to beat all the E4 leaders again with my virtual team. I restarted and thought I checked that I still had my Gengar when I finished the quest. However, I just checked and my Gengar was replaced with a Magnezone duplicate, and I also lost my Dark Pulse TM??
Game.rxdata