• 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!
  • Scottie, Todd, Serena, Kris - 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.

How to check player's money

  • 36
    Posts
    10
    Years
    • Seen Sep 28, 2017
    Hi guys, i want to create an npc that check if your money is more than 1000 and if so something happens otherwise nothing happens.
    How can i do that?
    Sorry for my english, is not my native language :P
     
    I'm pretty sure you can just use Conditional Branch and check for the player's gold.
     
    Yes, i think that i love you. Ahaahahahah
    Another thing, i want an animation when a trainer send out a specifi pokemon, in the script section i've found this
    Code:
     if shinyBattler?(@battle.battlers[1])
            pbCommonAnimation("Shiny",@battle.battlers[1],nil)
          end
    But if i want that the animation appear for a specific pokemon what can i do?
     
    Back
    Top