The PokéCommunity Forums

The PokéCommunity Forums (https://www.pokecommunity.com/index.php)
-   Binary ROM Hacking (https://www.pokecommunity.com/forumdisplay.php?f=284)
-   -   Other EV/Iv script (https://www.pokecommunity.com/showthread.php?t=360266)

Shogun December 24th, 2015 1:24 AM

EV/Iv script
 
I've found this http://www.pokecommunity.com/showpost.php?p=8540240&postcount=368
But I can't found any example of script using this. If someone can post an example, it would be great.
Thanks.

Bonnox December 24th, 2015 3:37 AM

The author gave the "instruction booklet" for the routine, so there is no need to provide an example. People who post on the ASM threads have the tendency to assume that readers are skilled enough to understand basic levels.

Quote:

Usage:
setvar 0x8003 0x[anything except 0 = IV, 0 = EV]
setvar 0x8004 0x[slot number 0 to 5]
callasm 0x[this routine +1]

The variables will be:
0x8005: HP IV/EV
0x8006: Atk IV/EV
0x8007: Def IV/EV
0x8008: Spd IV/EV
0x8009: S.atk IV/EV
0x800A: S.def IV/EV
the variables contain the output, wich you may use at your will; while to call the routine you simply need a callasm with a couple of variables to be initialized.
(i think there is a typo in the second line, by the way)

have a nice day :D


All times are GMT -8. The time now is 2:24 AM.


Like our Facebook Page Follow us on Twitter © 2002 - 2018 The PokéCommunity™, pokecommunity.com.
Pokémon characters and images belong to The Pokémon Company International and Nintendo. This website is in no way affiliated with or endorsed by Nintendo, Creatures, GAMEFREAK, The Pokémon Company or The Pokémon Company International. We just love Pokémon.
All forum styles, their images (unless noted otherwise) and site designs are © 2002 - 2016 The PokéCommunity / PokéCommunity.com.
PokéCommunity™ is a trademark of The PokéCommunity. All rights reserved. Sponsor advertisements do not imply our endorsement of that product or service. User generated content remains the property of its creator.

Acknowledgements
Use of PokéCommunity Assets
vB Optimise by DragonByte Technologies Ltd © 2023.