Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- The Entralink Forest data area has 2132 (0x854) bytes
- Save Offsets
- BW 0x22C00
- B2W2 0x22A00
- Encryption
- The initial seed is taken from the data at 0x84C.
- New seeds are calculated via LCRNG.
- The upper 16 bits are XORed against the data to encrypt/decrypt (words).
- seed = (0x41C64E6D * seed + 0x6073);
- data = data ^ (seed >> 16);
- General Structure
- 0x000 - 0x84B encrypted data
- 0x84C - 0x84F initial encryption seed
- 0x850 - 0x851 update counter
- 0x852 - 0x853 checksum from 0x000 - 0x84F (CRC16-CCITT)
- Decrypted Data Structure (0x000 - 0x84B)
- 3 x 20 Pokemon in each area from 1 - 8.
- 3 x 10 Pokemon in 9th area.
- 20 Pokemon in the deepest area.
- So they let you store a total of 530 Pokemon there!
- 0x000 deepest area
- 0x050 9th area center
- 0x078 9th area left
- 0x0A0 9th area right
- 0x0C8 1st area center
- 0x118 1st area left
- 0x168 1st area right
- 0x1B8 2nd area center
- 0x208 2nd area left
- 0x258 2nd area right
- 0x2A8 3rd area center
- 0x2F8 3rd area left
- 0x348 3rd area right
- 0x398 4th area center
- 0x3E8 4th area left
- 0x438 4th area right
- 0x488 5th area center
- 0x4D8 5th area left
- 0x528 5th area right
- 0x578 6th area center
- 0x5C8 6th area left
- 0x618 6th area right
- 0x668 7th area center
- 0x6B8 7th area left
- 0x708 7th area right
- 0x758 8th area center
- 0x7A8 8th area left
- 0x7F8 8th area right
- 0x848 unlock area 9 (0x01 to unlock)
- 0x849 unlock areas 3 - 8 (0x01 - 0x06) (area 1 & 2 and the deepest area are unlocked by default -> 0x00)
- 0x84A 0x00
- 0x84B 0x00
- Pokemon Structure (4 bytes)
- Bits
- 00-10 species
- 11-20 special move
- 21-22 gender (0 -> male, 1 -> female, 2 -> genderless)
- 23-27 form (see below)
- 28-31 animation (see below)
- Form Bits
- Unown
- 0 A
- ...
- 25 Z
- 26 !
- 27 ?
- Deoxys
- 0 Normal
- 1 Attack
- 2 Defense
- 3 Speed
- Burmy/Wormadam
- 0 Plant
- 1 Sand
- 2 Trash
- Shellos/Gastrodon
- 0 West
- 1 East
- Rotom
- 0 Normal
- 1 Heat
- 2 Wash
- 3 Frost
- 4 Fan
- 5 Mow
- Giratina
- 0 Altered
- 1 Origin
- Shaymin
- 0 Land
- 1 Sky
- Basculin
- 0 Red
- 1 Blue
- Deerling/Sawsbuck
- 0 Winter
- 1 Spring
- 2 Summer
- 3 Autumn
- Meloetta
- 0 Aria
- 1 Pirouette
- Animations
- 0 randomly turning around
- 2 randomly walking
- 4 randomly walking
- 6 walking up/down
- 8 walking left/right
- 10 walking left/right and randomly looking up/down
- 12 turning around clockwise
- 14 turning around counterclockwise
- All odd numbers are invalid for animations and will make the Pokemon invisible.
Advertisement
Add Comment
Please, Sign In to add comment