I have Alpha Sapphire and I went into a Mirage Cave (I can't remember exactly where) and I could catch Ditto in the cave. So I thought "I'll just encounter lots of Ditto and raise my DexNav to a high level, then catch a 3 star Ditto (which is suppose to have three perfect IVs). So I finally caught a three star Ditto and when I took it to the judge in the Battle Resort, it didn't even have one perfect IV! My only theory for this is that I caught the Ditto while it was transformed into my Lombre, which did not have good IVs. So basically, my question is: When Ditto transforms into a Pokemon, does it keep that Pokemons IVs even after you catch it? Or did something else cause my problem?
Maybe you chose the ditto that doesn't have perfect ivs and you thought it was the one with perfect ivs?Cause when I caught a ditto with 3 stars, it transformed into my Poochyena (which has no perfect ivs), that ditto had 3 perfect ivs. Just catch another ditto with 3 stars and see if it has 3 perfect ivs. If it doesn't have 3 perfect ivs, maybe it's a glitch. You can always check the ivs of a Pokemon in iv calculators around the net. Maybe the judge was wrong