+ Reply to Thread
Page 1 of 4
1 2 3 4 LastLast
Results 1 to 15 of 54

Thread: Hex Values and Trashbytes in B/W

  1. #1

    Hex Values and Trashbytes in B/W

    Hi people.
    I was sondering if there is anything known about hex values and Trashbytes in Pokemon Black ans White.
    Reason is i tried to migrate my Celebi to B/W but pokeshifter wont work for me cause the Versions have diffrent languages.
    So i tought of directly placing the celebi in my new Pokemon black.
    Sadly the Celebi doesent seem to work for the zorua event then.
    I Suppose thats cause trough migration several things in the pokemon data are changed.
    For Example the only Value in use for B/W seems to be 41h which previously indicated the number of shiny leafes.

  2. #2
    RoC ~ WindSlayer Translation ContributorIRC HOPEvent ContributorModerator ReignOfComputer's Avatar
    Join Date
    Jun 2009
    Location
    LaRousse City
    Posts
    598

    Re: Hex Values and Trashbytes in B/W

    41h in B/W is now the Nature of the Pokemon. The rest of the hex values are still being uncovered, give it a while.
    The Global Terminal [PKM Distributions] | Download PokeGen | Find me on ProjectPokemon's IRC
    Windows Phone and 8 Developer | Microsoft Student Partner | Brony :3 | @ReignOfComputer

  3. #3

    Re: Hex Values and Trashbytes in B/W

    Thanks for the info.
    Were can i find a list of hex values for the natures ?

  4. #4
    RoC ~ WindSlayer Translation ContributorIRC HOPEvent ContributorModerator ReignOfComputer's Avatar
    Join Date
    Jun 2009
    Location
    LaRousse City
    Posts
    598

    Re: Hex Values and Trashbytes in B/W

    I don't think any have been made available to public yet.
    The Global Terminal [PKM Distributions] | Download PokeGen | Find me on ProjectPokemon's IRC
    Windows Phone and 8 Developer | Microsoft Student Partner | Brony :3 | @ReignOfComputer

  5. #5
    Super Moderator Translation ContributorDeveloperGame Save ResearcherROM ResearcherRAM ResearcherIRC AOPSuper Moderator
    Join Date
    May 2010
    Age
    28
    Posts
    1,004

    Re: Hex Values and Trashbytes in B/W

    the few that i've looked at have been the same as last gen. i.e. adamant = 0x03, timid = 0x0A, hardy = 0x00, etc.

  6. #6

    Re: Hex Values and Trashbytes in B/W

    PokeGen has ALL of these "changes" implemented already. There is no need to have a guide, this post is like a Wiki instead of a guide (guide isn't needed. Use PokeGen)

    Natures follow the same convention as the old PIDs except they are not related by the old calculation. They are stored as hex.

    ---

    Compiled hex changes of [4th->] 5th Gen PKMs
    All of my other info posts are redundant with this edited compiled post (I'll leave em anyways)

    Hex Differences in Black and White Pokemon caught ingame:

    Spoiler
    41h - New Nature (Hidden) Hex
    Spoiler
    00 --- Hardy --- がんばりや
    01 --- Lonely --- さみしがり
    02 --- Brave --- ゆうかん
    03 --- Adamant --- いじっぱり
    04 --- Naughty --- やんちゃ
    05 --- Bold --- ずぶとい
    06 --- Docile --- すなお
    07 --- Relaxed --- のんき
    08 --- Impish --- わんぱく
    09 --- Lax --- のうてんき
    0A --- Timid --- おくびょう
    0B --- Hasty --- せっかち
    0C --- Serious --- まじめ
    0D --- Jolly --- ようき
    0E --- Naive --- むじゃき
    0F --- Modest --- ひかえめ
    10 --- Mild --- おっとり
    11 --- Quiet --- れいせい
    12 --- Bashful --- てれや
    13 --- Rash --- うっかりや
    14 --- Calm --- おだやか
    15 --- Gentle --- おとなしい
    16 --- Sassy --- なまいき
    17 --- Careful --- しんちょう
    18 --- Quirky --- きまぐれ
    42h - Dream World Ability Flag
    Spoiler
    Alright, so I caught a Daruma Mode Hihidaruma. It had Daruma Mode (Dreamworld Ability), but notably a 42h.

    00 - Not flagged to have a Dream World Ability
    01 - Flagged to have a Dream World Ability

    I then created 2 Jaroda (Smuglord) as parents, with 42h flagged and Perversity as the ability. Their offspring had a 50% chance to have the Dream World Ability, and the ones that did had 01 as their 42h.

    Furthermore, I bred 2 of the offspring that did inherit the flag (and ability), and still got a 50% chance of inheritance.

    When breeding, the female must have the flag (might not work if they have the incorrect ability) and either must not be Ditto.
    48-5Dh: Nickname
    Spoiler
    Last 2 hex slots are have 2 terminators (FF FF)
    All Generation 5 PKM (nick)names end with 2 terminators (FF FF).

    68-77h: OT Name
    Spoiler
    Terminated with \FFFF
    All Generation 5 PKM OTs end with 2 terminators (FF FF).
    82h - Pokerus' Hex
    Spoiler
    Pokerus's hex values have changed. I was lucky enough to get it naturally, so I checked the values.

    00 - Unexposed
    60 - Cured
    62 - Infected, no pokemon in party to spread to.
    63 - Infected, 1+ pokemon in party to spread to.

    61 - ??? (I never saw this occur).
    Due note that there may be different values, Pokerus could have different strains O.o

    Setting a PKM to the old Pokerus convention still has them as contagious, but this different strain is an oddity I can't explain.
    83h - Pokeball Hex
    Spoiler
    Quote Originally Posted by Riolu Aura Sphere Now View Post
    83h: Poké Ball

    00- Poké Ball (Default)
    01 - Master Ball
    02 - Ultra Ball
    03 - Great Ball
    04 - Poké Ball
    05 - Safari Ball
    06 - Net Ball
    07 - Dive Ball
    08 - Nest Ball
    09 - Repeat Ball
    0A - Timer Ball
    0B - Luxury Ball
    0C - Premier Ball
    0D - Dusk Ball
    0E - Heal Ball
    0F - Quick Ball
    10 - Cherish Ball
    11 - Fast Ball
    12 - Level Ball
    13 - Lure Ball
    14 - Heavy Ball
    15 - Love Ball
    16 - Friend Ball
    17 - Moon Ball
    18 - Comp Ball
    19 - Dream Ball


    Note: Optional Changes may be required. More testing some time this week.
    85h - (Encounter Method) and other hidden hex (Met Location) from DPPt/HGSS of B/W originated Pokemon
    Spoiler
    Nonexistant. All are zeroes. Getting some Pokeshifted Pokemon to see if they even keep, I bet they will (edit: they do)


    There might be something else different with the first IV hex as I tried to recreate a pokemon from scratch and that was the only different place. I haven't had any looks at pokeshifted/transferred files so until then, no information. (edit: now I have)
    Spoiler
    you saw 42h and 82h changes on the internet first here at ProjectPokemon


    Hex Changes of PokeShifted Pokemon (Gen 3/4 to Gen 5)
    Spoiler
    Movesets
    Spoiler
    Pokemon cannot carry over old HM moves, which is the same as what was required for Pal Parking into Generation 4.
    0A-0Bh: Held Item
    Spoiler
    Can't shift something with an item.
    Thus the hex for both of these positions must be zero for a freshly shifted Pokemon.
    41h: Nature
    Spoiler
    All PokeShifted Pokemon receive a 41h according to their nature. See nature hex map above.
    42h: Dream World Flag Hex
    Spoiler
    No Shifted Pokemon should have a value other than 00. No Generation 4 Pokemon can have Dream World Abilities.
    Thus this value remains unchanged from 00.
    44-47h: PtHGSS Locations
    Spoiler
    PtHGSS locations are dropped on Shifting. All should be zeroes.
    48-5Dh: Nickname
    Spoiler
    Names undergo a character change.
    Pal Park, Egg, and Mystery Gift Pokemon trash bytes are kept, but the last 2 hex slots are chopped with 2 terminators (FF FF)
    All Generation 5 PKM (nick)names end with 2 terminators (FF FF).
    No trash bytes added/changed, only chopped.
    68-77h: OT Name
    Spoiler
    OT name undergoes a character change.
    Eggs: No trash bytes -> No trash bytes to chop. Name characters are changed to B/W, and nothing else changes.
    Pal Parked: Pal Park, Egg, and Mystery Gift Pokemon trash bytes are kept, but the last 2 hex slots are chopped with 2 terminators (FF FF).
    All Generation 5 PKM OTs end with 2 terminators (FF FF).
    No trash bytes are added, only chopped.
    7E-81h: Egg Location + Met Location
    Spoiler
    Egg location hex for hatched Pokemon is kept. ie 2000=Daycare Couple [D0 07] remains (from HGSS).
    Met location must be [31 75] 30001 decimal, the new location for all PokeShifted Pokemon.
    No met data from other generations is preserved, thus it must be 30001 (decimal).
    82h: Pokerus
    Spoiler
    No change from generation 4 convention, thus it is unchanged. 00 uninfected, 10 cured, 11 infected.
    85h: Encounter Type
    Spoiler
    Encounter Type of shifted Pokemon stays.
    86h: HGSS Pokeball
    Spoiler
    04 (pokeball) went to 00, which is pretty inconclusive. Need to test more.
    87h: HGSS Pokethlon Stats
    Spoiler
    Set to 00. Wiped.


    I do not see evidence for a trash byte algorithm. All trash from generation 4 stays. Yay? (long live trashbytes.exe, gotta chop tho!)
    All that remains to check is just HGSS Ball, Mystery Gift confirmations, Fateful Encounters, and Japanese Pokemon shifting. After that I'll post an entire revised list of what changed so that someone can make a converter!
    edit: lol kazo made one, here


    Transfer Machine Pokemon (Crown + Eigakan)
    Spoiler
    Met Location
    Spoiler
    Unused (Can still Activate Event):
    30010 for Celebi
    30012 for Entei/Raikou/Suicune,
    Used (Can not Activate Event):
    30011 for Celebi
    30013 for Entei/Raikou/Suicune
    Fateful Encounter Flag
    Spoiler
    Flagged.
    41h
    Spoiler
    Adjusts to the new nature standard.
    46-47h: PtHGSS Met Location
    Spoiler
    Dropped. Both are 00.
    48-5Dh: Nickname
    Spoiler
    Names undergo a character change.
    All spots after the new name are FF.
    68-77h: OT Name
    Spoiler
    OT name undergoes a character change.
    All spots after the new OT name are FF.
    86h: HGSS PokeBall
    Spoiler
    Set to 00.
    87h: Pokethlon Hex
    Spoiler
    Set to 00. Untested, but theorized as observed in Pokeshifted.
    It starts off as 00 in HGSS until you actually use it to participate. Nothing of value was lost.


    They will activate with the correct met location and need a Fateful Encounter flag.


    Pokemon sent to/from the Dream World
    Spoiler
    Pokemon sent to the Dream World have nothing special added to the hex, they appear exactly as they were before they were put in (Happiness+Checksum is the only difference).

    Pokemon from the Dream World have their own met locations, and the 42h flag if they have a Dream World ability. Some may have special moves.
    Pokemon Caught in a Dream Ball have an 83h of 19 (Dream Ball)


    Edit: (April) There ARE trash bytes this generation. See page 4.
    Last edited by Kaphotics; Apr 13th, 2011 at 04:59 AM. Reason: complete, added link to pokegen

  7. #7

    Re: Hex Values and Trashbytes in B/W

    Hmm ..
    Maby i am getting something wrong here but it
    seems that none of my Pokemons Hidden Values match the List of Natures.
    Actualy some of my pokemon with the same nature have different Values.

    Maby you want to take a looka t my Sazando.
    it is actualy modest with 17 in 41h.
    Attached Files

  8. #8

    Re: Hex Values and Trashbytes in B/W

    Quote Originally Posted by RyuuShin View Post
    Hmm ..
    Maby i am getting something wrong here but it
    seems that none of my Pokemons Hidden Values match the List of Natures.
    Actualy some of my pokemon with the same nature have different Values.

    Maby you want to take a looka t my Sazando.
    it is actualy modest with 17 in 41h.
    No, you are probably reading the Katakana wrong. I've checked my Careful and Modest ones in game and their hexes match, and they line up with the save editors.



    Hex Changes of PokeShifted Pokemon (Gen 3/4 to Gen 5) [Last Update: 9/26 3:48 PDT]
    Spoiler
    0A-0Bh: Held Item
    Spoiler
    Can't shift something with an item.
    Thus the hex for both of these positions must be zero for a freshly shifted Pokemon.
    41h: Nature
    Spoiler
    All PokeShifted Pokemon receive a 41h according to their nature. See nature hex map above.
    42h: Dream World Flag Hex
    Spoiler
    No Shifted Pokemon should have a value other than 00. No Generation 4 Pokemon can have Dream World Abilities.
    Thus this value remains unchanged from 00.
    44-47h: PtHGSS Locations
    Spoiler
    PtHGSS locations are dropped on Shifting. All should be zeroes.
    48-5Dh: Nickname
    Spoiler
    Names undergo a character change.
    Pal Park, Egg, and Mystery Gift Pokemon trash bytes are kept, but the last 2 hex slots are chopped with 2 terminators (FF FF)
    All Generation 5 PKM (nick)names end with 2 terminators (FF FF)
    No trash bytes added/changed, only chopped.
    68-77h: OT Name
    Spoiler
    OT name undergoes a character change.
    Eggs: No trash bytes -> No trash bytes to chop. Name characters are changed to B/W, and nothing else changes.
    Pal Parked: Pal Park, Egg, and Mystery Gift Pokemon trash bytes are kept, but the last 2 hex slots are chopped with 2 terminators (FF FF).
    All Generation 5 PKM OTs end with 2 terminators (FF FF).
    No trash bytes are added, only chopped.
    7E-81h: Egg Location + Met Location
    Spoiler
    Egg location hex is kept. ie 2000=Daycare Couple [D0 07] remains (from HGSS).
    Met location must be [31 75] 30001 decimal, the new location for all PokeShifted Pokemon.
    No met data from other generations is preserved, thus it must be 30001 (decimal).
    82h: Pokerus
    Spoiler
    No change from generation 4 convention, thus it is unchanged. 00 uninfected, 10 cured, 11 infected.
    85h: Encounter Type
    Spoiler
    Encounter Type of shifted Pokemon stays.
    86h: HGSS Pokeball
    Spoiler
    04 (pokeball) went to 00, which is pretty inconclusive. Need to test more.
    87h: HGSS Pokethlon Stats
    Spoiler
    Set to 00. Wiped.


    I do not see evidence for a trash byte algorithm. All trash from generation 4 stays. Yay? (long live trashbytes.exe, gotta chop tho!)
    All that remains to check is just HGSS Ball, Mystery Gift confirmations, Fateful Encounters, and Japanese Pokemon shifting. After that I'll post an entire revised list of what changed so that someone can make a converter!
    Last edited by Kaphotics; Sep 26th, 2010 at 06:52 AM.

  9. #9

    Re: Hex Values and Trashbytes in B/W

    Ok i found the reason for my confusion.
    A Bug in my software made me see different Values.
    Your List seems to be perfectly fine.

    Thank you for your work.

    Also the Natures are written in Hiragana ;P

    I Have tried to alter the celebi data so that it will look migrated with shifter
    but the event still doesent activate.
    Last edited by RyuuShin; Sep 26th, 2010 at 09:11 AM.

  10. #10

    Re: Hex Values and Trashbytes in B/W

    Quote Originally Posted by RyuuShin View Post
    I Have tried to alter the celebi data so that it will look migrated with shifter
    but the event still doesent activate.
    As have I, I'd think that it would need to be transferred as opposed to shifting.

    Getting a real one shifted, and I'll get back on that.

  11. #11

    Re: Hex Values and Trashbytes in B/W

    Transfer Machine Pokemon (Crown + Eigakan)
    Spoiler
    Met Location
    Spoiler
    Unused (Can still Activate Event):
    30010 for Celebi
    30012 for Entei/Raikou/Suicune,
    Used (Can not Activate Event):
    30011 for Celebi
    30013 for Entei/Raikou/Suicune
    Fateful Encounter Flag
    Spoiler
    Flagged.
    41h
    Spoiler
    Adjusts to new nature standard.
    Zoroark/Zoroa Met Locations
    Spoiler
    Zoroark: 72
    Zoroa: 8
    Nothing special about them.


    They will activate with the correct met location (and probably need a Fateful Encounter flag too.


    I'd need Transferred PKMs to figure out if anything else changes.

  12. #12

    Re: Hex Values and Trashbytes in B/W

    Another question .
    Is there anything known about changes in PID/IV relationship in B/W ?

  13. #13

    Re: Hex Values and Trashbytes in B/W

    Quote Originally Posted by RyuuShin View Post
    Another question is there anything known about changes in PID/IV relationship in B/W ?
    Not this early.

    When the RNG is cracked you will get the IVPID relationship, but problems with no$ =

  14. #14

    Re: Hex Values and Trashbytes in B/W

    Ok i see.
    I didnt expect it anyway but you never know. ^^

    Also is there anything Special about Dream World Pokemon ?
    Some Pokemon only make sense with their new Dream World Abilitys so i want to be able to create those.

  15. #15

    Re: Hex Values and Trashbytes in B/W

    Quote Originally Posted by RyuuShin View Post
    Ok i see.
    I didnt expect it anyway but you never know. ^^

    Also is there anything Special about Dream World Pokemon ?
    Some Pokemon only make sense with their new Dream World Abilitys so i want to be able to create those.
    Yes you can with the 42h being flagged. See post #8! Since there haven't been any dream world pokemon given out by global link yet, I'm unsure whether or not changing to a dream world ability will change the IVPID, or will just flag it. (I hope it just gets flagged).

    If you want to breed dream world Pokemon, have a female (mother) with the 42h flagged+ability and breed it with a compatible male, and it's ~50%. That way you can get a legitimate PID and get the DW ability legitimately (sort of ;D)

+ Reply to Thread
Page 1 of 4
1 2 3 4 LastLast

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
PPN Top 50