m
my only advice is to just catch things in places tey can actually spawn and dont use dens, all other codes(iv nature and so on) shouldnt have any effect on wether the pokemon is legit
correct to clarify if you use a spawn code in a spo a pokemon actual spawns, itll stil be left, but if you spawn something in a spot it would never spawn then the game wil know its cheated