Pokemon Code

From Pokémon 3D Wiki
Jump to navigation Jump to search

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]}
{"HP"[HP]}{"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

Egg steps (if the Pokemon is still an egg)

#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

HP

The Pokemon's Current HP. This replaced the "Stats" tag as stats are nolonger saved but are instead calculated using the EVs and IVs

Stats2

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

Listed as: HP, Atk, Def, SpAtk, SpDef, Spd

Stats3

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

Listed as: HP, Atk, Def, SpAtk, SpDef, Spd

Game Folder
Pokemon Folder Launcher
Content ContentPacks GameModes Saves Screenshots Version History
Pokemon Data GameMode.dat Save Folder
Data maps Scripts Party.dat Player.dat Options.dat
poke V1 V2 trainer map