kwsch / PKHeX

Pokémon Save File Editor
https://projectpokemon.org/pkhex/
Other
3.64k stars 684 forks source link

[FEATURE REQUEST] Using =PID= as criteria #901

Closed mjd85 closed 7 years ago

mjd85 commented 7 years ago

Use case would be mass unshiny without touching other details. I'm sure there would be other uses.

My example would be:

=PID=$shiny .PID=$rand

This way it doesn't affect ALL pokemon, but it just changes the previously shiny pokemon.

Not sure if it's possible to use it as criteria or not. And I know I can already do this, just in a more convoluted way. It would just be another ease of use feature for the batch editor.

mjd85 commented 7 years ago

Nevermind. Probably not worth the effort.

kwsch commented 7 years ago
=IsShiny=True
.PID=$rand

The property list only shows modifiable properties; any of the derived properties can still be used for filtering.

mjd85 commented 7 years ago

Huh, that doesn't show in the Batch Editor.

Is there a list of those somewhere? Things that can be used but don't show up in the Batch Editor?

kwsch commented 7 years ago

https://github.com/kwsch/PKHeX/tree/master/PKHeX/PKM

Not every format has the same derived properties, so just looking at PKM.cs may not be enough. https://github.com/kwsch/PKHeX/blob/master/PKHeX/PKM/PKM.cs#L261