• 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?".
  • Our weekly protagonist poll is now up! Vote for your favorite Kanto 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.

[Solved] [pokeemerald-expansion] Need help with showing EVs and IVs on Stat Summary Screen

  • 5
    Posts
    1
    Years
    • He/Him/His
    • Seen Jan 8, 2025
    Hello all. I've been trying to take another crack at making a ROM hack using the pokeemerald-expansion as a base, but I've run into an issue that I haven't seen before. I've been trying to add in some code in order to allow the player to check a Pokemon's IVs and EVs on the stat summary screen, based on this post from the Simple Modifications Directory by user PokemonCrazy. When using previous versions of the decomp, I was able to successfully implement this feature by following the tutorial exactly. However, during this most recent attempt, I was met with the following error when I attempted to compile the ROM:
    [PokeCommunity.com] [Solved] [pokeemerald-expansion] Need help with showing EVs and IVs on Stat Summary Screen
    It should be noted that since the expansion decomp now has DizzyEgg's Nature Stat Colors mod included, I am using the version of the Summary Screen mod that is meant to take that mod into account. Could this perhaps have been caused by some variable name changes when it was ported into the base decomp? Any help here would be greatly appreciated.
     
    Hello all. I've been trying to take another crack at making a ROM hack using the pokeemerald-expansion as a base, but I've run into an issue that I haven't seen before. I've been trying to add in some code in order to allow the player to check a Pokemon's IVs and EVs on the stat summary screen, based on this post from the Simple Modifications Directory by user PokemonCrazy. When using previous versions of the decomp, I was able to successfully implement this feature by following the tutorial exactly. However, during this most recent attempt, I was met with the following error when I attempted to compile the ROM:
    View attachment 169972
    It should be noted that since the expansion decomp now has DizzyEgg's Nature Stat Colors mod included, I am using the version of the Summary Screen mod that is meant to take that mod into account. Could this perhaps have been caused by some variable name changes when it was ported into the base decomp? Any help here would be greatly appreciated.
    If you look at the expansion's ModifyStatByNature function where gNatureStatTable is used in vanilla, you'll see that the expansion uses gNaturesInfo instead. The data is formatted differently so any code that uses gNatureStatTable would have to be modified to work with gNaturesInfo.
     
    If you look at the expansion's ModifyStatByNature function where gNatureStatTable is used in vanilla, you'll see that the expansion uses gNaturesInfo instead. The data is formatted differently so any code that uses gNatureStatTable would have to be modified to work with gNaturesInfo.
    Thank you for pointing me in the right direction! I changed the code that referenced the older variable and successfully compiled the ROM with the intended effect of the IVs and EVs displaying on particular button presses, with the Nature colors only showing up when viewing the Pokemon's actual stats.
     
    Back
    Top