• 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.
  • Ever thought it'd be cool to have your art, writing, or challenge runs featured on PokéCommunity? Click here for info - we'd love to spotlight your work!
  • Our weekly protagonist poll is now up! Vote for your favorite Conquest protagonist in the poll by clicking here.
  • 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.

[Question] v19.1 Check if Player has Specific Pokemon

  • 12
    Posts
    4
    Years
    • Seen Oct 2, 2023
    So I've tried the one that is "pbHasSpecies" and I've also tried the one that has "$player.has_species?" and neither of them work.

    I keep getting the errors of invalid name or No method.

    I'm just trying to check if the player has a Pikachu on them.
    I'm not sure what do next and I can't find the non-depreciated version of the script I'm supposed to call.
    Help?
     
    Last edited:
    So I found the answer and I'm posting here if anyone is using v19.1 that neither pbHasSpecies or $player.has_species? works.
    This is inbetween those two and the answer can be found in the Player's default house.

    It's $Trainer.has_species?(:POKEMONNAME)

    Its a little weird how many different answers I kept on finding but one led me to look into the player's house and I found it so there ya go!
    Hopefully this helps someone with the same issue of being in-between depreciated methods.
     
    Back
    Top