Jump to content
Sign in to follow this  
Oxnite

answered [SOLVED] Pokémon Black & White - Personal narc's 13th bit value in B2W2 for Diglett/Dugtrio

Recommended Posts

The personal narc file for editing Pokémon data has a special value for the 13th bit in Pokémon Black 2 and White 2, which is 1 for Diglett and Dugtrio, and 0 for all other Pokémon.

Now, this value implies that the Pokémon will not "fall out of the sky" when sent out of the Poké Ball, but it will instead just be stuck to the ground (see this post).

I want to know where to find this value for Pokémon Black & White, because I want to add this functionality for Pokémon like Hippowdon (which should also be stuck to the ground, but isn't).

Maybe I'm wrong, but I couldn't find it in BW's personal narc.

Thanks for your help!

Edited by Oxnite

Share this post


Link to post
Share on other sites

Simply add 0×10 (16) to the 12th byte, like in B2W2, since this byte is always a number between 00 and 0F included, the end result would be a number between 10 and 1F included.

More detailed explanation

More specifically both the 11th and 12th bytes should be read together, since both trigger the EVs to give should a member of this species is defeated.

For example Ninetales' EV data is 40 04.

Invert the bytes to read it as 04 40.

Cleave each byte in half so as to read each number separately: 0 4 4 0.

Now convert into binary to read the EVs as 0000 0100 0100 0000.

You can use this nice site for the conversions: http://www.binaryhexconverter.com/

Now read this number as pairs of 2 bits: 00 00 01 00 01 00 00 00.

From right to left:

_the first pair tells how many EVs to give in HP (from 0 to 3)

_the second pair tells how many EVs to give in Attack (from 0 to 3)

_the third pair tells how many EVs to give in Defense (from 0 to 3)

_the fourth pair tells how many EVs to give in Speed (from 0 to 3)

_the fifth pair tells how many EVs to give in Special Attack (from 0 to 3)

_the sixth pair tells how many EVs to give in Special Defense (from 0 to 3)

Now you can tell that defeating a Ninetales gives 1 EV in Speed and 1 EV in Special Defense.

_the seventh pair, more precisely the 13th bit, is what the game read to know if the Pokémon should come from the air or not when being summoned from a Poké Ball.

So if you put this bit at 1, the data would be read as 00 01 01 00 01 00 00 00.

By gluing the pairs together 2 by 2, we get: 0001 0100 0100 0000.

From binary to hex now: 1 4 4 0.

By gluing each nybble together 2 by 2, we get: 14 40.

Now invert the bytes and this will be the final data: 40 14.

Share this post


Link to post
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
Sign in to follow this  

×