• Our software update is now concluded. You will need to reset your password to log in. In order to do this, you will have to click "Log in" in the top right corner and then "Forgot your password?".
  • 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

  • 3
    Posts
    338
    Days
    • Seen Nov 30, 2023
    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.
    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: 5
    Last edited:
  • 192
    Posts
    6
    Years
    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:
     
  • 2
    Posts
    301
    Days
    • Seen Dec 24, 2023
    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.
    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