• Just a reminder that providing specifics on, sharing links to, or naming websites where ROMs can be accessed is against the rules. If your post has any of this information it will be removed.
  • Ever thought it'd be cool to have your art, writing, or challenge runs featured on PokéCommunity? Click here for info - we'd love to spotlight your work!
  • Our weekly protagonist poll is now up! Vote for your favorite Conquest protagonist in the poll by clicking here.
  • Welcome to PokéCommunity! Register now and join one of the best fan communities on the 'net to talk Pokémon and more! We are not affiliated with The Pokémon Company or Nintendo.

Tutorial: How to Get and Set stats such as EV and IV

  • 4
    Posts
    1
    Years
    • Seen Feb 12, 2025
    This is a bit more detailed explanation on how to get and set stats, specifically the EV and IV stats.

    In this tutorial we will be exploring how to:
    1. Insert ASM routines
    2. Hijack existing scripts
    3. Using the ASM to get the values of an IV
    4. Also how to set an IV with a new value

    The final result will be that one of the assistant (middle one) will be able to tell you a Pokemon's HP IV and then increase it by 1, using a dialogue.
    [PokeCommunity.com] Tutorial: How to Get and Set stats such as EV and IV


    Get Value
    Spoiler:

    Set Value
    Spoiler:
     

    Attachments

    • Stat Tutorial.zip
      286.8 KB · Views: 6
    Last edited:
    This has been something the community has long wanted!
    It is impossible not to help you expand the options available in this repository.
    So let's go:

    - First Script = Change Pokémon's Pokéball.
    First, that's the Pokéballs value of a Fire Red vanilla hack:
    Spoiler:


    This is a good example of how the NPC can be:
    Spoiler:
     
    This is a bit more detailed explanation on how to get and set stats, specifically the EV and IV stats.

    In this tutorial we will be exploring how to:
    1. Insert ASM routines
    2. Hijack existing scripts
    3. Using the ASM to get the values of an IV
    4. Also how to set an IV with a new value

    The final result will be that one of the assistant (middle one) will be able to tell you a Pokemon's HP IV and then increase it by 1, using a dialogue.
    [PokeCommunity.com] Tutorial: How to Get and Set stats such as EV and IV


    Download Link:
    https://www.mediafire.com/file/hossjc75t5p6543/Stat_Tutorial.7z/file

    [Updated] Down below is the ASM code to recalculate the stat changes to the pokemon. Call it after changing the EV or IV.

    Spoiler:

    Is there any way that something like this could work for Emerald? I've been scouring the web for a way to change IVs and have been coming up empty.
     
    Back
    Top