• 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!
  • Dawn, Gloria, Juliana, or Summer - which Pokémon protagonist is your favorite? Let us know by voting in our poll!
  • 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.

[Scripting Question] How to make an Item that boost a moves Base Power

  • 5
    Posts
    8
    Years
    • Seen Nov 26, 2024
    Hello, I am wondering how do I implement an item that boosts the base power of a move. At first, I thought it would be quite simple, in that all I had to do was edit the PPup code a bit, but then I realized that it doesn't effect the move at all. I spent a whole week trying to figure out how to make it work, but ultimately i decided to swallow my pride and ask here. So please, can someone help me?
     
    Last edited:
    Permanently increase the base power? Hmm. I think you're right that you could do that with something similar to the PPup code. Can you post what you've got so far?
     
    So far this is what my PBmove script looks like now:

    Spoiler:

    And in PItem_ItemEffects I added:
    Spoiler:
     
    Right, you've introduced a new def basedamage but none of the existing code is using it so that effectively does nothing. You'll need to find the places in the code where the base damage is computed and alter those instead. That's probably somewhere in PokeBattle_Move.
     
    Back
    Top