Jump to content

Which code can batch remove pokemon markings?


Ju1yChan

Recommended Posts

8 hours ago, Kaphotics said:

Refer to the batch editor guides on how to find property names that you can use. All 6 that you listed are not in the list of properties.

There's one property that starts with Mark***** that should be obvious how to set.

I fina a code is ".MarkingCount=",

but i try to set "0" or "false",

it also can‘t be achieved.

Link to comment
Share on other sites

7 hours ago, Kaphotics said:

There are 4 markings for early formats and 6 markings in more recent games.

Keep looking.

Yes i konw that.

But i mean i want to batch remove all markings for all box pokemons?

Just Like Photo 1 to change for Photo 2.

Which code can i use for that?

微信图片_20230109233925.png

微信截图_20230110185747.png

微信截图_20230110185932.png

Link to comment
Share on other sites

  • 3 months later...

So, I found the thread via google since I had the same question.

For those who will do the same, here is how MarkValue works:

MarkValue is a bit-field, which means that each mark has its own bit.

The marks in binary are as follows:

0000.0000.0001 (1)
0000.0000.0010 (2)
0000.0000.0100 (4)
0000.0000.1000 (8)
0000.0001.0000 (16)
0000.0010.0000 (32)
0000.0100.0000 (64)
0000.1000.0000 (128)
0001.0000.0000 (256)
0010.0000.0000 (512)
0100.0000.0000 (1024)
1000.0000.0000 (2048)

You can combine multiple markings by combining the bits, i.e.:
▲■♥★✦ = 1010.1001.0110 (2710)

Obviously the red and blue mark with the same symbol are mutually exclusive, aka you should not set them at the same time.

In the batch editor you will have to use the decimal value, which I included in parentheses.

Example: Mark all shiny pokemon with :

=IsShiny=true
.MarkValue=512

You can use a binary to decimal converter to get the decimal value of combined marks.

  • Like 2
Link to comment
Share on other sites

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...