• 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!
  • 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.

[ASM & Hex] Help with buffering health and status effects in a new ability

  • 4
    Posts
    4
    Years
    • Seen Jun 25, 2021
    Hello! I am working on my first rom hack and trying to create a new ability but I am running into a problem.

    I am creating an ability called Molt which restores 20% and cures all status effects upon switch out. Basically it is a combination of regenerator and natural cure. Conveniently MrDollSteak has provided the code for regenerator (I would link it but it won't let me) which I started building off of.

    Obviously just adding an update to the status effect doesn't do anything since it needs to be buffered,
    Spoiler:
    but I cannot seem to find any documentation about how the buffering system works to be able to modify it. Has anyone done anything like this or know any resources I can look at to try and get this to work?
     
    Back
    Top