• 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.
  • There is an important update regarding account security and 2FA. Please click here for more information.
  • 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.
  • Imgur has blocked certain regions from viewing any images uploaded to their site. If you use Imgur, please consider replacing any image links/embeds you may have on PokéCommunity so everyone can see your images. Click here to learn more.

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