PokemonMakerV4x Help and 80 bytes Make a Pokemon v0.09 11/16/2005 12:15 PM CST by kpdavatar Table of contents ----------------- 0) Disclaimer 1) No CodeSave Link (virus programs like) 2) CodeSave Link (virus programs hate) 3) Quick Help 4) Note: Fire/Leaf/Emerald 5) CodeSave Help 6) Getting somefile.xpc into ActionReplay 7) Pictures 8) Thanks 9) Things I use to make pokemon 10) Finding your pokemon Finding the 80 bytes that make your Pokemon 11) Pokemon Data using 80 bytes and PokemonMaker to find data about your Pokemon 12) Trainer Info: 12a) Trainer Name Code 12b) Trainer Gender code 12c) Trainer Secret ID Code 12d) Trainer Id Code 12e) Warning!!! 13) Pokemon Info: 13a)Mirage Island Code 13b) Pokemon Name Code 14) Stats: 14a) DV Note: Hidden Power 15) 80 bytes Make a Pokemon 16) Byte0-Byte3 RevesePokemonID Nature Gender(if any) Unown Shape How ABCD Structure Order is stored. part of the Shiny Pokemon. and part of the ABCDStructure encryptionKey 17) Byte4-Byte7 ReverseOTrainerIDs Original Trainer Secret ID Byte7-Byte6 Original Trainer ID Byte5-Byte4 part of the Shiny Pokemon. and part of the ABCDStructure encryptionKey. 18) ABCDStructure encryptionKey 19) Shiny Pokemon 20) Byte8-Byte17 Translated Name of Pokemon 20a) Name Tricks using the "#" 20b) Hiding data 21) Byte18-Byte19 Font Font Code 22) Byte20-Byte26 Translated Original TrainerName 23) Byte27 Marks 24) Byte28-Byte29 0000 25) Byte30-Byte31 CheckSum 26) Byte32-Byte79 RereseEncryptedABCDStructure 26a) EncyptedABCDStructure 26b) ABCDStructure 27) AStructure Type of Pokemon (PokemonGameNumber) What the Pokemon is holding Exp How many PPups have been used on a Move Happyness 27a) AStructure0 ItemHeld 27b) AStructure0 PokemonGameNumber 27c) AStructure1 Exp 27d) AStructure2 Happy Move1UsedPPups Move2UsedPPups Move3UsedPPups Move4UsedPPups 28) BStructure Move2 and Move1 Move4 and Move3 PP4 PP3 PP2 PP1 28a) BStructure0 Move2 and Move1 28b) BStructure1 Move4 and Move3 28c) BStructure2 PP4 PP3 PP2 PP1 29) CStructure Efforts(EV's) Contest Stats(CV's) 29a) CStructure0 HPEffort AttackEffort DefenceEffort SpeedEffort 29b) CStructure1 SpecialAttackEffort SpecialDefenceEffort Cool Beauty 29c) CStructure2 Smart Cute Tough Luster 30) DStructure Pokerus LocationCaught LevelMet GameFrom BallCaughtWith OriginalTrainerGender DV's EggFlag AbilityUsed Ribbons Obedient 30a) DStructure0 Pokerus LocationCaught LevelMet GameFrom BallCaughtWith OriginalTrainerGender 30b) DStructure1 DV's EGGFlag AbilityUsed 30c) DStructure2 Ribbons Obedient ========== 0) Disclamier ========== I do NOT work for Nintendo. (Maker of Gameboy Advance) I do NOT work for Game Freak. (Maker of Pokemon Games) I do NOT work for Datel. (Maker of ActionReplay) I have NOT been schooled in JavaScript or HTML or HTA. I do this as a hobby. I have been learning JavaScript, HTML, and HTA as I program. I have been looking at pokemon's 80 bytes to make program the PokemonMaker. USE AT YOUR OWN RISK! USE AT YOUR OWN RISK! USE AT YOUR OWN RISK! I do test it on my USA ActionReplay and USA Pokemon Ruby/Sapphire/Fire/Leaf. As far as I know, it works. But what do I know? =========== 1) No CodeSave =========== http://www.boomspeed.com/kpdavatar/PokemonMakerV4x.html Wait for Load 350k ========= 2) CodeSave ========= Note: Newer ActionReplays can NOT link to the PC! So, you can't use CodeSaves! http://www.boomspeed.com/kpdavatar/PokemonMakerV4x.hta Wait for Load 370k Note: Virus programs don't like .hta ========== 3) Quick Help ========== How to use PC Pokemon Codes. Make sure no Pokemon you want is in Box ? Spot ? or it is bye bye to that pokemon. Use (m) code and one PC Pokemon code at a time. 1) Pokemon Ruby/Sapphire/Fire/Leaf/Emerald in ActionReplay v3 2) ActionRepaly v3+ in Gameboy Advance 3) Official (m) code on 4) Pokemon code on 5) start game 6) in Pokemon Center goto PC 7) Check Box ? Spot ? for Pokemon you made. 7a) If pokemon is NOT there then do NOT save. Check code one wrong digit in code can cause errors 7b) If BAD EGG then do NOT save. Check Code one wrong digit in code can cause errors 7c) if Pokemon is there and stats are good then you can clone pokemon by moving it from Box ? Spot ?, another pokemon will be made(even if you can't see it) then SAVE game. 8) turn OFF pokemon code. Making pokemon from nothing. 1) Set Game 2) Set ARv3 3) Scroll down to Trainer Info. 4) Set Trainer Info. 5) Scroll down to Pokemon Info. 6) Set Pokemon Info Set Pokemon Name Set Box and Spot Set Pokemon Random DV's Set Moves Change what you want 7) Scroll up 8) Click "^-Samples to Code-^" 9) Copy code Another way to make a Pokemon. 1) take a Pokemon PC code and paste it into code area 2) Click "V-Code to Samples-V" 3) goto 1 of Making pokemon from nothing. -------------------------- 4) Note: Pokemon Fire/Leaf/Emerald -------------------------- Do to the way Fire/Leaf/Emerald is programmed, the place in memory for the pokemon keeps moving while playing game. You need a Anti DMA code ON to make the codes work. CodeJunkies.com Official (m) code already has the anti DMA code in it. If you are not sure about the (m) code and Anti DMA code, In PokemonMaker, Select Game Select Cheat Device Check Output (m) Click ^-Samples to Code-^ and use the (m) and Anti DMA codes. Best if no other pokemon is near Box ? Spot ? of the pokemon you are making. So, the pokemon does not move to an area where you are making the new pokemon. ---------- 5) CodeSaves ---------- Note: Newer ActionReplays can NOT link to the PC! So, you can't use CodeSaves! Because Internet does not let direct access to your computer, you have to create a BLANK file. 1) Creating a Blank file. 2) Open Notepad 3) Click File 4) Click Save As 5) File Name: somefile.xpc 6) Remember where you put file! (I don't know where it is!) Because of CodeSave Option in HTML Application, Browser will ask if you want to OPEN webpage. Goto http://www.boomspeed.com/kpdavatar/PokemonMakerV4x.hta Wait for Load 370k Make a pokemon using above methods: Making pokemon from nothing. Another way to make a Pokemon. Once pokemon code is made, Check Output (m) if you want a (m) code in the CodeSave. You only need one (m) code in a Game. Type in GameName: This is the name of Game in ActionReplay examples: Pokemon Ruby Pokemon Sapphire Pokemon Mine Type in CodeName: This is the Pokemon Code Name in ActionReplay examples: Bulbasaur B1 S1 My Pokemon Click Browse... Find file YOU Created somefile.xpc Click <-Samples to CodeSave-< Warning! This will OVERWRITE somefile.xpc. Any codes in the codesave will be lost. Warning! This will OVERWRITE somefile.xpc. If you are using ARv1-2 or GSv1-2 then RENAME somefile.xpc to somefile.spc Note: Virus programs may ask if you want to stop write to CodeSave. If you stop it, no CodeSave will be written. -------------------------------------- 6) Getting somefile.xpc into ActionReplay -------------------------------------- Note: Newer ActionReplays can NOT link to the PC! So, you can't use CodeSaves! 1) Install ActionReplay Software on your computer Only done once. (Unless you uninstall it.) 2) Pokemon Ruby/Sapphire in ActionReplay 3) ActionReplay in Gameboy Advance 4) Link ActionReplay with USB cable to Computer 5) Start ActionReplay Computer Software 6) Wait for ActionReplay Software to LOAD 7) Turn ON Gameboy Advance 8) Wait till ActionReplay Menu appears 9) On computer Click Codes in ActionReplay Software 10) On computer Click AR GBX in ActionReplay Software 11) Wait for code to Download 12) Click Import 13) File Browse for somefile.xpc 14) wait for Update codes 15) On Gameboy Advance Click Select 16) Look for the GameName you type in when Creating CodeSave 17) Make sure you have a (m) code and it is ON 18) Turn ON ONE pokemon code 19) Pess start 20) At Pokemon Center Check PC Box ? Spot ? for Pokemon 21) if "BAD EGG" or Pokemon is not there do NOT save. check code for errors does Pokemon have DV's? 22) if pokemon is there then you can clone your pokemon by moving it. 23) Save when done 24) turn OFF pokemon code. ======== 7) Pictures ======== File Extension: examples: .png .gif .jpg Normal Dir: where the normal Pictures are. If the Normal pictures are in C:\PokemonMaker\Normal\ then use file:///C|/PokemonMaker/Normal/ Shiny Dir: where the shiny Pictures are. If the Shiny pictures are in C:\PokemonMaker\Shiny\ then use file:///C|/PokemonMaker/Shiny/ Note: C| is used! The file name for each Picture is the game number. This number is the same in every Pokemon Advance game. That is why I use it. If you don't know the game number of the Pokemon, use the PokemonMaker in Pokemon Info:PokeDex select Game and the number will be shown. example: Bulbasaur's Game number is 001 Chimecho's Game number is 411 277.png would be Treecko Some people don't like 001.png and use 1.png Lead Zeros: if checked adds leading zeros to Game Number Example: Bulbasaur 001.png (Checked) Bulbasaur 1.png (Not Checked) ========== 8) Thanks to: ========== Nintendo for making Gamboy Advance. Nintendo for making GameCube adapter for playing Gameboy Advance Games. No GBA, no games! Game Freak for making Pokemon Ruby/Sapphire/Leaf/Fire/Colosseum No game, no reason to make program! Datel for making ActionReplay v3 for Gameboy Advance. Needed for putting Pokemon in game! Needed for save game dump, even if it was 64k. Saves needed for find 80 bytes of a Pokemon. Raihan Kibria. Maker of the Hex editor I used to look at save games from ActionReplay. Needed to find 80 bytes to make a Pokemon. http://www.Codejunkies.com For codes on Pokemon. Parasyte gscentral.com For infomation on ActionReplay v3 codes http://pokefor.tk and http://pokefor.greenchu.de/meowth346/ for all the Images and Information on Pokemon. Soo much infomation on moves, Pokemon Abilities, Hidden Power... xyzman for the ABCD structure order and Special Ribbons. For the two bits of information I did not find by myself on Pokemon. BurleyEd gamefaqs.com For Info. on Fire/Leaf/Emerald, obediant Deoxy/Mew... http://steve_js.tripod.com/spc/index.html for his java Text2Spc.hta I looked at it to make ActionReplay CodeSave Like I said, I was never schooled in JavaScript, HTML, or HTA. mastersord for CB code types Pikachu 025 for byte18-19 0102 Font help LoadingNOW for his hacking DMA/Mem encrypt code for USA Fire/Leaf kenobi for his DMA/Mem code for Emerald gscentral.com for US Pokemon Fire/Leaf CB (m) codes ============================= 9) Things I use to make pokemon: ============================= GameBoy Advance (GBA) Pokemon Ruby Pokemon Sapphire Pokemon Fire Pokemon Leaf Pokemon Colosseum Older ActionReplay v3+ for Gameboy Advance with link cable (ARv3) Computer Hex editor Program I made PokemonMakerV4x.hta Program I made PokemonMakerV4x.html ===================== 10) Finding your pokemon Finding the 80 bytes that make your Pokemon ===================== Note: need an older ActionReplay that can link to a PC! ----------------------------- Things to do and Info. needed ----------------------------- Goto Pokemon Center Goto PC Place all Pokemon, you want to find, in PC Write down Names of Pokemon you want to find. Write down Box 1-14 Spot 1-30 for each Pokemon you want to find. Easier to find Pokemon Data, if pokemon has no other pokemon next to it. Write down TranerName. Write down TrainerID. Save GAME! ---------- Setup ---------- Install ARv3 Software on computer Once installed, you don't have to do again. Unless, you uninstall it. Hardwear setup Put Pokemon Ruby/Sapphire in ARv3 Put ARv3 in GBA Link USB cable from ARv3 to computer Software setup Start ARv3 computer Software Wait for program to load Turn on GBA Wait for ARv3 menu ---------- SaveGame ---------- Once setup is done in ARv3 computer Software Click Saves Click Download Wait untill finished This will download 64k GameSave with ".xps" WARNING!!! Do NOT restore your game! WARNING!!! Do NOT restore your game! ARv3 only saves 64k. Pokemon Ruby/Sapphire use 128k saves. Restore will corrupt your game. WARNING!!! Do NOT restore your game! WARNING!!! Do NOT restore your game! Now you can turn off GBA and ARv3 Software. ---------------- Finding SaveGame ---------------- Open HexEditor Open file Default directory C:\Program Files\Datel\ActionReplayGBX\Savedgames File type ".xps" SomeGame.xps -------------- HexEditor Note -------------- There are MANY types of HexEditors out there. Some have different modes. There is: Quad Word (64 bit) Double Word (32 bit) Word (16 bit) Byte ( 8 bit) I set mine to Byte mode. Order of bytes: Little-Endian (Intel) LowOrderByte to HighOrderByte 305,419,896-Decimal is stored as 78 56 34 12-Hexadecimal "SharkP" is stored as 53 68 61 72 6b 50-Hex "Sh" "ar" "kP" Big-Endian (Motorola) HighOrderByte to LowOrderByte 305,419,896-Decimal is stored as 12 34 56 78-Hexadecimal "SharkP" is stored as 68 53 72 61 50 6b-Hex "hS" "ra" "Pk" I set mine to Little-Endian (Intel). (compatable with SaveGame.xpc) --------------- Finding Pokemon --------------- Translate Name to Pokemon Character Hex 00 =" " 1B = é BB = A D5 = a A1 = 0 BC = B D6 = b A2 = 1 BD = C D7 = c A3 = 2 BE = D D8 = d A4 = 3 BF = E D9 = e A5 = 4 C0 = F DA = f A6 = 5 C1 = G DB = g A7 = 6 C2 = H DC = h A8 = 7 C3 = I DD = i A9 = 8 C4 = J DE = j AA = 9 C5 = K DF = k AB = ! C6 = L E0 = l AC = ? C7 = M E1 = m AD = . C8 = N E2 = n AE = - C9 = O E3 = o AF = . center CA = P E4 = p B0 = .. CB = Q E5 = q B1 = " start Quote CC = R E6 = r B2 = " end Quote CD = S E7 = s B3 = ' star single Quote CE = T E8 = t B4 = ' end single Quote CF = U E9 = u B5 = Male D0 = V EA = v B6 = Female D1 = W EB = w B7 = Pokemon Money D2 = X EC = x B8 = , D3 = Y ED = y B9 = x multiply D4 = Z EE = z BA = / examples: Milo = C7 DD E0 E3 DEOXYS = BE BF C9 D2 D3 CD CASCOON = bd bb cd bd c9 c9 c8 Search for Translated name Example: CASCOON = bd bb cd bd c9 c9 c8 005560: 00 00 00 00 00 00 00 00 00 00 9d e8 47 ff e1 dd 005570: 6e 3b bd bb cd bd c9 c9 c8 ff 80 43 02 02 c5 d9 005580: e2 ff ff ff ff 00 a4 f1 00 00 7c 35 29 c4 7c 35 005590: 29 c4 7c 35 29 c4 59 34 29 c4 01 35 29 c4 7c 73 0055a0: 29 c4 7c 0e ac e4 58 75 f8 c9 7c 35 29 c4 16 35 0055b0: 29 c4 7c 35 29 c4 62 35 29 c4 00 00 00 00 00 00 Pokemon Name starts at 005572: bd bb cd bd c9 c9 c8 ff Now count 8 bytes back 00556a: 9d e8 47 ff e1 dd 005570: 6e 3b 00556a is the start of CASCOON pokemon. Count 80 bytes to end of pokemon 00556a: 9d e8 47 ff e1 dd 005570: 6e 3b bd bb cd bd c9 c9 c8 ff 80 43 02 02 c5 d9 005580: e2 ff ff ff ff 00 a4 f1 00 00 7c 35 29 c4 7c 35 005590: 29 c4 7c 35 29 c4 59 34 29 c4 01 35 29 c4 7c 73 0055a0: 29 c4 7c 0e ac e4 58 75 f8 c9 7c 35 29 c4 16 35 0055b0: 29 c4 7c 35 29 c4 62 35 29 c4 0055b9 is the end of CASCOON pokemon. There is not always zeros around the pokemon data. This Pokemon had no other Pokemon before or after it. What I type into Notebook, 4 bytes at a time, to copy data ---------------------------------------------------------- SaveGame Pokemon Sapphire 04/27/2004 07:23 PM CST 00556a: CASCOON pokemon Box 1 Spot 12 9de847ff e1dd6e3b bdbbcdbd c9c9c8ff 80430202 c5d9e2ff ffffff00 a4f10000 7c3529c4 7c3529c4 7c3529c4 593429c4 013529c4 7c7329c4 7c0eace4 5875f8c9 7c3529c4 163529c4 7c3529c4 623529c4 -------------------------------------------------------- ============ 11) Pokemon Data using 80 bytes and PokemonMaker to find data about your Pokemon ============ Copy from Here: 9de847ff e1dd6e3b bdbbcdbd c9c9c8ff 80430202 c5d9e2ff ffffff00 a4f10000 7c3529c4 7c3529c4 7c3529c4 593429c4 013529c4 7c7329c4 7c0eace4 5875f8c9 7c3529c4 163529c4 7c3529c4 623529c4 :To Here Because of CodeSave Option in HTML Application, Browser will ask if you want to OPEN webpage. Goto http://www.boomspeed.com/kpdavatar/PokemonMakerv4x.hta Wait for load 370k Or open (no CodeSave) http://www.boomspeed.com/kpdavatar/PokemonMakerv4x.html Wait for load 350k Paste Pokemon info in Code: area Click "V-Code to Samples-V" Log: should be Code Extraction 80-Bytes Found: 9de847ff e1dd6e3b bdbbcdbd c9c9c8ff 80430202 c5d9e2ff ffffff00 a4f10000 7c3529c4 7c3529c4 7c3529c4 593429c4 013529c4 7c7329c4 7c0eace4 5875f8c9 7c3529c4 163529c4 7c3529c4 623529c4 CheckSum:F1A4 Done. Set Game: My case US/UK Pokemon Set ARv3 This will make a ARv3 code for Copy of CASCOON Box 1 Spot 1 Not a Clone but a Copy of CASCOON (Will explain later in Notes Byte0-Byte3 Byte8-Byte17 Byte20-Byte26) Scroll down CodeSave Info: Explained above Code Information: will explain later ------------- 12) Trainer Info: ------------- Ken :OT Trainer This is the Pokemon's Original Trainer(OT)'s Name. Me! 5214 :OT SecretID This is the Pokemon's OT's Secret ID. A hidden number you can't see when playing game. Will explain later 56801 :OT ID This is the Pokemon's OT's ID. This is the Trainer ID on your Trainer Card if you Origionally owned the Pokemon. OT Gender: Boy This is the Pokemon's OT's Gender. Code Check-Boxes 1) Select Pokemon Game 2) Select Cheat Device 3) Scroll down to Trainer Info: 12a) Trainer Name Code -------- 4) Type in Trainer Name Code: These are for making codes to change your TRAINER data in the game. If you want to change your Trainer Name. goto 5 12b) Trainer Gender code -------- 4) Select Gender goto 5 12c) Trainer Secret ID Code -------- 4) This code will change your secret id! type in a Number 0 to 65535 goto 5 12d) Trainer ID Code -------- 4) This code will change your id! type in a Number 0 to 65535 goto 5 5) Scroll up 6) Click ^-Samples to Code-^ 7) write down code in code window 11e) Warning!!! If you have caught Pokemon and change Trainer Name or Trainer Secret ID or Trainer ID, the Pokemon will think you are not thier Original Trainer. (You will not be able to change thier name with the Name Rater) ------------- 13) Pokemon Info: ------------- Pictures can only be seen if you fill in Picture Info like above 7) Pictures 13a) Mirage Island Code: Each time you turn on GBA with Pokemon Ruby/Sapphire/Emerald a random number is Generated. When you go to Pacifidlog Town and talk to the man who looks for the island, The random number is compared to the first 2 bytes of each pokemon with you. If the random number matches any of them he will see the island. Checking this will make a code to replace the random number with the first two bytes of the pokemon code created. You will be able to get to Mirage Island with that Pokemon and this Mirage Island code. Name: CASCOON This is the Pokemon's Name. 13b) Pokemon Name Code Code: Check this if you want to create a code to change just the Pokmon's Name. Example: Pokemon Name Code: Casy Scroll UP Click ^-Samples to Code-^ Box:1 Spot:1 EF646AA1 D12123DE B9E12D8B 76026288 15759B74 F91571DD Will change Name of Pokemon in Box 1 Spot 1 to Casy Box: 1 Spot: 1 Use to make code in different Box and Spot. Box: 1-14 Spot 1-30 Ball Caught: Poke Ball What Ball was used to Catch this Pokemon. PokeDex: National - Shows National PokeDex Number for Pokemon Hoen - Shows Hoen PokeDex Number for Pokemon Game - Shows Universal Number for Pokemon for Pokemon Ruby/Sapphire/Fire/Leaf/Emerald/Colossuem This number is hidden in the game and can not be seen. It is used for trading, so each game knows what pokemon is traded. #: is the PokeDex Number Can't be changed directly. Sort By: sorts Pokemon by Number,Alphabetical,Fighting,... Pokemon: CASCOON What pokemon is it. Obedient: Some pokemon will NOT trade, if this is NOT checked. Mew, Deoxys, Lugia are some known pokemon that needs this checked. Type: Bug Can't be changed Just there so people know what type pokemon it is. Ability: Shed Skin There are two Options for each pokemon Ability Most have One Ability or No Ability. But some have have one of two abilities. Tentacruel has Clear Body or Liquid Ooze. Unown: R This is the Unown Shape if Pokemon was an Unown. Gender: Boy Boy - Pokemon is a Boy Girl - Pokemon is a Girl None - Some Pokemon have No Gender Shiny: if checked will make a Shiny Pokemon Code. Pokerus: if checked will give Pokerus virus to pokemon. Pokerus is a GOOD virus. If helps raise pokemon stats faster. Circle: Square: Triangle: Heart: Check if you want Marks on your Pokemon. Happy: 70 How happy a pokemon is with you. 0 bad to 255 good Note: if EGG Flag is Checked, Egg will hatch ~ Happy * 256 steps 0 Happy Egg will hatch within 255 steps. 255 Happy Egg will hatch within 65,280 steps. Min 0 to Max 255 Egg Flag: If checked the code will generate an EGG instead of a Pokemon. Note: When a Pokemon Hatches, Level 5 pokemon. Efforts are set to zero. Contest Stats are set to zero. No Item is held. Ribbons are cleared. If you want Shiny eggs, Trainer Info. must match OT Trainer Info. Nature: Timid (+Spe/-Atk) Nature is used (with exp., Effort, DV's) to calculate the IV stats. This pokemon Speed Stat is increased but Attack Stat is decreased. Lvl (met): 5 This pokemon was met at level 5 if("Lvl (met)" > 0) then number equals the level at which the pokemon was met. if("Lvl (met)" = 0) AND ('Trainer Info' NOT equal to 'OT Trainer Info') then Level 5 (met) if("Lvl (met)" = 0) AND ('Trainer Info' EQUAL to 'OT Trainer Info') the Level 5 (EGG) Min 0 to Max 255 Location: Pokemon Sapphire 3B Petalburg Woods [THE UNDER SUBWAY] This is what game pokemon came from. Pokemon Sapphire Pokemon Ruby /Emerald/ {Pokemon Fire} {Pokemon Leaf} [Pokemon Coloseum] Numbers are unknown games at this time. Note: // Emerald {} for Fire/Leaf [] for Colosseum Eaxmple: 3B Petalburg Woods [THE UNDER SUBWAY] Location 3B Petalburg Woods for Ruby/Sapphire [THE UNDER SUBWAY] for Colosseum no {} Obtained in trade for Fire/Leaf. 58 {Pallett Town}[MT. BATTLE] Location 58 Obtained in trade for Ruby/Sapphire {Pallett Town} for Fire/Leaf [MT. BATTLE] for Colosseum Note: You should match Game with Location Jirachi Pokemon Ruby and fateful encounter. Pokemon Sapphire and {Pallett Town} do not match, the location is not in the game. Item Held: The Item held by the pokemon If pokemon is an Egg then when egg hatches Item is cleared. Sort By: Sorts Items Note: You should not give KEY items from non compatable games to a pokemon. example: Giving a [D-Disk] in Ruby/Sapphire/Leaf/Fire, is only good if you trade pokemon to Colosseum. ---------- 14) Stats: ---------- Hidden Power: 55 It is hidden number generated by the DV's You can't change this directly. see DV's for more info. Type: Rock This is the Hidden Type for the pokemon. It is hidden Type generated by the DV's This pokemon is better againt Rock type moves. If Pokemon used a Rock Type Move more power to the move is given. You can't change this directly. Exp: 125 Number of exp. pokemon has. This, plus what Pokemon it is, are used to calculate Level Min 0 to Max depends on Pokemon NextLv: 91 Number of more exp. needed to reach next level. Can't be changed directly IV Stats at Lvl: 5 Stats below are IV's Lvl: 5 is the Level of the Pokemon If changed then exp. will change. Min 0 to Max 100 DV's: DV's are used (with exp.,Nature, Effort) to calculate the IV stats. They are also used to calculate Hidden Power and Hidden Type. Min 0 to Max 31 Once set they never change in a Pokemon. Hit Points: 4 High the number the higher IV HP will be. Attack: 1 High the number the higher IV Atk will be. Defence: 16 High the number the higher IV Def will be. Special Attack: 29 High the number the higher IV SpAtk will be. Special Defence: 6 High the number the higher IV SpDef will be. Speed: 2 High the number the higher IV Spe will be. This Pokemon is good against Special Attacks. 14a) DV Note: A Pokemon should have Random DV's Max DV's are not the best for your pokemon! Hidden Power is calculated using DV's example: HPDV=30 AtkDV=30 DefDV=30 SpADV=31 SpDDV=31 SpeDV=30 Will make a Pokemon with hidden Power of 70 Electric. Making it more powerful with Electric moves and against Electric attacks Efforts:(EV's) Each time a pokemon battles, the pokemon may get stronger in some stats. Protien/Carbs/Iron/... also raise Effort. Effort change over time. Min of 0 Max of 255 for Each. MaxSum of all should be 510! Effort's are used (with exp.,Nature, DV's) to calculate the IV stats. Hit Points: 0 High the number the higher IV HP will be. Attack: 0 High the number the higher IV Atk will be. Defence: 0 High the number the higher IV Def will be. Special Attack: 0 High the number the higher IV SpAtk will be. Special Defence: 0 High the number the higher IV SpDef will be. Speed: 0 High the number the higher IV Spe will be. This Pokemon was never in a battle. Note: Maxed effort will NOT trade with Pokemon Colosseum The Sum of the Efforts should NOT go above 510. Eff Sum: 0 So you can see Sum of Efforts. IV Stats These are the Stats you see in the PokeDex. HP 20 Atk 7 Def 11 SpAtk 8 SpDef 7 Spe 6 ========== Moves ========== Sort By: used to Sort the moves out Moves 1: to Move 4: Can be any move you want. Should be a move the pokemon should normaly get. PP1: to PP4: Number of PP move has left. Note: Auto set to default PP when change Move 1: to Move 4: Used PP Ups1: to Used PP Ups4: Number of PP ups used. Min 0 to Max 3 Type Type of move Can't be changed! Just there so you can see what type it is. Power Power of move Can't be changed! Just there so you can see what Power it has. Accuracy Accuracy of move Can't be changed! Just there so you can see what Accuracy it has. Description Description of move Can't be changed! ============= Contest Stats ============= These are the stats that are raised, when you give a Pokemon PokeBlocks. When Luster is full the Pokemon will not take another PokeBlock. Cool: Min 0 to Max 255 Beauty: Min 0 to Max 255 Cute: Min 0 to Max 255 Smart: Min 0 to Max 255 Tought: Min 0 to Max 255 Luster: Min 0 to Max 255 ---------- Ribbons ---------- These are Ribbons obtained in game and events. Contest Ribbons Cool Ribbon: None Normal Verdanturf Town Contest Super Fallarbor Town Contest Hyper Slateport City Contest Master Lilycove City Contest Beauty Ribbon: None Normal Verdanturf Town Contest Super Fallarbor Town Contest Hyper Slateport City Contest Master Lilycove City Contest Cute Ribbon: None Normal Verdanturf Town Contest Super Fallarbor Town Contest Hyper Slateport City Contest Master Lilycove City Contest Smart Ribbon: None Normal Verdanturf Town Contest Super Fallarbor Town Contest Hyper Slateport City Contest Master Lilycove City Contest Tough Ribbon: None Normal Verdanturf Town Contest Super Fallarbor Town Contest Hyper Slateport City Contest Master Lilycove City Contest Extra Ribbions Champion Beat Elite Four and Champion Battle Lvl 50 Beat Battle Tower Level 50 Battle Lvl 100 Beat Battle Tower Level 100 Sketch Ribbon Beat All Normal Verdanturf Town Contest Super Fallarbor Town Contest Hyper Slateport City Contest Master Lilycove City Contest with Max Luster and Max Hearts Hard Worker Max efforts Special Ribbons These ribbions can be set for special events and other games. Special Ribbon 1 Special Ribbon 2 Special Ribbon 3 Special Ribbon 4 Special Ribbon 5 Special Ribbon 6 Special Ribbon 7 Example: In Pokemon Colosseum if you purify a Pokemon Special Ribbon 5 is set to "RIBBON awarded for clearing all difficulties" ======================= 15) 80 bytes Make a Pokemon ======================= Here I explain the 80 bytes that make a Pokemon SaveGame Pokemon Sapphire 04/27/2004 07:23 PM CST 00556a: CASCOON pokemon Box 1 Spot 12 9de847ff Byte0-Byte3 e1dd6e3b Byte4-Byte7 bdbbcdbd Byte8-Byte11 c9c9c8ff Byte12-Byte15 80430202 Byte16-Byte19 c5d9e2ff Byte20-Byte23 ffffff00 Byte24-Byte27 a4f10000 Byte28-Byte31 7c3529c4 Byte32-Byte35 7c3529c4 Byte36-Byte39 7c3529c4 Byte40-Byte43 593429c4 Byte44-Byte47 013529c4 Byte48-Byte51 7c7329c4 Byte52-Byte55 7c0eace4 Byte56-Byte59 5875f8c9 Byte60-Byte63 7c3529c4 Byte64-Byte67 163529c4 Byte68-Byte71 7c3529c4 Byte72-Byte75 623529c4 Byte76-Byte79 ----------- 16) Byte0-Byte3 ----------- I call RevesePokemonID To get PokemonID Reverse Byte order 9de847ff RevesePokemonID wwxxyyzz ff47e89d PokemonID 4,282,902,685-Dec zzyyxxww Byte3-Byte0 Used for: Nature Gender(if any) Unown Shape How ABCD Structure Order is stored. part of the Shiny Pokemon. and part of the ABCDStructure encryptionKey. Note: When I create a Pokemon I Randomize the PokemonID. If you want a CLONE of your pokemon, Uncheck- Use Random PIDS: To prevent Randomized PokemonID. ------ Nature ------ PokemonID Mod 25-Dec = Nature 4,282,902,685-Dec Mod 25 = 10 PokemonID Mod 19-Hex = Nature ff47e89d Mod 19 = A Finding Nature of a Pokemon 00 = Hardy 01 = Lonely 02 = Brave 03 = Adamint 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 Pokemon is Timid ------ Gender Byte0 ------ PokemonID Mod 256-Dec = GenderGene 4,282,902,685-Dec Mod 256-Dec = 157-Dec PokmeonID Mod 100-Hex = GenderGene ff47e89d Mod 100-Hex = 9d-Hex Different Pokemon have different ranges for gender. Range 0-255 "For No gender" Range 0-255 "For Always Male" Range 0-255 "For Always Female" Range 0-30 = Female For "12.5% Female 87.5% Male" Range 31-255 = Male For "12.5% Female 87.5% Male" Range 0-62 = Female For "~25% Female ~75% Male" Range 63-255 = Male For "~25% Female ~75% Male" Range 0-126 = Female For "50% Female 50% Male" Range 127-255 = Male For "50% Female 50% Male" Range 0-190 = Female For "75% Female 50% Male" Range 191-255 = Male For "75% Female 50% Male" Cascoon is a "50% Female 50% Male" 157 = Male --------------------- Unown Shape(if Unown) --------------------- is found by selecting certain bits from the PokemonID ff47e89d-Hex = 1111 1111 0100 0111 1110 1000 1001 1101-Binary Looking at Pokemon ID in Binary 1111 1111 0100 0111 1110 1000 1001 1101-Binary -------WW--------XX--------YY--------ZZ Bit32-Dec to Bit00-Dec Bits26-25 WW "11" Bits17-16 XX "11" Bits09-08 YY "00" Bits01-00 ZZ "01" Are combined together WWXXYYZZ "1111 0001"-Binary In Hex F1-Hex Then MOD 28-Dec or 1C-Hex F1 Mod 1C = 11-Hex 00=A 01=B 02=C 03=D 04=E 05=F 06=G 07=H 08=I 09=J 0A=K 0B=L 0C=M 0D=N 0E=O 0F=P 10=Q 11=R 12=S 13=T 14=U 15=V 16=W 17=X 18=Y 19=Z 1A=! 1B=? 11="R" is the Unown Shape.(if it where an Unown) Math way Bits26-25 WW "11" Bits17-16 XX "11" Bits09-08 YY "00" Bits01-00 ZZ "01" ZZ= Math.floor(PokemonID Mod 4) YY=(Math.floor(PokemonID/256)Mod 4) * 4 XX=(Math.floor(PokemonID/65536)Mod 4) * 16 WW=(Math.floor(PokemonID/16777216)Mod 4) * 64 Combine = WW + XX + YY + ZZ Unown = Math.floor(Combine Mod 28) ----------------------------------- How ABCD Structure Order is stored. ----------------------------------- Thanks xyzman ABCDOrder = Math.floor(PokemonID Mod 24-Dec) 4,282,902,685-Dec Mod 24-Dec = 13-Dec ABCDOrder = Math.floor(PokemonID Mod 18-Hex) ff47e89d Mod 18-Hex = D-Hex 00 = "ABCD" 01 = "ABDC" 02 = "ACBD" 03 = "ACDB" 04 = "ADBC" 05 = "ADCB" 06 = "BACD" 07 = "BADC" 08 = "BCAD" 09 = "BCDA" 0A = "BDAC" 0B = "BDCA" 0C = "CABD" 0D = "CADB" 0E = "CBAD" 0F = "CBDA" 10 = "CDAB" 11 = "CDBA" 12 = "DABC" 13 = "DACB" 14 = "DBAC" 15 = "DBCA" 16 = "DCAB" 17 = "DCBA" 0D = "CADB" is the order for ABCD in the ABCDStructure ABCDOrder = "CADB" ----------- 17) Byte4-Byte7 ----------- e1dd6e3b Byte4-Byte7 ReverseOTrainerIDs To get OTrainerIDs Reverse Byte order e1dd6e3b ReverseOTrainerIDs wwxxyyzz 3b6edde1 OTrainerIDs 997,121,505-Dec zzyyxxww Byte7-Byte4 Used for: OTrainerSecretID Byte7-Byte6 OTrainerID Byte5-Byte4 part of the Shiny Pokemon. and part of the ABCDStructure encryptionKey. zzyy High Order Word is OTrainerSecretID Byte7-Byte6 OTrainerSecretID Byte7-Byte6 OTrainerSecretID = Integer(OTrainerIDs/65536-Dec) OTrainerSecretID = Integer(OTrainerIDs/10000-Hex) 3b6e = 15214-Dec xxww Low Order Word is OTrainerID Byte5-Byte4 OTrainerID Byte5-Byte4 OTrainerID = OTrainerIDs Mod 65536-Dec OTrainerID = OTrainerIDs Mod 10000-Hex dde1 = 56801-Dec --------------------------- 18) ABCDStructure encryptionKey --------------------------- encryptionKey I call XKey is found by XOR'ing PokemonID with OTrainerIDs ff47e89d PokemonID Byte3-Byte0 3b6edde1 OTrainerIDs Byte7-Byte4 ff47e89d Xor 3b6edde1 = C429357C = XKey ------------- 19) Shiny Pokemon ------------- Found by XOR'ing (High Order of XKey) with (Low Order of XKey) If XResult < 8 then Pokemon is Shiny XKeyHigh = Integer(XKey/65536-Dec) XKeyHigh = Integer(XKey/10000-Hex) XKeyLow = XKey Mod 65536-Dec XKeyLow = XKey Mod 10000-Hex C429357C = XKey wwxxyyzz XKeyHigh = wwxx = C429 XKeyLow = yyzz = 357C XKeyHigh Xor XKeyLow = XResult C429 Xor 357C = F155 = XResult F155 is bigger than 8, so Pokemon is NOT Shiny ============ 20) Byte8-Byte17 ============ Translate Name to Pokemon Character Hex Max 10 Characters end in "FF" if Less than 10 Characters bdbbcdbd Byte8-Byte11 c9c9c8ff Byte12-Byte15 8043 Byte16-Byte19 bd bb cd bd c9 c9 c8 ff 80 43 C A S C O O N "ff" 80 43 The "80 43" is not used. If a Pokemon Name was 10 characters it would be overwriten. 00 = Space 00 =" " 1B = é BB = A D5 = a A1 = 0 BC = B D6 = b A2 = 1 BD = C D7 = c A3 = 2 BE = D D8 = d A4 = 3 BF = E D9 = e A5 = 4 C0 = F DA = f A6 = 5 C1 = G DB = g A7 = 6 C2 = H DC = h A8 = 7 C3 = I DD = i A9 = 8 C4 = J DE = j AA = 9 C5 = K DF = k AB = ! C6 = L E0 = l AC = ? C7 = M E1 = m AD = . C8 = N E2 = n AE = - C9 = O E3 = o AF = . center CA = P E4 = p B0 = .. CB = Q E5 = q B1 = " start Quote CC = R E6 = r B2 = " end Quote CD = S E7 = s B3 = ' star single Quote CE = T E8 = t B4 = ' end single Quote CF = U E9 = u B5 = Male D0 = V EA = v B6 = Female D1 = W EB = w B7 = Pokemon Money D2 = X EC = x B8 = , D3 = Y ED = y B9 = x multiply D4 = Z EE = z BA = / Note: ------------------------- 20a) Name Tricks using the "#" ------------------------- 1B = é Pokemon Name C#1BSCOON Will make pokemon name = CéSCOON Warning! Do not use #F0 to #FE in Name will Crash Game Warning! Other Notes: ------------ bd bb cd bd c9 c9 c8 ff 80 43 C A S C O O N "ff" 80 43 The "80 43" is not used. It is Garbage Not used. Pokemon Colosseum would end C A S C O O N "ff" 00 00 Zeros after ff When I make a Pokemon I fill with "ff". Byte8-Byte17 BD BB CD BD C9 C9 C8 FF FF FF C A S C O O N ff ff ff Clone ----- If you want to CLONE your pokemon, use #HexByte to fill in Name Example: PokemonName CASCOON#ff#80#43 This will in ff 80 43 at end of Pokemon Name In fact you could do this PokemonName #BD#BB#CD#BD#C9#C9#C8#FF#80#43 This is the same as CASCOON#ff#80#43 20b) Hiding data ----------- PokemonName C#1bS#ffKEN Would Hide KEN in the Pokemon Name In game you will only see CéS for PokemonName ------------- 21) Byte18-Byte19 ------------- Font For 80 bytes, Bytes are Right to Left: 0202 = Byte18-Byte19 0102 Japanese 0202 USA 0302 French 0402 Italian 0502 German 0602 0702 Spanish Pokemon from USA Codes, Bytes are Left to Right: So in PokemonMaker for Font 0201 Japanese 0202 USA 0203 French 0204 Italian 0205 German 0206 0207 Spanish On PokemonMaker in code area there is a Font. This is Byte19-Byte18, reversed for code! If you type in 0201 Then check the Code checkbox Scroll up Click ^-Samples to Code-^ you will get --- Font Code:0201 Box:1 Spot:1 066B3CDE 15E0F1A6 --- This will change the Box 1 Spot 1 Pokemon's Name font to Japanese Font. If you know how to translate the Japanese characters to a Pokemon Japanese font number, you could make a Pokemon with a Japanese Name! ------------- 22) Byte20-Byte26 ------------- Translate OTrainerName to Pokemon Character Hex Max 7 Characters end in "FF" if Less than 7 Characters Translate OTrainerName c5d9e2ff Byte20-Byte23 ffffff Byte24-Byte26 This case Ken. Same as Pokemon Name except 7 char instead of 10. Note: See 'Name Tricks using the "#"' and 'Clone' in Byte8-Byte17 ------ 23) Byte27 ------ Marks Circle = 1-Dec = 0001-Bin Square = 2-Dec = 0010-Bin Triangle = 4-Dec = 0100-Bin Heart = 8-Dec = 1000-Bin Add together to combine marks. 3 = Circle + Square = 0011-Bin 15 = All = 1111-Bin 00 Byte27 This case 00 no marks on pokemon ============= 24) Byte28-Byte29 ============= Always 0000 in Computer ============= 25) Byte30-Byte31 ============= a4f1 ReverseCheckSum yyzz f1a4 CheckSum zzyy CheckSum is the adding of unencrypted Words all the ABCDStructure ============= 26) Byte32-Byte79 ============= RereseEncryptedABCDStructure 7c3529c4 Byte32-Byte35 7c3529c4 Byte36-Byte39 7c3529c4 Byte40-Byte43 593429c4 Byte44-Byte47 013529c4 Byte48-Byte51 7c7329c4 Byte52-Byte55 7c0eace4 Byte56-Byte59 5875f8c9 Byte60-Byte63 7c3529c4 Byte64-Byte67 163529c4 Byte68-Byte71 7c3529c4 Byte72-Byte75 623529c4 Byte76-Byte79 Reverse bytes to get EncyptedABCDStructure 26a) EncyptedABCDStructure c429357c Byte35-Byte32 c429357c Byte39-Byte36 c429357c Byte43-Byte40 c4293459 Byte44-Byte47 c4293501 Byte51-Byte48 c429737c Byte55-Byte52 e4ac0e7c Byte59-Byte56 c9f87558 Byte63-Byte60 c429357c Byte67-Byte64 c4293516 Byte71-Byte68 c429357c Byte75-Byte72 c4293562 Byte79-Byte76 To unencrypt the EncyptedABCDStructure XOR each DoubleWord with XKey C429357C = XKey c429357c Xor C429357C = 00000000 Byte35-Byte32 c429357c Xor C429357C = 00000000 Byte39-Byte36 c429357c Xor C429357C = 00000000 Byte43-Byte40 c4293459 Xor C429357C = 00000125 Byte44-Byte47 c4293501 Xor C429357C = 0000007D Byte51-Byte48 c429737c Xor C429357C = 00004600 Byte55-Byte52 e4ac0e7c Xor C429357C = 20853B00 Byte59-Byte56 c9f87558 Xor C429357C = 0DD14024 Byte63-Byte60 c429357c Xor C429357C = 00000000 Byte67-Byte64 c4293516 Xor C429357C = 0000006A Byte71-Byte68 c429357c Xor C429357C = 00000000 Byte75-Byte72 c4293562 Xor C429357C = 0000001E Byte79-Byte76 26b) ABCDStructure 00000000 00000000 00000000 00000125 0000007D 00004600 20853B00 0DD14024 00000000 0000006A 00000000 0000001E ---------- AStructure BStructure CStructure DStructure ---------- Each Structure is 24-Dec Bytes long But the are not always in the same location in ABCDStructure From Byte3-Byte0 PokmeonID ABCDOrder = "CADB" Each Structure is 24-Dec Bytes long 00000000 CStructure 00000000 00000000 00000125 AStructure 0000007D 00004600 20853B00 DStructure 0DD14024 00000000 0000006A BStructure 00000000 0000001E ---------- 27) AStructure ---------- Structure A contains: Type of Pokemon, What the Pokemon is holding, Exp How many PPups have been used on a Move Happyness 00000125 AStructure0 0000007D AStructure1 00004600 AStructure2 AStructure0 contains ItemHeld and PokemonGameNumber AStructure1 contains Exp AStructure2 contains Happy, Move1UsedPPups, Move2UsedPPups, Move3UsedPPups, and Move4UsedPPups ----------- 27a) AStructure0 ----------- ItemHeld is in the top word of AStructure0 00000125 AStructure0 WWXXYYZZ WWXX = ItemHeld = Integer(AStructure0/10000-Hex) 0000 ItemHeld = Math.floor(A0/65536) 0000-Hex = No Item 0001-Hex = Master Ball 0002-Hex = Ultra Ball 0003-Hex = Great Ball 0004-Hex = Poke Ball 0005-Hex = Safari Ball 0006-Hex = Net Ball 0007-Hex = Dive Ball 0008-Hex = Nest Ball 0009-Hex = Repeat Ball 000A-Hex = Timer Ball 000B-Hex = Luxury Ball 000C-Hex = Premier Ball 000D-Hex = Potion 000E-Hex = Antidote 000F-Hex = Burn Heal 0010-Hex = Ice Heal 0011-Hex = Awakening 0012-Hex = Parlyz Heal 0013-Hex = Full Restore 0014-Hex = Max Potion 0015-Hex = Hyper Potion 0016-Hex = Super Potion 0017-Hex = Full Heal 0018-Hex = Revive 0019-Hex = Max Revive 001A-Hex = Fresh Water 001B-Hex = Soda Pop 001C-Hex = Lemonade 001D-Hex = MooMoo Milk 001E-Hex = Energy Powder 001F-Hex = Energy Root 0020-Hex = Heal Powder 0021-Hex = Revival Herb 0022-Hex = Ether 0023-Hex = Max Ether 0024-Hex = Elixir 0025-Hex = Max Elixir 0026-Hex = Lava Cookie 0027-Hex = Blue Flute 0028-Hex = Yellow Flute 0029-Hex = Red Flute 002A-Hex = Black Flute 002B-Hex = White Flute 002C-Hex = Berry Juice 002D-Hex = Sacred Ash 002E-Hex = Shoal Salt 002F-Hex = Shoal Shell 0030-Hex = Red Shard 0031-Hex = Blue Shard 0032-Hex = Yellow Shard 0033-Hex = Green Shard 003F-Hex = HP Up 0040-Hex = Protein 0041-Hex = Iron 0042-Hex = Carbos 0043-Hex = Calcium 0044-Hex = Rare Candy 0045-Hex = PP Up 0046-Hex = Zinc 0047-Hex = PP Max 0049-Hex = Guard Spec 004A-Hex = Dire Hit 004B-Hex = X Attack 004C-Hex = X Defend 004D-Hex = X Speed 004E-Hex = X Accuracy 004F-Hex = X Special 0050-Hex = Poke Doll 0051-Hex = Fluffy Tail 0053-Hex = Super Repel 0054-Hex = Max Repel 0055-Hex = Escape Rope 0056-Hex = Repel 005D-Hex = Sun Stone 005E-Hex = Moon Stone 005F-Hex = Fire Stone 0060-Hex = Thunder Stone 0061-Hex = Water Stone 0062-Hex = Leaf Stone 0067-Hex = Tiny Mushroom 0068-Hex = Big Mushroom 006A-Hex = Pearl 006B-Hex = Big Pearl 006C-Hex = Stardust 006D-Hex = Star Piece 006E-Hex = Nugget 006F-Hex = Heart Scale 0079-Hex = Orange Mail 007A-Hex = Harbor Mail 007B-Hex = Glitter Mail 007C-Hex = Mech Mail 007D-Hex = Wood Mail 007E-Hex = Wave Mail 007F-Hex = Bead Mail 0080-Hex = Shadow Mail 0081-Hex = Tropic Mail 0082-Hex = Dream Mail 0083-Hex = Fab Mail 0084-Hex = Retro Mail 0085-Hex = Cheri Berry 0086-Hex = Chesto Berry 0087-Hex = Pecha Berry 0088-Hex = Rawst Berry 0089-Hex = Aspear Berry 008A-Hex = Leppa Berry 008B-Hex = Oran Berry 008C-Hex = Persim Berry 008D-Hex = Lum Berry 008E-Hex = Sitrus Berry 008F-Hex = Figy Berry 0090-Hex = Wiki Berry 0091-Hex = Mago Berry 0092-Hex = Aguav Berry 0093-Hex = Iapapa Berry 0094-Hex = Razz Berry 0095-Hex = Bluk Berry 0096-Hex = Nanab Berry 0097-Hex = Wepear Berry 0098-Hex = Pinap Berry 0099-Hex = Pomeg Berry 009A-Hex = Kelpsy Berry 009B-Hex = Qualot Berry 009C-Hex = Hondew Berry 009D-Hex = Grepa Berry 009E-Hex = Tamato Berry 009F-Hex = Cornn Berry 00A0-Hex = Magost Berry 00A1-Hex = Rabuta Berry 00A2-Hex = Nomel Berry 00A3-Hex = Spelon Berry 00A4-Hex = Pamtre Berry 00A5-Hex = Watmel Berry 00A6-Hex = Durin Berry 00A7-Hex = Belue Berry 00A8-Hex = Liechi Berry 00A9-Hex = Ganlon Berry 00AA-Hex = Salac Berry 00AB-Hex = Petaya Berry 00AC-Hex = Apicot Berry 00AD-Hex = Lansat Berry 00AE-Hex = Starf Berry 00AF-Hex = Enigma Berry 00B3-Hex = Bright Powder 00B4-Hex = White Herb 00B5-Hex = Macho Brace 00B6-Hex = Exp Share 00B7-Hex = Quick Claw 00B8-Hex = Soothe Bell 00B9-Hex = Mental Herb 00BA-Hex = Choice Band 00BB-Hex = King's Rock 00BC-Hex = Silver Powder 00BD-Hex = Amulet Coin 00BE-Hex = Cleanse Tag 00BF-Hex = Soul Dew 00C0-Hex = Deep Sea Tooth 00C1-Hex = Deep Sea Scale 00C2-Hex = Smoke Ball 00C3-Hex = Everstone 00C4-Hex = Focus Band 00C5-Hex = Lucky Egg 00C6-Hex = Scope Lens 00C7-Hex = Metal Coat 00C8-Hex = Leftovers 00C9-Hex = Dragon Scale 00CA-Hex = Light Ball 00CB-Hex = Soft Sand 00CC-Hex = Hard Stone 00CD-Hex = Miracle Seed 00CE-Hex = Black Glasses 00CF-Hex = Black Belt 00D0-Hex = Magnet 00D1-Hex = Mystic Water 00D2-Hex = Sharp Beak 00D3-Hex = Poison Barb 00D4-Hex = Nevermelt Ice 00D5-Hex = Spell Tag 00D6-Hex = Twisted Spoon 00D7-Hex = Charcoal 00D8-Hex = Dragon Fang 00D9-Hex = Silk Scarf 00DA-Hex = Up-Grade 00DB-Hex = Shell Bell 00DC-Hex = Sea Incense 00DD-Hex = Lax Incense 00DE-Hex = Lucky Punch 00DF-Hex = Metal Powder 00E0-Hex = Thick Club 00E1-Hex = Stick 00FE-Hex = Red Scarf 00FF-Hex = Blue Scarf 0100-Hex = Pink Scarf 0101-Hex = Green Scarf 0102-Hex = Yellow Scarf 0103-Hex = Mach Bike 0104-Hex = Coin Case 0105-Hex = ItemFinder 0106-Hex = Old Rod 0107-Hex = Good Rod 0108-Hex = Super Rod 0109-Hex = S.S. Ticket 010A-Hex = Contest Pass 010C-Hex = Wailmer Pail 010D-Hex = Devon's Goods 010E-Hex = Soot Sack 010F-Hex = Basement Key 0110-Hex = Acro Bike 0111-Hex = PokeBlock Case 0112-Hex = Letter 0113-Hex = Eon Ticket 0114-Hex = Red Orb 0115-Hex = Blue Orb 0116-Hex = Scanner 0117-Hex = Go-Goggles 0118-Hex = Meteorite 0119-Hex = Rm.1 Key 011A-Hex = Rm.2 Key 011B-Hex = Rm.4 Key 011C-Hex = Rm.6 Key 011D-Hex = Storage Key 011E-Hex = Root Fossil 011F-Hex = Claw Fossil 0120-Hex = Devon Scope 0121-Hex = TM01 (Focus Punch) 0122-Hex = TM02 (Dragon Claw) 0123-Hex = TM03 (Water Pulse) 0124-Hex = TM04 (Calm Mind) 0125-Hex = TM05 (Roar) 0126-Hex = TM06 (Toxic) 0127-Hex = TM07 (Hail) 0128-Hex = TM08 (Bulk Up) 0129-Hex = TM09 (Bullet Seed) 012A-Hex = TM10 (Hidden Power) 012B-Hex = TM11 (Sunny Day) 012C-Hex = TM12 (Taunt) 012D-Hex = TM13 (Ice Beam) 012E-Hex = TM14 (Blizzard) 012F-Hex = TM15 (Hyper Beam) 0130-Hex = TM16 (Light Screen) 0131-Hex = TM17 (Protect) 0132-Hex = TM18 (Rain Dance) 0133-Hex = TM19 (Giga Drain) 0134-Hex = TM20 (Safeguard) 0135-Hex = TM21 (Frustration) 0136-Hex = TM22 (Solar Beam) 0137-Hex = TM23 (Iron Tail) 0138-Hex = TM24 (Thunderbolt) 0139-Hex = TM25 (Thunder) 013A-Hex = TM26 (Earthquake) 013B-Hex = TM27 (Return) 013C-Hex = TM28 (Dig) 013D-Hex = TM29 (Psychic) 013E-Hex = TM30 (Shadow Ball) 013F-Hex = TM31 (Brick Break) 0140-Hex = TM32 (Double Team) 0141-Hex = TM33 (Reflect) 0142-Hex = TM34 (Shock Wave) 0143-Hex = TM35 (Flamethrower) 0144-Hex = TM36 (Sludge Bomb) 0145-Hex = TM37 (Sandstorm) 0146-Hex = TM38 (Fire Blast) 0147-Hex = TM39 (Rock Tomb) 0148-Hex = TM40 (Aerial Ace) 0149-Hex = TM41 (Torment) 014A-Hex = TM42 (Facade) 014B-Hex = TM43 (Secret Power) 014C-Hex = TM44 (Rest) 014D-Hex = TM45 (Attract) 014E-Hex = TM46 (Thief) 014F-Hex = TM47 (Steel Wing) 0150-Hex = TM48 (Skill Swap) 0151-Hex = TM49 (Snatch) 0152-Hex = TM50 (Overheat) 0153-Hex = HM01 (Cut) 0154-Hex = HM02 (Fly) 0155-Hex = HM03 (Surf) 0156-Hex = HM04 (Strength) 0157-Hex = HM05 (Flash) 0158-Hex = HM06 (Rock Smash) 0159-Hex = HM07 (Waterfall) 015A-Hex = HM08 (Dive) 015D-Hex = {Oak's Parcel} 015E-Hex = {Poke Flute} 015F-Hex = {Secret Key} 0160-Hex = {Bike Voucher} 0161-Hex = {Gold Teeth} 0162-Hex = {Old Amber} 0163-Hex = {Card Key} 0164-Hex = {Elevator Key} 0165-Hex = {Dome Fossil} 0166-Hex = {Helix Fossil} 0167-Hex = {Silph Scope} 0168-Hex = {Bicycle} 0169-Hex = {Town Map} 016A-Hex = {Battle Searcher} 016B-Hex = {Voice Checker} 016C-Hex = {TM Case} 016D-Hex = {Berry Bag} 016E-Hex = {Help TV} 016F-Hex = {Tri-Pass} 0170-Hex = {Rainbow Pass} 0171-Hex = {Tea} 0172-Hex = {Mystery Ticket} 0173-Hex = {Aurora Ticket} 0174-Hex = {Konaire} 0175-Hex = {Ruby Plate} 0176-Hex = {Sapphire Plate} 01F4-Hex = [Jail Key] _Safe Key_ 01F5-Hex = [Elevator Key] _Elevator Key_ 01F6-Hex = [Small Tablet] _Bonsly Card_ 01F7-Hex = [F-Disk] _Machine Part_ 01F8-Hex = [R-Disk] _Gonzap's Key_ 01F9-Hex = [L-Disk] _Data ROM_ 01FA-Hex = [D-Disk] _ID Card_ 01FB-Hex = [U-Disk] _Music Disc_ 01FC-Hex = [Subway Key] _System Lever 01FD-Hex = [Maingate Key] _Mayor's Note_ 01FE-Hex = [Card Key] _Miror Radar_ 01FF-Hex = [Down St. Key] _Poke Snack_ 0200-Hex = [DNA Sample 1] _Cologne Case_ 0201-Hex = [Bayleef DNA] _Joy Scent_ 0202-Hex = [DNA Sample 2] _Excite Scent_ 0203-Hex = [Quilava DNA] _Vivid Scent_ 0204-Hex = [DNA Sample 3] _Sun Shard_ 0205-Hex = [Croconaw DNA] _Moon Shard_ 0206-Hex = [DNA Sample 4] _Bonsly Photo_ 0207-Hex = [Sudowoodo DNA] _Cry Analyzer_ 0208-Hex = [DNA Sample 5] 0209-Hex = [Misdreavus DNA] 020A-Hex = [DNA Sample 6] 020B-Hex = [Mightyena DNA] _Krane Memo 1_ 020C-Hex = [DNA Sample 7] _Krane Memo 2_ 020D-Hex = [Raikou DNA] _Krane Memo 3_ 020E-Hex = [DNA Sample 8] _Krane Memo 4_ 020F-Hex = [Entei DNA] _Krane Memo 5_ 0210-Hex = [DNA Sample 9] _Voice Case 1_ 0211-Hex = [Suicune DNA] _Voice Case 2_ 0212-Hex = [Data ROM] _Voice Case 3_ 0213-Hex = [Steel Teeth] _Voice Case 4_ 0214-Hex = [Gear] _Voice Case 5_ 0215-Hex = [Red ID Badge] _Disc Case_ 0216-Hex = [Green ID Badge] _Battle CD 01_ 0217-Hex = [Blue ID Badge] _Battle CD 02_ 0218-Hex = [Yellow ID Badge] _Battle CD 03_ 0219-Hex = [Time Flute] _Battle CD 04_ 021A-Hex = [Ein File S] _Battle CD 05_ 021B-Hex = [Ein File H] _Battle CD 06_ 021C-Hex = [Ein File C] _Battle CD 07_ 021D-Hex = [Ein File P] _Battle CD 08_ 021E-Hex = [Cologne Case] _Battle CD 09_ 021F-Hex = [Joy Scent] _Battle CD 10_ 0220-Hex = [Excite Scent] _Battle CD 11_ 0221-Hex = [Vivid Scent] _Battle CD 12_ 0222-Hex = [Powerup Part] _Battle CD 13_ 0223-Hex = [Ein File F] _Battle CD 14_ 0224-Hex = _Battle CD 15_ 0225-Hex = _Battle CD 16_ 0226-Hex = _Battle CD 17_ 0227-Hex = _Battle CD 18_ 0228-Hex = _Battle CD 19_ 0229-Hex = _Battle CD 20_ 022A-Hex = _Battle CD 21_ 022B-Hex = _Battle CD 22_ 022C-Hex = _Battle CD 23_ 022D-Hex = _Battle CD 24_ 022E-Hex = _Battle CD 25_ 022F-Hex = _Battle CD 26_ 0230-Hex = _Battle CD 27_ 0231-Hex = _Battle CD 28_ 0232-Hex = _Battle CD 29_ 0233-Hex = _Battle CD 30_ 0234-Hex = _Battle CD 31_ 0235-Hex = _Battle CD 32_ 0236-Hex = _Battle CD 33_ 0237-Hex = _Battle CD 34_ 0238-Hex = _Battle CD 35_ 0239-Hex = _Battle CD 36_ 023A-Hex = _Battle CD 37_ 023B-Hex = _Battle CD 38_ 023C-Hex = _Battle CD 39_ 023D-Hex = _Battle CD 40_ 023E-Hex = _Battle CD 41_ 023F-Hex = _Battle CD 42_ 0240-Hex = _Battle CD 43_ 0241-Hex = _Battle CD 44_ 0242-Hex = _Battle CD 45_ 0243-Hex = _Battle CD 46_ 0244-Hex = _Battle CD 47_ 0245-Hex = _Battle CD 48_ 0246-Hex = _Battle CD 49_ 0247-Hex = _Battle CD 50_ 0248-Hex = _Battle CD 51_ 0249-Hex = _Battle CD 52_ 024A-Hex = _Battle CD 53_ 024B-Hex = _Battle CD 54_ 024C-Hex = _Battle CD 55_ 024D-Hex = _Battle CD 56_ 024E-Hex = _Battle CD 57_ 024F-Hex = _Battle CD 58_ 0250-Hex = _Battle CD 59_ 0251-Hex = _Battle CD 60_ ---------- 27b) AStructure0 PokemonGameNumber 00000125 AStructure0 PokemonGameNumber = AStructure0 Mod 10000-Hex This is NOT a Pokedex number! It is a number used by the game to find what pokemon it is. 00000125 Mod 10000-Hex = 0125-Hex PokemonGameNumber 0125-Hex = 293-Dec = PokemonGameNumber = CASCOON 001 = BULBASAUR 002 = IVYSAUR 003 = VENUSAUR 004 = CHARMANDER 005 = CHARMELEON 006 = CHARIZARD 007 = SQUIRTLE 008 = WARTORTLE 009 = BLASTOISE 010 = CATERPIE 011 = METAPOD 012 = BUTTERFREE 013 = WEEDLE 014 = KAKUNA 015 = BEEDRILL 016 = PIDGEY 017 = PIDGEOTTO 018 = PIDGEOT 019 = RATTATA 020 = RATICATE 021 = SPEAROW 022 = FEAROW 023 = EKANS 024 = ARBOK 025 = PIKACHU 026 = RAICHU 027 = SANDSHREW 028 = SANDSLASH 029 = NIDORAN Female 030 = NIDORINA 031 = NIDOQUEEN 032 = NIDORAN Male 033 = NIDORINO 034 = NIDOKING 035 = CLEFAIRY 036 = CLEFABLE 037 = VULPIX 038 = NINETALES 039 = JIGGLYPUFF 040 = WIGGLYTUFF 041 = ZUBAT 042 = GOLBAT 043 = ODDISH 044 = GLOOM 045 = VILEPLUME 046 = PARAS 047 = PARASECT 048 = VENONAT 049 = VENOMOTH 050 = DIGLETT 051 = DUGTRIO 052 = MEOWTH 053 = PERSIAN 054 = PSYDUCK 055 = GOLDUCK 056 = MANKEY 057 = PRIMEAPE 058 = GROWLITHE 059 = ARCANINE 060 = POLIWAG 061 = POLIWHIRL 062 = POLIWRATH 063 = ABRA 064 = KADABRA 065 = ALAKAZAM 066 = MACHOP 067 = MACHOKE 068 = MACHAMP 069 = BELLSPROUT 070 = WEEPINBELL 071 = VICTREEBEL 072 = TENTACOOL 073 = TENTACRUEL 074 = GEODUDE 075 = GRAVELER 076 = GOLEM 077 = PONYTA 078 = RAPIDASH 079 = SLOWPOKE 080 = SLOWBRO 081 = MAGNEMITE 082 = MAGNETON 083 = FARFETCH'D 084 = DODUO 085 = DODRIO 086 = SEEL 087 = DEWGONG 088 = GRIMER 089 = MUK 090 = SHELLDER 091 = CLOYSTER 092 = GASTLY 093 = HAUNTER 094 = GENGAR 095 = ONIX 096 = DROWZEE 097 = HYPNO 098 = KRABBY 099 = KINGLER 100 = VOLTORB 101 = ELECTRODE 102 = EXEGGCUTE 103 = EXEGGUTOR 104 = CUBONE 105 = MAROWAK 106 = HITMONLEE 107 = HITMONCHAN 108 = LICKITUNG 109 = KOFFING 110 = WEEZING 111 = RHYHORN 112 = RHYDON 113 = CHANSEY 114 = TANGELA 115 = KANGASKHAN 116 = HORSEA 117 = SEADRA 118 = GOLDEEN 119 = SEAKING 120 = STARYU 121 = STARMIE 122 = MR.MIME 123 = SCYTHER 124 = JYNX 125 = ELECTABUZZ 126 = MAGMAR 127 = PINSIR 128 = TAUROS 129 = MAGIKARP 130 = GYARADOS 131 = LAPRAS 132 = DITTO 133 = EEVEE 134 = VAPOREON 135 = JOLTEON 136 = FLAREON 137 = PORYGON 138 = OMANYTE 139 = OMASTAR 140 = KABUTO 141 = KABUTOPS 142 = AERODACTYL 143 = SNORLAX 144 = ARTICUNO 145 = ZAPDOS 146 = MOLTRES 147 = DRATINI 148 = DRAGONAIR 149 = DRAGONITE 150 = MEWTWO 151 = MEW 152 = CHIKORITA 153 = BAYLEEF 154 = MEGANIUM 155 = CYNDAQUIL 156 = QUILAVA 157 = TYPHLOSION 158 = TOTODILE 159 = CROCONAW 160 = FERALIGATR 161 = SENTRET 162 = FURRET 163 = HOOTHOOT 164 = NOCTOWL 165 = LEDYBA 166 = LEDIAN 167 = SPINARAK 168 = ARIADOS 169 = CROBAT 170 = CHINCHOU 171 = LANTURN 172 = PICHU 173 = CLEFFA 174 = IGGLYBUFF 175 = TOGEPI 176 = TOGETIC 177 = NATU 178 = XATU 179 = MAREEP 180 = FLAAFFY 181 = AMPHAROS 182 = BELLOSSOM 183 = MARILL 184 = AZUMARILL 185 = SUDOWOODO 186 = POLITOED 187 = HOPPIP 188 = SKIPLOOM 189 = JUMPLUFF 190 = AIPOM 191 = SUNKERN 192 = SUNFLORA 193 = YANMA 194 = WOOPER 195 = QUAGSIRE 196 = ESPEON 197 = UMBREON 198 = MURKROW 199 = SLOWKING 200 = MISDREAVUS 201 = UNOWN 202 = WOBBUFFET 203 = GIRAFARIG 204 = PINECO 205 = FORRETRESS 206 = DUNSPARCE 207 = GLIGAR 208 = STEELIX 209 = SNUBBULL 210 = GRANBULL 211 = QWILFISH 212 = SCIZOR 213 = SHUCKLE 214 = HERACROSS 215 = SNEASEL 216 = TEDDIURSA 217 = URSARING 218 = SLUGMA 219 = MAGCARGO 220 = SWINUB 221 = PILOSWINE 222 = CORSOLA 223 = REMORAID 224 = OCTILLERY 225 = DELIBIRD 226 = MANTINE 227 = SKARMORY 228 = HOUNDOUR 229 = HOUNDOOM 230 = KINGDRA 231 = PHANPY 232 = DONPHAN 233 = PORYGON 234 = STANTLER 235 = SMEARGLE 236 = TYROGUE 237 = HITMONTOP 238 = SMOOCHUM 239 = ELEKID 240 = MAGBY 241 = MILTANK 242 = BLISSEY 243 = RAIKOU 244 = ENTEI 245 = SUICUNE 246 = LARVITAR 247 = PUPITAR 248 = TYRANITAR 249 = LUGIA 250 = HO-OH 251 = CELEBI 277 = TREECKO 278 = GROVYLE 279 = SCEPTILE 280 = TORCHIC 281 = COMBUSKEN 282 = BLAZIKEN 283 = MUDKIP 284 = MARSHTOMP 285 = SWAMPERT 286 = POOCHYENA 287 = MIGHTYENA 288 = ZIGZAGOON 289 = LINOONE 290 = WURMPLE 291 = SILCOON 292 = BEAUTIFLY 293 = CASCOON 294 = DUSTOX 295 = LOTAD 296 = LOMBRE 297 = LUDICOLO 298 = SEEDOT 299 = NUZLEAF 300 = SHIFTRY 301 = NINCADA 302 = NINJASK 303 = SHEDINJA 304 = TAILLOW 305 = SWELLOW 306 = SHROOMISH 307 = BRELOOM 308 = SPINDA 309 = WINGULL 310 = PELIPPER 311 = SURSKIT 312 = MASQUERAIN 313 = WAILMER 314 = WAILORD 315 = SKITTY 316 = DELCATTY 317 = KECLEON 318 = BALTOY 319 = CLAYDOL 320 = NOSEPASS 321 = TORKOAL 322 = SABLEYE 323 = BARBOACH 324 = WHISCASH 325 = LUVDISC 326 = CORPHISH 327 = CRAWDAUNT 328 = FEEBAS 329 = MILOTIC 330 = CARVANHA 331 = SHARPEDO 332 = TRAPINCH 333 = VIBRAVA 334 = FLYGON 335 = MAKUHITA 336 = HARIYAMA 337 = ELECTRIKE 338 = MANECTRIC 339 = NUMEL 340 = CAMERUPT 341 = SPHEAL 342 = SEALEO 343 = WALREIN 344 = CACNEA 345 = CACTURNE 346 = SNORUNT 347 = GLALIE 348 = LUNATONE 349 = SOLROCK 350 = AZURILL 351 = SPOINK 352 = GRUMPIG 353 = PLUSLE 354 = MINUN 355 = MAWILE 356 = MEDITITE 357 = MEDICHAM 358 = SWABLU 359 = ALTARIA 360 = WYNAUT 361 = DUSKULL 362 = DUSCLOPS 363 = ROSELIA 364 = SLAKOTH 365 = VIGOROTH 366 = SLAKING 367 = GULPIN 368 = SWALOT 369 = TROPIUS 370 = WHISMUR 371 = LOUDRED 372 = EXPLOUD 373 = CLAMPERL 374 = HUNTAIL 375 = GOREBYSS 376 = ABSOL 377 = SHUPPET 378 = BANETTE 379 = SEVIPER 380 = ZANGOOSE 381 = RELICANTH 382 = ARON 383 = LAIRON 384 = AGGRON 385 = CASTFORM 386 = VOLBEAT 387 = ILLUMISE 388 = LILEEP 389 = CRADILY 390 = ANORITH 391 = ARMALDO 392 = RALTS 393 = KIRLIA 394 = GARDEVOIR 395 = BAGON 396 = SHELGON 397 = SALAMENCE 398 = BELDUM 399 = METANG 400 = METAGROSS 401 = REGIROCK 402 = REGICE 403 = REGISTEEL 404 = KYOGRE 405 = GROUDON 406 = RAYQUAZA 407 = LATIAS 408 = LATIOS 409 = JIRACHI 410 = DEOXYS 411 = CHIMECHO ----------- 27c) AStructure1 ----------- 0000007D AStructure1 AStructure1 contains Exp 0000007D-Hex = 125-Dec = Exp. ----------- 27d) AStructure2 ----------- 00004600 AStructure2 AStructure2 contains Happy, Move1UsedPPups, Move2UsedPPups, Move3UsedPPups, and Move4UsedPPups Happyness is stored in AStructure2 --------- Happy = Integer(AStructure2/256) Mod 256 00004600 = AStructure2 WWXXYYZZ 46-Hex = Happyness = 70-Dec YY ---- MoveUsedPPups are stored in AStructure2 00004600 = AStructure2 WWXXYYZZ 00 = MoveUsedPPups ZZ There are four moves taking 2 bits each. Bits7-6 = Move4PPused Bits5-4 = Move3PPused Bits3-2 = Move2PPused Bits1-0 = Move1PPused MoveUsedPPups 00-Hex 00 00 00 00-Bin ww xx yy zz No PP ups used on this Pokemon. You can only PP up a Move 3 times. So you have 0 to 3 for each move(two bits). Move1PPused = zz = AStructure2 Mod 4 Move2PPused = yy = Integer(AStructure2/4) Mod 4 Move3PPused = xx = Integer(AStructure2/16) Mod 4 Move4PPused = ww = Integer(AStructure2/64) Mod 4 ---------- 28) BStructure ---------- 0000006A BStructure0 00000000 BStructure1 0000001E BStructure2 BStructure0 contains Move2 and Move1 BStructure1 contains Move4 and Move3 BStructure2 contains PP4 PP3 PP2 PP1 ----------- 28a) BStructure0 contains Move2 and Move1 ----------- 0000006A YYYYZZZZ 0000 = High Word = Move2 YYYY 006A = Low Word = Move1 ZZZZ Move1 = BStructure0 Mod 65536); Move2 = Integer(BStructure0/65536); ----------- 28b) BStructure1 contains Move4 and Move3 ----------- 00000000 = BStructure1 WWWWXXXX 0000 = High Word = Move4 WWWW 0000 = Low Word = Move3 XXXX Move3 = BStructure1 Mod 65536; Move4 = Integer(BStructure1/65536); 006A-Hex = Move1 = 106-Dec = Harden 0000-Hex = Move2 = 000-Dec = Empty Move 0000-Hex = Move3 = 000-Dec = Empty Move 0000-Hex = Move4 = 000-Dec = Empty Move 000 = Empty Move 001 = Pound 002 = Karate Chop 003 = Doubleslap 004 = Comet Punch 005 = Mega Punch 006 = Pay Day 007 = Fire Punch 008 = Ice Punch 009 = Thunderpunch 010 = Scratch 011 = ViceGrip 012 = Guillotine 013 = Razor Wind 014 = Swords Dance 015 = Cut 016 = Gust 017 = Wing Attack 018 = Whirlwind 019 = Fly 020 = Bind 021 = Slam 022 = Vine Whip 023 = Stomp 024 = Double Kick 025 = Mega Kick 026 = Jump Kick 027 = Rolling Kick 028 = Sand-Attack 029 = Headbutt 030 = Horn Attack 031 = Fury Attack 032 = Horn Drill 033 = Tackle 034 = Body Slam 035 = Wrap 036 = Take Down 037 = Thrash 038 = Double-Edge 039 = Tail Whip 040 = Poison Sting 041 = Twineedle 042 = Pin Missile 043 = Leer 044 = Bite 045 = Growl 046 = Roar 047 = Sing 048 = Supersonic 049 = Sonicboom 050 = Disable 051 = Acid 052 = Ember 053 = Flamethrower 054 = Mist 055 = Water Gun 056 = Hydro Pump 057 = Surf 058 = Ice Beam 059 = Blizzard 060 = Psybeam 061 = Bubblebeam 062 = Aurora Beam 063 = Hyper Beam 064 = Peck 065 = Drill Peck 066 = Submission 067 = Low Kick 068 = Counter 069 = Seismic Toss 070 = Strength 071 = Absorb 072 = Mega Drain 073 = Leech Seed 074 = Growth 075 = Razor Leaf 076 = Solarbeam 077 = Poisonpowder 078 = Stun Spore 079 = Sleep Powder 080 = Petal Dance 081 = String Shot 082 = Dragon Rage 083 = Fire Spin 084 = Thundershock 085 = Thunderbolt 086 = Thunder Wave 087 = Thunder 088 = Rock Throw 089 = Earthquake 090 = Fissure 091 = Dig 092 = Toxic 093 = Confusion 094 = Psychic 095 = Hypnosis 096 = Meditate 097 = Agility 098 = Quick Attack 099 = Rage 100 = Teleport 101 = Night Shade 102 = Mimic 103 = Screech 104 = Double Team 105 = Recover 106 = Harden 107 = Minimize 108 = Smokescreen 109 = Confuse Ray 110 = Withdraw 111 = Defense Curl 112 = Barrier 113 = Light Screen 114 = Haze 115 = Reflect 116 = Focus Energy 117 = Bide 118 = Metronome 119 = Mirror Move 120 = Selfdestruct 121 = Egg Bomb 122 = Lick 123 = Smog 124 = Sludge 125 = Bone Club 126 = Fire Blast 127 = Waterfall 128 = Clamp 129 = Swift 130 = Skull Bash 131 = Spike Cannon 132 = Constrict 133 = Amnesia 134 = Kinesis 135 = Softboiled 136 = Hi Jump Kick 137 = Glare 138 = Dream Eater 139 = Poison Gas 140 = Barrage 141 = Leech Life 142 = Lovely Kiss 143 = Sky Attack 144 = Transform 145 = Bubble 146 = Dizzy Punch 147 = Spore 148 = Flash 149 = Psywave 150 = Splash 151 = Acid Armor 152 = Crabhammer 153 = Explosion 154 = Fury Swipes 155 = Bonemerang 156 = Rest 157 = Rock Slide 158 = Hyper Fang 159 = Sharpen 160 = Conversion 161 = Tri Attack 162 = Super Fang 163 = Slash 164 = Substitute 165 = Struggle 166 = Sketch 167 = Triple Kick 168 = Thief 169 = Spider Web 170 = Mind Reader 171 = Nightmare 172 = Flame Wheel 173 = Snore 174 = Curse 175 = Flail 176 = Conversion 2 177 = Aeroblast 178 = Cotton Spore 179 = Reversal 180 = Spite 181 = Powder Snow 182 = Protect 183 = Mach Punch 184 = Scary Face 185 = Faint Attack 186 = Sweet Kiss 187 = Belly Drum 188 = Sludge Bomb 189 = Mud-Slap 190 = Octazooka 191 = Spikes 192 = Zap Cannon 193 = Foresight 194 = Destiny Bond 195 = Perish Song 196 = Icy Wind 197 = Detect 198 = Bone Rush 199 = Lock-On 200 = Outrage 201 = Sandstorm 202 = Giga Drain 203 = Endure 204 = Charm 205 = Rollout 206 = False Swipe 207 = Swagger 208 = Milk Drink 209 = Spark 210 = Fury Cutter 211 = Steel Wing 212 = Mean Look 213 = Attract 214 = Sleep Talk 215 = Heal Bell 216 = Return 217 = Present 218 = Frustration 219 = Safeguard 220 = Pain Split 221 = Sacred Fire 222 = Magnitude 223 = Dynamicpunch 224 = Megahorn 225 = Dragonbreath 226 = Baton Pass 227 = Encore 228 = Pursuit 229 = Rapid Spin 230 = Sweet Scent 231 = Iron Tail 232 = Metal Claw 233 = Vital Throw 234 = Morning Sun 235 = Synthesis 236 = Moonlight 237 = Hidden Power 238 = Cross Chop 239 = Twister 240 = Rain Dance 241 = Sunny Day 242 = Crunch 243 = Mirror Coat 244 = Psych Up 245 = Extremespeed 246 = Ancientpower 247 = Shadow Ball 248 = Future Sight 249 = Rock Smash 250 = Whirlpool 251 = Beat Up 252 = Fake Out 253 = Uproar 254 = Stockpile 255 = Spit Up 256 = Swallow 257 = Heat Wave 258 = Hail 259 = Tornment 260 = Flatters 261 = Will-O-Wisp 262 = Memento 263 = Facade 264 = Focus Punch 265 = Smellingsalt 266 = Follow Me 267 = Nature Power 268 = Charge 269 = Taunt 270 = Helping Hand 271 = Trick 272 = Role Play 273 = Wish 274 = Assist 275 = Ingrain 276 = Superpower 277 = Magic Coat 278 = Recycle 279 = Revenge 280 = Brick Break 281 = Yawn 282 = Knock Off 283 = Endeavor 284 = Eruption 285 = Skill Swap 286 = Imprison 287 = Refresh 288 = Grudge 289 = Snatch 290 = Secret Power 291 = Dive 292 = Arm Thrust 293 = Camouflage 294 = Tail Glow 295 = Luster Purge 296 = Mist Ball 297 = Featherdance 298 = Teeter Dance 299 = Blaze Kick 300 = Mud Sport 301 = Ice Ball 302 = Needle Arm 303 = Slack Off 304 = Hyper Voice 305 = Poison Fang 306 = Crush Claw 307 = Blast Burn 308 = Hydro Cannon 309 = Meteor Mash 310 = Astonish 311 = Weather Ball 312 = Aromatherapy 313 = Fake Tears 314 = Air Cutter 315 = Overheat 316 = Odor Sleuth 317 = Rock Tomb 318 = Silver Wind 319 = Metal Sound 320 = Grasswhistle 321 = Tickle 322 = Cosmic Power 323 = Water Spout 324 = Signal Beam 325 = Shadow Punch 326 = Extrasensory 327 = Sky Uppercut 328 = Sand Tomb 329 = Sheer Cold 330 = Muddy Water 331 = Bullet Seed 332 = Aerial Ace 333 = Icicle Spear 334 = Iron Defense 335 = Block 336 = Howl 337 = Dragon Claw 338 = Frenzy Plant 339 = Bulk Up 340 = Bounce 341 = Mud Shot 342 = Poison Tail 343 = Covet 344 = Volt Tackle 345 = Magical Leaf 346 = Water Sport 347 = Calm Mind 348 = Leaf Blade 349 = Dragon Dance 350 = Rock Blast 351 = Shock Wave 352 = Water Pulse 353 = Doom Desire 354 = Psycho Boost 356 = Shadow Rush in Pokemon Colosseum ONLY ----------- 28c) BStructure2 contains PP4 PP3 PP2 PP1 ----------- 0000001E = BStructure2 WWXXYYZZ Each PP is a Byte in Size. 1E-Hex = PP1 = 30-Dec ZZ 00 = PP2 = 0-Dec YY 00 = PP3 = 0-Dec XX 00 = PP4 = 0-Dec WW PP1 = BStructure2 Mod 256 PP2 = Integer(BStructure2/256) Mod 256 PP3 = Integer(BStructure2/65536) Mod 256 PP4 = Integer(BStructure2/16777216) Mod 256 ---------- 29) CStructure ---------- 00000000 CStructure0 00000000 CStructure1 00000000 CStructure2 Structure C contains: Efforts(EV's) Contest Stats(CV's) CStructure0 contains: SpeedEffort DefenceEffort AttackEffort HPEffort CStructure1 contains: Beauty Cool SpecialDefenceEffort SpecialAttackEffort CStructure2 contains: Luster Tough Smart Cute -------- 29a) CStructure0 contains: SpeedEffort DefenceEffort AttackEffort HPEffort -------- 00000000 = CStructure0 WWXXYYZZ 00 = HPEffort ZZ 00 = AttackEffort YY 00 = DefenceEffort XX 00 = SpeedEffort WW HPEff = CStructure0 Mod 256 AtkEff = Integer(CStructure0/256) Mod 256 DefEff = Integer(CStructure0/65536) Mod 256 SpeEff = Integer(CStructure0/16777216) Mod 256 ----------- 29b) CStructure1 contains: Beauty Cool SpecialDefenceEffort SpecialAttackEffort ----------- 00000000 = CStructure1 WWXXYYZZ 00 = SpecialAttackEffort ZZ 00 = SpecialDefenceEffort YY 00 = Cool XX 00 = Beauty WW SpAEff = CStructure0 Mod 256 SpDEff = Integer(CStructure0/256) Mod 256 Cool = Integer(CStructure0/65536) Mod 256 Beauty = Integer(CStructure0/16777216) Mod 256 ----------- 29c) CStructure2 contains: Luster Tough Smart Cute ----------- 00000000 = CStructure2 WWXXYYZZ 00 = Cute ZZ 00 = Smart YY 00 = Tough XX 00 = Luster WW Cute = CStructure0 Mod 256 Smart = Integer(CStructure0/256) Mod 256 tough = Integer(CStructure0/65536) Mod 256 Luster = Integer(CStructure0/16777216) Mod 256 ---------- 30) DStructure ---------- Contains: Pokerus LocationCaught LevelMet GameFrom BallCaughtWith OriginalTrainerGender DV's EggFlag AbilityUsed Ribbons Obedient 20853B00 DStructure0 0DD14024 DStructure1 00000000 DStructure2 ----------- 30a) DStructure0 ----------- Contains: Pokerus LocationCaught LevelMet GameFrom BallCaughtWith OriginalTrainerGender 20853B00 DStructure0 ------- Pokerus ------- Pokerus = DDStructure0 Mod 256-Dec Pokerus = DDStructure0 Mod 100-Hex if Pokerus = 0 then Pokemon never had Pokerus if Pokerus > 0 and Pokerus < 16 then Pokemon Still has Pokerus if Pokerus = 16 then Pokemon is over Pokerus 0 = 20853B00 Mod 10-Hex CASCOON Never had Pokerus -------------- LocationCaught -------------- LocationCaught = Integer(DDStructure0/256-Dec) Mod 256-Dec LocationCaught = Integer(DDStructure0/100-Hex) Mod 100-Hex 3B = Integer(20853B00/100-Hex) Mod 100-Hex 3B = Petalburg Woods [THE UNDER SUBWAY] Note: Ruby/Sapphire = Petalburg Woods Colosseum = THE UNDER SUBWAY Leaf/Fire = Obtained in trade. 00 = Littleroot Town [met at a distant land.] 01 = Oldale Town [OUTSKIRT STAND] 02 = Dewford Town [OUTSKIRT STAND] 03 = Lavaridge Town [PHENAC CITY] 04 = Fallarbor Town [PHENAC CITY] 05 = Verdanturf Town [MAYOR'S HOUSE] 06 = Pacifidlog Town [MAYOR'S HOUSE] 07 = Petalburg City [PHENAC CITY] 08 = Slateport City [PHENAC CITY] 09 = Mauville City [PHENAC CITY] 0A = Rustboro City [PHENAC CITY] 0B = Fortree City [PRE GYM] 0C = Lilycove City [PRE GYM] 0D = Mossdeep City [PHENAC STADIUM] 0E = Sootopolis City [PHENAC STADIUM] 0F = Ever Grande City [PYRITE TOWN] 10 = Route 101 [PYRITE TOWN] 11 = Route 102 [PYRITE TOWN] 12 = Route 103 [PYRITE TOWN] 13 = Route 104 [PYRITE TOWN] 14 = Route 105 [PYRITE TOWN] 15 = Route 106 [PYRITE TOWN] 16 = Route 107 [PYRITE TOWN] 17 = Route 108 [PYRITE TOWN] 18 = Route 109 [PYRITE BLDG] 19 = Route 110 [PYRITE BLDG] 1A = Route 111 [PYRITE BLDG] 1B = Route 112 [PYRITE BLDG] 1C = Route 113 [PYRITE BLDG] 1D = Route 114 [PYRITE CAVE] 1E = Route 115 [MIROR'S HIDEOUT] 1F = Route 116 [PYRITE CAVE] 20 = Route 117 [PYRITE CAVE] 21 = Route 118 [PYRITE CAVE] 22 = Route 119 [PYRITE CAVE] 23 = Route 120 [PYRITE COLOSSEUM] 24 = Route 121 [AGATE VILLAGE] 25 = Route 122 [RELIC CAVE] 26 = Route 123 [RELIC CAVE] 27 = Route 124 [AGATE VILLAGE] 28 = Route 125 [AGATE VILLAGE] 29 = Route 126 [AGATE VILLAGE] 2A = Route 127 [AGATE VILLAGE] 2B = Route 128 [AGATE VILLAGE] 2C = Route 129 [AGATE VILLAGE] 2D = Route 130 [AGATE VILLAGE] 2E = Route 131 [AGATE VILLAGE] 2F = Route 132 [THE UNDER] 30 = Route 133 [THE UNDER] 31 = Route 134 [THE UNDER] 32 = Underwater (Route 124) [THE UNDER] 33 = Underwater (Route 126) [THE UNDER] 34 = Underwater (Route 127) [THE UNDER] 35 = Underwater (Route 128) [THE UNDER] 36 = Underwater (Sootopoist) [THE UNDER] 37 = Granite Cave [THE UNDER] 38 = Mt. Chimney [met at a distant land.] 39 = Safari Zone [THE UNDER SUBWAY] 3A = Battle Tower [THE UNDER SUBWAY] 3B = Petalburg Woods [THE UNDER SUBWAY] 3C = Rusturf Tunnel [THE UNDER SUBWAY] 3D = Abandoned Ship [THE UNDER SUBWAY] 3E = New Maulville [THE UNDER] 3F = Meteor Falls [UNDER COLOSSEUM] 40 = Meteor Falls [DEEP COLOSSEUM] 41 = Mt. Pyre [FRONT OF LAB] 42 = Hideout [LABORATORY] 43 = Shoal Cave [LABORATORY] 44 = Seafloor Cavern [LABORATORY] 45 = Underwater (Seafloor Cavern) [LABORATORY] 46 = Victory Road [LABORATORY] 47 = Mirage Island [LABORATORY] 48 = Cave of Origin [LABORATORY] 49 = Southern Island [LABORATORY] 4A = Fiery Path [MT. BATTLE] 4B = Fiery Path [MT. BATTLE] 4C = Jagged Pass [MT. BATTLE] 4D = Jagged Pass [MT. BATTLE] 4E = Sealed Chamber [MT. BATTLE] 4F = Underwater (Route 134) [MT. BATTLE] 50 = Scorched Slab [MT. BATTLE] 51 = Island Cave [MT. BATTLE] 52 = Desert Ruins [MT. BATTLE] 53 = Ancient Tomb [MT. BATTLE] 54 = Inside of Truck [MT. BATTLE] 55 = Sky Pillar [MT. BATTLE] 56 = Secret Base [MT. BATTLE] 57 = Ferry [MT. BATTLE] 58 = {Pallett Town}[MT. BATTLE] 59 = {Viridian City}[MT. BATTLE] 5A = {Pewter City}[MT. BATTLE] 5B = {Cerulean City}[MT. BATTLE] 5C = {Lavender Town}[MT. BATTLE] 5D = {Vermillion City}[MT. BATTLE] 5E = {Celadon City}[MT. BATTLE] 5F = {Fuchsia City}[MT.BTL COLOSSEUM] 60 = {Cinnibar Isle}[met at a distant land.] 61 = {Indigo Plateau}[met at a distant land.] 62 = {Saffron City}[met at a distant land.] 63 = {Route 4}[met at a distant land.] 64 = {Route 10}[met at a distant land.] 65 = {Route 1}[met at a distant land.] 66 = {Route 2}[REALGAM TOWER] 67 = {Route 3}[REALGAMTWR DOME] 68 = {Route 4}[REALGAMTWR DOME] 69 = {Route 5}[REALGAMTWR DOME] 6A = {Route 6}[REALGAMTWR DOME] 6B = {Route 7}[REALGAMTWR DOME] 6C = {Route 8}[REALGAMTWR DOME] 6D = {Route 9}[REALGAMTWR DOME] 6E = {Route 10}[REALGAMTWR DOME] 6F = {Route 11}[REALGAMTWR DOME] 70 = {Route 12}[REALGAMTWR DOME] 71 = {Route 13}[REALGAMTWR DOME] 72 = {Route 14}[REALGAMTWR LOBBY] 73 = {Route 15}[REALGAM TOWER] 74 = {Route 16}[REALGAM TOWER] 75 = {Route 17}[REALGAM TOWER] 76 = {Route 18}[TOWER COLOSSEUM] 77 = {Sea Route 19}[PHENAC CITY] 78 = {Sea Route 20}[PYRITE COLOSSEUM] 79 = {Sea Route 21}[UNDER COLOSSEUM] 7A = {Route 22}[THE UNDER] 7B = {Route 23}[REALGAM TOWER] 7C = {Route 24}[REALGAM TOWER] 7D = {Route 25}[DEEP COLOSSEUM] 7E = {Viridian Forest}[ORRE COLOSSEUM] 7F = {Mt Moon}[THE UNDER] 80 = {SS Anne (Pier)}[PHENAC CITY] 81 = {Underground Path}[SNEGEM HIDOUT] 82 = {Underground Path}[SNEGEM HIDOUT] 83 = {Diglett Cave}[SNEGEM HIDOUT] 84 = {Victory Road}[SNEGEM HIDOUT] 85 = {Team Rocket's Hideout}[SNEGEM HIDOUT] 86 = {Silph Company (Lapras)}[SNEGEM HIDOUT] 87 = {Pokemon Mansion}[SNEGEM HIDOUT] 88 = {Safari Zone}[SNEGEM HIDOUT] 89 = {Pokemon League}[SNEGEM HIDOUT] 8A = {Rock Tunnel}[THE UNDER SUBWAY] 8B = {Seafoam Islands}[THE UNDER SUBWAY] 8C = {Pokemon Tower}[LABORATORY] 8D = {Cerulean Cave}[LABORATORY] 8E = {Power Plant}[PYRITE COLOSSEUM] 8F = {ONE ISLAND}[met at a distant land.] 90 = {TWO ISLAND}[met at a distant land.] 91 = {THREE ISLAND}[met at a distant land.] 92 = {FOUR ISLAND (Nursery)}[met at a distant land.] 93 = {FIVE ISLAND}[met at a distant land.] 94 = {SEVEN ISLAND}[met at a distant land.] 95 = {SIX ISLAND}[met at a distant land.] 96 = {Isle 1-KINDLE ROAD} 97 = {Isle 1-TREASURE BEACH} 98 = {Isle 2-CAPE BRINK} 99 = {Isle 3-BOND BRIDGE} 9A = {THREE ISLAND PORT} 9B = {SEVII ISLE 6} 9C = {SEVII ISLE 7} 9D = {SEVII ISLE 8} 9E = {SEVII ISLE 9} 9F = {RESORT GORGEOUS} A0 = {Isle 5-WATER LABYRINTH} A1 = {FIVE ISLE MEADOW} A2 = {Isle 5-South Sea Route-MEMORIAL PILLAR} A3 = {OUTCAST ISLAND} A4 = {GREEN PATH} A5 = {WATER PATH} A6 = {RUIN VALLEY} A7 = {TRAINER TOWER} A8 = {CANYON ENTRANCE} A9 = {SEVAULT CANYON} AA = {TANOBY RUINS} AB = {SEVII ISLE 22} AC = {SEVII ISLE 23} AD = {SEVII ISLE 24} AE = {Isle 8-NAVEL ROCK(Lugia & Ho-oh)} AF = {Isle 1-MT. EMBER} B0 = {BERRY FOREST} B1 = {Isle 4-ICEFALL CAVE} B2 = {ROCKET WAREHOUSE} B3 = {TRAINER TOWER} B4 = {DOTTED HOLE} B5 = {Isle 5-LOST CAVE} B6 = {PATTERN BUSH} B7 = {ALTERING CAVE} B8 = {TRNOBY CHAMBERS} B9 = {THREE ISLE PATH-Tunnel} BA = {TANOBY KEY} BB = {Isle 9-BIRTH ISLAND(Deoxys)} BC = {Iresu Sekisitsu-MONEAN CHAMBER} BD = {Nazan Sekisitsu-LIPTOO CHAMBER} BE = {Yugo Sekisitsu-WEEPTH CHAMBER} BF = {Aleboca Sekisitsu-DILFORD CHAMBER} C0 = {Kotou Sekisitsu-SCUFIB CHAMBER} C1 = {Anuza Sekisitsu-RIXY CHAMBER} C2 = {Oliphu Sekisitsu-VIAPOIS CHAMBER} C3 = {EMBER SPA} C4 = {CELADON DEPT.} C5 = /Aqua Hideout/ C6 = /Magma Hidout/ C7 = /Mirage Tower/ C8 = /Birth Island-Deoxys/ C9 = /Faraway Island-Mew/ CA = /Artisan Cave/ CB = /Marine Cave-Kryogre/ CC = /Underwater/ CD = /Terra Cave-Groudon/ CE = /Underwater/ CF = /Underwater/ D0 = /Underwater/ D1 = /Desert Underpass/ D2 = /Altering Cave/ D3 = /Navel Rock-Ho-oh,Lugia/ D4 = /Trainer Hill/ D5 = D5 D6 = D6 D7 = D7 D8 = D8 D9 = D9 DA = DA DB = DB DC = DC DD = DD DE = DE DF = DF E0 = E0 E1 = E1 E2 = E2 E3 = E3 E4 = E4 E5 = E5 E6 = E6 E7 = E7 E8 = E8 E9 = E9 EA = EA EB = EB EC = EC ED = ED EE = EE EF = EF F0 = F0 F1 = F1 F2 = F2 F3 = F3 F4 = F4 F5 = F5 F6 = F6 F7 = F7 F8 = F8 F9 = F9 FA = FA FB = FB FC = FC FD = FD FE = In-game Trade FF = fateful encounter. -------- LevelMet -------- LevelMet = (Integer(DStructure0/65536-Dec) Mod 256-Dec) AND 127-Dec LevelMet = (Integer(DStructure0/10000-Hex) Mod 100-Hex) AND 7F-Hex 20853B00 DStructure0 5 = (Integer(20853B00/10000-Hex) Mod 100-Hex) AND 7F-Hex CASCOON (met) at level 5 Note: If LevelMet > 0 then LevelMet is the "Level (met)" If (LevelMet = 0) AND (TrainerInfo = OTrainerInfo) then "Level 5 (EGG)" If (LevelMet = 0) AND (TrainerInfo Not Equal OTrainerInfo) then "Level 5 (met)" -------- GameFrom -------- This is where Pokemon Came from. GameFrom = Integer(DStructure0/8388608-Dec) Mod 16-Dec GameFrom = Integer(DStructure0/800000-Hex) Mod 10-Hex 20853B00 DStructure0 1 = Integer(20853B00/800000-Hex) Mod 10-Hex CASCOON came from Pokemon Sapphire 0 = Demo Jirachi Disk 1 = Pokemon Sapphire 2 = Pokemon Ruby 3 = /Emerald/ 4 = {Pokemon Fire} 5 = {Pokemon Leaf} 6 = 6 7 = 7 8 = 8 9 = 9 10 = 10 11 = 11 12 = 12 13 = 13 14 = 14 15 = [Pokemon Colosseum] _Pokemon XD_ -------------- BallCaughtWith -------------- BallCaughtWith = Integer(DStructure0/134217728-Dec) Mod 16-Dec BallCaughtWith = Integer(DStructure0/8000000-Hex) Mod 10-Hex 20853B00 DStructure0 4 = Integer(20853B00/8000000-Hex) Mod 10-Hex CASCOON caught with a Poke Ball. 1 = Master Ball 2 = Ultra Ball 3 = Great Ball 4 = Poke Ball 5 = Safari Ball 6 = Net Ball 7 = Dive Ball 8 = Nest Ball 9 = Repeat Ball A = Timer Ball B = Luxury Ball C = Premier Ball --------------------- OriginalTrainerGender --------------------- OriginalTrainerGender = Integer(DStructure0/2147483648-Dec) Mod 2-Dec OriginalTrainerGender = Integer(DStructure0/80000000-Hex) Mod 2-Hex 20853B00 DStructure0 0 = Integer(20853B00/80000000-Hex) Mod 2-Hex CASCOON's OriginalTrainerGender is a Boy. 0 = Boy 1 = Girl ----------- 30b) DStructure1 ----------- Contains: DV's EGGFlag AbilityUsed 0DD14024 DStructure1 ----------- DV's ----------- All DV's have a range 0 to 31. 0DD14024 DStructure1 HPDV = DStructure1 Mod 32-Dec HPDV = DStructure1 Mod 20-Hex 4-Hex = 0DD14024 Mod 20-Hex AtkDV = Intger(DStructure1/32-Dec) Mod 32-Dec AtkDV = Intger(DStructure1/20-Hex) Mod 20-Hex 1-Hex = Intger(0DD14024/20-Hex) Mod 20-Hex DefDV = Intger(DStructure1/1024-Dec) Mod 32-Dec DefDV = Intger(DStructure1/400-Hex) Mod 20-Hex 10-Hex = Intger(0DD14024/400-Hex) Mod 20-Hex SpeDV = Intger(DStructure1/32768-Dec) Mod 32-Dec SpeDV = Intger(DStructure1/8000-Hex) Mod 20-Hex 2-Hex = Intger(0DD14024/8000-Hex) Mod 20-Hex SpADV = Intger(DStructure1/1048576-Dec) Mod 32-Dec SpADV = Intger(DStructure1/100000-Hex) Mod 20-Hex 1D-Hex = Intger(0DD14024/100000-Hex) Mod 20-Hex SpDDVi=Intger(DStructure1/33554432-Dec) Mod 32-Dec SpDDVi=Intger(DStructure1/2000000-Hex) Mod 20-Hex 6-Hex = Intger(0DD14024/2000000-Hex) Mod 20-Hex CASCOON's DV's HPDV = 4-Dec AtkDV = 1-Dec DefDV = 16-Dec SpeDV = 2-Dec SpADV = 29-Dec SpDDV = 6-Dec Note: Speed DV is not in Same Spot as PokeDex ------- EggFlag ------- Is pokemon an EGG? EggFlag = Integer(DStructure1/1073741824-Dec) Mod 2-Dec EggFlag = Integer(DStructure1/40000000-Hex) Mod 2-Hex 0DD14024 DStructure1 0 = Integer(0DD14024/40000000-Hex) Mod 2-Hex CASCOON Not an EGG 0 = Not an EGG 1 = Is an EGG ----------- AbilityUsed ----------- AbilityUsed = Integer(DStructure1/2147483648-Dec) Mod 2-Dec AbilityUsed = Integer(DStructure1/80000000-Hex) Mod 2-Hex 0DD14024 DStructure1 0 = Integer(0DD14024/80000000-Hex) Mod 2-Hex CASCOON's first ability is Shed Skin 0 = First Ability Used 1 = Second Ability Used (Most Pokemon, No Second Ability) ----------- 30c) DStructure2 ----------- Contains: Ribbons Obedient 00000000 DStructure2 CASCOON has no ribbons ------- Ribbons ------- Cool = DStructure2 Mod 8-Dec 0 = None 1 = Normal 2 = Super 3 = Hyper 4 = Master Beauty = Integer(DStructure2/8-Dec) Mod 8-Dec 0 = None 1 = Normal 2 = Super 3 = Hyper 4 = Master Cute = Integer(DStructure2/64-Dec) Mod 8-Dec 0 = None 1 = Normal 2 = Super 3 = Hyper 4 = Master Smart = Integer(DStructure2/512-Dec) Mod 8-Dec 0 = None 1 = Normal 2 = Super 3 = Hyper 4 = Master Tough = Integer(DStructure2/4096-Dec) Mod 8-Dec 0 = None 1 = Normal 2 = Super 3 = Hyper 4 = Master Campion = Integer(DStructure2/32768) Mod 2 0 = None 1 = Has Ribbon BattleLevel50 = Integer(DStructure2/65536) Mod 2 0 = None 1 = Has Ribbon BattleLevel100 = Integer(DStructure2/131072) Mod 2 0 = None 1 = Has Ribbon SketchRibbon = Integer(DStructure2/262144) Mod 2 0 = None 1 = Has Ribbon HardWorker = Integer(DStructure2/524288) Mod 2 0 = None 1 = Has Ribbon Special1 = Integer(DStructure2/1048576) Mod 2 0 = None 1 = Has Ribbon Special2 = Integer(DStructure2/2097152) Mod 2 0 = None 1 = Has Ribbon Special3 = Integer(DStructure2/4194304) Mod 2 0 = None 1 = Has Ribbon Special4 = Integer(DStructure2/8388608) Mod 2 0 = None 1 = Has Ribbon Special5 = Integer(DStructure2/16777216) Mod 2 0 = None 1 = Has Ribbon Special6 = Integer(DStructure2/67108864) Mod 2 0 = None 1 = Has Ribbon Note: Each Special Ribbions can be given a Description The Description is NOT stored in the Pokemon It is stored in different spot. 1 = 2003 REGIONAL TOURNEY CHAMPION RIBBON 2 = 2003 NATIONAL TOURNEY CHAMPION RIBBON 3 = 2003 GLOBAL CUP CHAMPION RIBBON 4 = 2003 REGIONAL TOURNEY Runner-up RIBBON 5 = 2003 NATIONAL TOURNEY Runner-up RIBBON 6 = 2003 GLOBAL CUP Runner-up RIBBON 7 = 2003 REGIONAL TOURNEY Semifinalist RIBBON 8 = 2003 NATIONAL TOURNEY Semifinalist RIBBON 9 = 2003 GLOBAL CUP Semifinalist RIBBON 10 = 2004 REGIONAL TOURNEY CHAMPION RIBBON 11 = 2004 NATIONAL TOURNEY CHAMPION RIBBON 12 = 2004 GLOBAL CUP CHAMPION RIBBON 13 = 2004 REGIONAL TOURNEY Runner-up RIBBON 14 = 2004 NATIONAL TOURNEY Runner-up RIBBON 15 = 2004 GLOBAL CUP Runner-up RIBBON 16 = 2004 REGIONAL TOURNEY Semifinalist RIBBON 17 = 2004 NATIONAL TOURNEY Semifinalist RIBBON 18 = 2004 GLOBAL CUP Semifinalist RIBBON 19 = 2005 REGIONAL TOURNEY CHAMPION RIBBON 20 = 2005 NATIONAL TOURNEY CHAMPION RIBBON 21 = 2005 GLOBAL CUP CHAMPION RIBBON 22 = 2005 REGIONAL TOURNEY Runner-up RIBBON 23 = 2005 NATIONAL TOURNEY Runner-up RIBBON 24 = 2005 GLOBAL CUP Runner-up RIBBON 25 = 2005 REGIONAL TOURNEY Semifinalist RIBBON 26 = 2005 NATIONAL TOURNEY Semifinalist RIBBON 27 = 2005 GLOBAL CUP Semifinalist RIBBON 28 = POKEMON BATTLE CUP CHAMPION RIBBON 29 = POKEMON BATTLE CUP Runner-up RIBBON 30 = POKEMON BATTLE CUP Semifinalist RIBBON 31 = POKEMON BATTLE CUP Participation RIBBON 32 = POKEMON LEAGUE CUP CHAMPION RIBBON 33 = POKEMON LEAGUE CUP Runner-up RIBBON 34 = POKEMON LEAGUE CUP Semifinalist RIBBON 35 = POKEMON LEAGUE CUP Participation RIBBON 36 = ADVANCE CUP CHAMPION RIBBON 37 = ADVANCE CUP Runner-up RIBBON 38 = ADVANCE CUP Semifinalist RIBBON 39 = ADVANCE CUP Participation RIBBON 40 = POKEMON Tournament Participation RIBBON 41 = POKEMON Event Participation RIBBON 42 = POKEMON Festival Participation RIBBON 43 = Difficulty-clearing Commemorative RIBBON 44 = RIBBON awarded for clearing all difficulties 45 = 100-striaght Win Commemorative RIBBON 46 = DARKNESS TOWER Clear Commemorative RIBBON 47 = RED TOWER Clear Commemorative RIBBON 48 = BLACKIRON TOWER Clear Commemorative RIBBON 49 = FINAL TOWER Clear Commemorative RIBBON 50 = Legend-making Commemorative RIBBON 51 = POKEMON CENTER TOKYO Commemorative RIBBON 52 = POKEMON CENTER OSAKA Commemorative RIBBON 53 = POKEMON CENTER NAGOYA Commemorative RIBBON 54 = POKEMON CENTER NY Commemorative RIBBON 56 = Summer Holidays RIBBON 57 = Winter Holidays RIBBON 58 = Spring Holidays RIBBON 59 = Evergreen RIBBON 60 = Special Holidays RIBBON 61 = Hard Worker RIBBON 62 = Lots of Friends RIBBON 63 = Full of Energy RIBBON 64 = A Commemorative RIBBON for a loved POKEMON -------- Obedient -------- Is used to trade certain Pokemon. Mew, Deoxys Obedient = Integer(DStructure2/2147483648) Mod 2 0 = Not Obedient 1 = Obedient Most Pokemon don't need the Obedient set.