THE COMMANDS AND VALUES FOUND HERE ARE FOR SWSH AND BELOW. IT IS CURRENTLY NOT UPDATED TO WORK FOR NEWER GAMES. SOME COMMANDS/VALUES MAY WORK FOR NEWER GAMES.
IT MAY TAKE A WHILE TO UPDATE THIS TUTORIAL FOR THE NEWEST GAMES.
In this tutorial you will learn how to properly use the Batch Editor in PKHeX. The batch editor, when utilized fully and correctly, can be an extremely useful tool for fixing, and editing Pokemon.
Please Note: The Batch Editor does NOT have an undo option
first, uncheck modify PKM in PKHeX settings.
Try
=IsShiny=False
.TrainerID7=6 digit TID
.TrainerSID7=4 digit SID
.HT_Name=
You may wanna include modifiers for mons in Cherish balls, Have Fateful Encounter flag or have Classic Ribbons. Those are to cover events, and are typically OT/TID/SID locked.
If so. add these above the shiny line:
=FatefulEncounter=False
=RibbonClassic=False
!Ball=16
These should cover most causes.
Make sure the last item isn't a line