If you edit the forest directly, all you have to edit for a pkm is this:
Species, Gender, special move, how it is animated (not saved in pkm data), and if it is hidden (not saved in pkm data). The game just re-generates from the template data that's stored in the save file.
Kinda hard to screw up Species-Gender-Move1 legality.