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

Natural Hidden abilities [V.18]

  • 143
    Posts
    5
    Years
    • Seen Mar 26, 2024
    Hey, just a quick piece of code to enable hidden abilities naturally for wild, trainer and obtainable Pokemon.The only drawback of this method is that it doesn't feel elegant, because it overrides every newly created Pokemon's ability. This leads to Pokemon not having natural abilities anymore.This may sound bad, but it actually only affects the debug screen so it won't matter in the actual game.
    To implement it you simply have to insert 2 pieces of code.(Keep in mind this was made in EssentialsV.18 and may not work in other versions)
    First put this in Pokebattle_Pokemon below "@mail = nil":
    Spoiler:
    Now insert this right above "#=============================================================================
    # Nature
    #=============================================================================":
    Spoiler:
    That's it, but I got a little extra if you want ability capsules be able to change abilities to hidden abilities.
    Just replace the whole function "ItemHandlers::UseOnPokemon.add(:ABILITYCAPSULE,proc { |item,pkmn,scene|" with:
    Spoiler:
    If you encounter any problem's while using this script be sure to comment them. :)
     
    Last edited:
    Back
    Top