http://projectpokemon.org/forums/showthread.php?6424-Pokemon-Generator-(Updated-for-HG-SS-[uS])
you can use this person's program to generate a pokemon with a fateful encounter of any type.
As for myself, I was wondering if someone could make a code that allows you to edit the origonal owner of a pokemon to get rid of the exp boost and troublemaker stuff.
Also if there is a code to edit your rival's starting pokemon. I've been wanting to make the game a bit tougher for me and I wanted to give them something good.