Save States won't work with Pokemon Diamond/Pearl/Platimum. I know this by expierence.
First, save the game, (in the game menu, not in the emulator menu,) then click File, then Export Backup Memory.
Edit the resulting "sav." file (not "dst.") and then save that.
Open the ROM, then click Import Backup Memory.
You should now have your edited Pokemon.