• 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.
  • Our friends from the Johto Times are hosting a favorite Pokémon poll - and we'd love for you to participate! Click here for information on how to vote for your favorites!
  • 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] Item that consumes after switch-in

  • 6
    Posts
    8
    Years
    • Seen May 4, 2017
    I wanted to create some items that at the start of the turn it consumes and increases some stat. How can i do that?
     
    Find Intimidate in PokeBattle_Battler and put your code in a new branch there. Look at other code for consuming items and effects and stuff. Had to do this by heart so I can't confirm.
     
    Ok, i tried it before but i was writting just ATTACK instead of PBStats::ATTACK :3c so.
    Now it worked, thanks.
     
    Back
    Top