• Our software update is now concluded. You will need to reset your password to log in. In order to do this, you will have to click "Log in" in the top right corner and then "Forgot your password?".
  • Staff applications for our PokéCommunity Daily and Social Media team are now open! Interested in joining staff? Then click here for more info!
  • 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
    9
    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