Jump to content

Pokemon: B/W SAV & AR File Structure [Incomplete]


Recommended Posts

Feel free to help out. Credits to original.

Blue Delivery Man: 0×1D0BC 0×A94

Party Pokemon

Black & White:

0×196C4 0×DC[First]

0×197A0 0×DC[second]

0×1987C 0×DC[Third]

0×19958 0×DC[Fourth]

0×19A34 0×DC[Fifth]

0×19B10 0×DC[sixth]

Storage Box: 0×0CBC 0×88

Obtain Pokemon via Box 1 -Slot 1-30

E0000CBC 0×88

E0000D44 0×88

E0000DCC 0×88

E0000E54 0×88

E0000EDC 0×88

E0000F64 0×88

E0000FEC 0×88

E0001074 0×88

E00010FC 0×88

E0001184 0×88

E000120C 0×88

E0001294 0×88

E000131C 0×88

E00013A4 0×88

E000142C 0×88

E00014B4 0×88

E000153C 0×88

E00015C4 0×88

E000164C 0×88

E00016D4 0×88

E000175C 0×88

E00017E4 0×88

E000186C 0×88

E00018F4 0×88

E000197C 0×88

E0001A04 0×88

E0001A8C 0×88

E0001B14 0×88

E0001B9C 0×88

E0001C24 0×88

Items

Black: 0×F08

White: 0×F28

- 265 blocks of 4 byte structure

Healing Items

Black: 0×5E4

White: 0×604

- 40 blocks of 4 byte structure

TM's

Black: 0×430

White: 0×450

- 95 blocks of 4 byte structure

HM's

Black: 0×5A0

White: 0×5C0

- 6 blocks of 4 byte structure

Berries

Black: 0×6A4

White: 0×6C4

- 64 blocks of 4 byte structure

Poke Balls

Black: 0×E0C

White: 0×E2C

- 16 blocks of 4 byte structure

Money: Black & White

0x21ABC

- Unsigned 32bit integer

- Limited to 0×F423F (999,999)

Badges

Black: 0×C10

White: 0×C30

Trio: 0×01

Basic: 0×02

Beetle: 0×04

Bolt: 0×08

Quake: 0×10

Jet: 0×20

Icicle: 0×40

Legend: 0×80

- Unsigned 8bit bitfield

- Determins what store items are for sell

Seasons

Black: 0×81C

White: 0×83C

Spring: 0×00

Summer: 0×01

Fall: 0×02

Winter: 0×03

- Determins which pokemon can be seen

Trainer's Gender: Black & White

0x19CDD

- Determins ownership of pokemon

- 0 for male

- 1 for female

National Pokedex

Black: 0×10

White: 0×30

- Enables you to see other region pokemon

Play Time: Black & White

0x3BCE4

SID: Black & White

0x3464E

- Random unsigned 16bit integer

- Determins ownership of pokemon

- Hidden indentification of the trainer number

- Determins variation of the game

TID: Black & White

0x3464C

- Random unsigned 16bit integer

- Determins ownership of pokemon

- Visible indentification of the trainer number

RNG Testing

Black: 0×67A

IVMT: 0×1B4

Seed1: 0×84

Seed2: 0×88

PID: 0×814

White: 0×69A

IVMT: 0×1D4

Seed1: 0×A4

Seed2: 0×A8

PID: 0×834

Map Location: Black & White

Map: 0x9E3C

X: 0x9E42

Y: 0x9E4A

Z: 0x9E46

Key Items: Black & White

0x19194 0x14C

Adventure Started: Black & White

0x1E1F0

- 70 blocks of 4 byte structure

Player's Name: Black & White

0x3463C 0x10

White

date at 0x23FFDE8 -- 0XDDMMYY format in decimal, X being which day of the week.

time at 0x23FFDEC -- 00SSMMHH format in decimal

Black

date at 0x23FFDC8 -- 0XDDMMYY format in decimal, X being which day of the week.

time at 0x23FFDCC -- 00SSMMHH format in decimal

White

IVMTFrame: 022696A4

Black

IVMTFrame: 02269684

Range is 0270-0269 in hex. The 0 value is 0270.

Edited by Riolu Aura Sphere Now
Added Box 1 Slots
Link to comment
Share on other sites

  • 2 weeks later...

Poking around high link memory locations and how the game determines what Pokemon should appear.

02FE3600 - White

02FE35E0 - Black

From there it shows the dex # of the High Link Pokemon you just interacted with the moment you lock in the dialog. This is the earliest the dex # appears in this region, it appears a few more times every so lines.

A notable pointer memory location is 02146034. It's the dump location for current/previous encounter for dex #, regardless of encounter (Tested for Eggs, Legends, High Link, and previous saves). I don't understand anything but I just like digging, so someone else can further delve into the code.

Link to comment
Share on other sites

  • 3 weeks later...

White

date at 0x23FFDE8 -- 0XDDMMYY format in decimal, X being which day of the week.

time at 0x23FFDEC -- 00SSMMHH format in decimal

Black

date at 0x23FFDC8 -- 0XDDMMYY format in decimal, X being which day of the week.

time at 0x23FFDCC -- 00SSMMHH format in decimal

---

White

IVMTFrame: 022696A4

Black

IVMTFrame: 02269684

Range is 0270-0269 in hex. The 0 value is 0270.

Link to comment
Share on other sites

White

date at 0x23FFDE8 -- 0XDDMMYY format in decimal, X being which day of the week.

time at 0x23FFDEC -- 00SSMMHH format in decimal

Black

date at 0x23FFDC8 -- 0XDDMMYY format in decimal, X being which day of the week.

time at 0x23FFDCC -- 00SSMMHH format in decimal

---

White

IVMTFrame: 022696A4

Black

IVMTFrame: 02269684

Range is 0270-0269 in hex. The 0 value is 0270.

Thank you, I have added them to the OP.

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