• 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!
  • Serena, Kris, Dawn, Red - which Pokémon protagonist is your favorite? Let us know by voting in our grand final favorite protagonist 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] Making a shiny checker

  • 16
    Posts
    4
    Years
    Hey, so I'm trying to have a conditional branch for one of my NPC's were if the first pokemon in the players party is a shiny then the NPC will say an extra line of text. But I can't get it working.

    I've tried using the "def shiny?" script in Pokemon Essentials but I just can't get it to work, any ideas and/or help?

    Thank you.
     
    In your NPC event, have a conditional branch with the condition "$player.first_pokemon.shiny?". It'll check if the first member of the player's party is shiny and provide extra dialogue.
     
    Back
    Top