Difference between revisions of "Pokemon Code"

From Pokémon 3D Wiki
Jump to navigation Jump to search
Line 91: Line 91:
=== Stats3 ===
=== Stats3 ===
DVs are IVs, Each Pokemonn has a 0-31 value to represent this value.
DVs are IVs, Each Pokemonn has a 0-31 value to represent this value.
{{FilePaths}}

Revision as of 20:37, 26 March 2013

Pokemon Code is used in the Box.dat, Daycare.dat, party.dat and the .trainer files to specify many aspects of each Pokemon.

Code

This is an Example of the code:

{"Pokemon"[#1]}{"Experience"[#2]}{"Gender"[#3]}{"EggSteps"[#4]}{"Item"[#5]}{"NickName"[text1]}{"Level"[#6]}
{"OT"[#7]}{"Ability"[#8]}{"Status"[text2]}{"Nature"[#9]}
{"CatchLocation"[text3]}{"CatchTrainer"[text4]}{"CatchBall"[#10]}{"CatchMethod"[text5]}
{"Friendship"[#11]}{"isShiny"[#12]}{"Attack1"[M1]}{"Attack2"[M2]}{"Attack3"[M3]}{"Attack4"[M4]}
{"Stats"[Stats1]}{"FPs"[Stats2]}{"DVs"[Stats3]}{"AdditionalData"[]}

Attributes

#1

The National dex number of the Pokemon.

#2

Total EXP.

#3

Gender

  • 0 = Male
  • 1 = Female
  • 2 = Genderless

#4

#5

Item ID #.

Use this list of Items: Items

text1

Nickname

#6

Current level.

#7

Original Trainer's Number.

#8

Ability ID

Use this list: Abilities

text2

The status the Pokemon is currently under.

#9

Nature ID #

See list here: Natures

text3

Name of place where Pokemon was caught.

text4

Name of the trainer who caught the Pokemon.

#10

ID # of the Pokeball it was caught in.

text5

How the Pokemon was Received.

#11

Amount of Friendship a Pokemon feels toward you.

0-255

#12

Determines if a Pokemon is shiny.

  • 0 = not shiny
  • 1 = Shiny

Moves

Each move contains 3 numbers:

  • Move ID - See this list: Moves
  • Full PP - The value that the move will have right after being healed.
  • Current PP - The vale for how many more uses of a move you have left.

Stats

Stats1

The Pokemon's Current stats: HP is repeated twice once for the current and once for full HP.

Stats2

FPs are EVs, the amount of EVs a pokemon has received so far.

Stats3

DVs are IVs, Each Pokemonn has a 0-31 value to represent this value.

Game Folder
Content ContentPacks GameModes Saves Screenshots Game Executable
Pokemon Data ContentPack Folder GameMode folder Savegame folder Version History
Data Maps Moves Items Scripts Control Files Content GameMode.dat Party.dat Player.dat Options.dat
poke battle structures V1 V2 trainer worldmap