SearchForCheats.de.vu » Tutorials » Fancy Knowledge #2 - How To Read Out IV


Fancy Knowledge #2 - How To Read Out IV

For EMER BPEE (US Emerald version) only!!!

If you want a certain person in your game to say something like "Oh! Your whateverpokemon has a HP IV of XX!" then you just have to call this ASM-script:

7E B5 19 48 00 88 64 21 48 43 18 4C 24 18 20 1C 
27 21 17 4B 00 F0 26 F8 1B 49 08 80 20 1C 28 21
13 4B 00 F0 1F F8 17 49 08 80 20 1C 29 21 10 4B
00 F0 18 F8 12 49 08 80 20 1C 2A 21 0C 4B 00 F0
11 F8 0E 49 08 80 20 1C 2B 21 09 4B 00 F0 0A F8
09 49 08 80 20 1C 2C 21 05 4B 00 F0 03 F8 05 49
08 80 7E BD 18 47 00 00 E0 75 03 02 EC 44 02 02
19 A5 06 08 E6 75 03 02 E4 75 03 02 E2 75 03 02
E0 75 03 02 DE 75 03 02 DC 75 03 02 00 00 00 00

Call this ASM script by command 0x23. Don´t forget to increase the target adress by one, because its a THUMB function. Use the special call 0x00A2 and a 0x27 command to fill the variable with the pokemonnr. e.g.:

25 A2 00 27

After the ASM call the environment vars (0x80..) hold the following values:

0x8007 SPVER IV
0x8006 SPATT IV
0x8005 SPEED IV
0x8004 VERT IV
0x8003 ATT IV
0x8002 HP IV

Copy them in the textbuffers by the command 0x83. The syntax is:

83 [XX] [YYYY]

XX = Number of the stringbuffer (00 to 02) YYYY = Var to fill the stringbuffer (In our case 0x8002 - 0x8007 for the IV)

The textbuffers can be used in a message:

FD 02 = Stringbuffer 1
FD 03 = Stringbuffer 2
FD 04 = Stringbuffer 3

"Pokémon" ist ein eingetragenes Warenzeichen der Firma Nintendo
"Action Replay" ist ein eingetragenes Warenzeichen von Datel Interact.
© www.SearchForCheats.de.vu by Mastermind_X
© 2006 - 2008