• 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 Trading Card Game 2 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.

[Other] [pokeemerald] Creating IV changing items?

  • 34
    Posts
    3
    Years
    • Seen Aug 13, 2023
    Hi there,

    I'm starting out in decomp, and have managed to make a number of changes with the helpful resources/guides found here. One of the major goals for my hack would be to introduce a set of vitamins that can increase/decrease a pokemon's IVs, and I'm looking for help getting that started. I was wondering if there were any existing hacks with similar features so that I could review that to learn by example before I try and reinvent the wheel, or at least set me in the right direction.

    I know Inclement Emerald has two NPCs that can change IV/EV data, but I imagine items would be handled a little differently.

    Anyone have any advice or examples they could point me towards?
     
    Hi there,

    I'm starting out in decomp, and have managed to make a number of changes with the helpful resources/guides found here. One of the major goals for my hack would be to introduce a set of vitamins that can increase/decrease a pokemon's IVs, and I'm looking for help getting that started. I was wondering if there were any existing hacks with similar features so that I could review that to learn by example before I try and reinvent the wheel, or at least set me in the right direction.

    I know Inclement Emerald has two NPCs that can change IV/EV data, but I imagine items would be handled a little differently.

    Anyone have any advice or examples they could point me towards?
    Ngl, I did read your request in the Discord servers of PokeCommunity and Pret, but I was honestly too lazy to reply because like adding anything else, there's a process involved.
    I've been wanting to do something like this for a while, vitamins and berries to add/remove IV I mean. Not because I wanted it as a feature per se, but because I wanted to see if I could come up with something functional and easier to understand than the ITEM_EFFECTs these games use by default which I don't like too much, so I went and cooked this up.
    https://www.pokecommunity.com/posts/10469674

    I don't know much about code efficiency, but I assume that ideally, the better way to do this is to add item effects like the ones the vitamins/berries use to add/remove EV.
     
    Ngl, I did read your request in the Discord servers of PokeCommunity and Pret, but I was honestly too lazy to reply because like adding anything else, there's a process involved.
    I've been wanting to do something like this for a while, vitamins and berries to add/remove IV I mean. Not because I wanted it as a feature per se, but because I wanted to see if I could come up with something functional and easier to understand than the ITEM_EFFECTs these games use by default which I don't like too much, so I went and cooked this up.
    https://www.pokecommunity.com/posts/10469674

    I'm not one who understands about code efficiency all that well, but I'm assuming that the ideal way to go about this though, is to add item effects such as the ones that the vitamins/berries use to add/remove EV.

    That's alright! I'm not sure how much overlap / activity there is between here, the discord, and the pret discord, so I figured I'd cover my bases. It's something that's been on my mind for a while, and as I scale back the scope of my hack more and more, this is one of the main things I'd like to keep from my original idea. I could eventually concede and make it done through scripting like with the Evie/Ivy NPCs in Inclement Emerald, but I figured I'd try to use this as an excuse to learn how items work.

    But, I agree with you, the ITEM_EFFECT process was a bit clunky for me to get my head around as someone new. Figured if anyone had done this already or had an example to point to, I could at least use that as a reference point as I've been trying to write my own versions of something or follow along with others to learn how to navigate this before just pulling a repo and forgetting about it.

    I'm checking out your post now, thanks for digging into that! Your work has been awesome and really helpful for me to learn how other systems have worked, so I'm excited to see what you came up with!
     
    Back
    Top