Jump to content

Using PKHeX: How to Use the Batch Editor in PKHeX


Recommended Posts

17 minutes ago, lxy4251326 said:

how to use 

.TrashCharCountTrainer=
.TrashCharCountNickname=

Those properties can only be used as filters; you cannot set to them because there is no setter in the source code. They're constant values based on the PKM class type.

If you are looking to clear all trash, you can do it like so (filter for a specific pattern, clear and reapply):

=OriginalTrainerName=Kurt
.OriginalTrainerTrash=$[]00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00
.OriginalTrainerName=Kurt
=IsNicknamed=false
.NicknameTrash=$[]00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00
.IsNicknamed=false

 

Link to comment
Share on other sites

  • 1 month later...
On 7/15/2024 at 6:19 AM, SkyLink98 said:

Unless you target specific mons with filter queries, the batch editor already target all the mons in all the boxes.

Wait, what? Anytime I've done edits, I do, for example:

=Box=1
.OriginalTrainerName=
.TID=
.SID=

And then I quickly backspace the "1," make it a "2," then press Tab or whatever to submit it and do that for every box. What I posted above does all Pokémon in one box, but I want all boxes.

Link to comment
Share on other sites

47 minutes ago, PLAFiles said:

Wait, what? Anytime I've done edits, I do, for example:

=Box=1
.OriginalTrainerName=
.TID=
.SID=

And then I quickly backspace the "1," make it a "2," then press Tab or whatever to submit it and do that for every box. What I posted above does all Pokémon in one box, but I want all boxes.

=Box=1, that's a filter that targets only the first box. Remove it and your script will target all the mons.

Link to comment
Share on other sites

  • 4 weeks later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...