Hi there. Regarding your thread about Trainer Editing, I think you should try posting the question in the following thread to see if you get any answers:
http://www.pokecommunity.com/showthread.php?t=79614
However, I'm not entirely sure what you're asking. To edit trainers, you use a tool called Advance Trainer, or 'A-Trainer'. You find the trainer by their name, and can edit their Pokemon, items they can use, the money they give and the music that plays once they 'see' you in-game. You just edit existing trainers, and using their Trainer IDs (a three-digit-number), you can make a script that allows you to battle them in-game. It's pretty simple really, but as I said you should try asking in the Simple Question's thread :)