Thread: [Tutorial] [FR/LG] Complete Item List
View Single Post
  #7    
Old July 29th, 2007 (01:54 AM). Edited August 7th, 2007 by HackMew.
HackMew's Avatar
HackMew
Mewtwo Strikes Back
 
Join Date: Jun 2006
Quote originally posted by Short Range:
I think once I tried using the same numbers for a person to give you a Pikachu holding an oran Berry in FR but It came as a Vulpix holding a nest ball...

Is there something wrong with my ROM?
Nope, you just make counfusion bewtween decimal and hex.
I'm sure you used something like this:

Code:
givepokemon 0x25 0x5 8B
Right?

Well, when you omit "0x" before the number it will be trated as a decimal one. Otherwhise it will be trated as hex.
Vulpix is #39, which in hex is 0x25. Pikachu, instead, is #25 which in hex is 0x19. For the item, the problem is the opposite since you omitted the "0x". And since the "B" letter doesn't exists in decimal, it will be skipped or not interpreted at least.

Use this:

Code:
givepokemon 0x19 0x5 0x8B
or if you prefer the decimal system:

Code:
givepokemon 25 5 139
Keep in mind that such question should be asked in the "Simple Questions" thread or in the "Script Sharing/Request/Discussion" one. Oh, and remember that the Windows Calc can convert between Hex and Dec, just go to View -> Scientific.
__________________