• 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] (HELP) NPC that checks for different Pokémon forms

  • 2
    Posts
    10
    Years
    • Seen Apr 9, 2025
    Hello Community!

    I've been having a lot of fun with Pokemon Essentials for the past few months. However there is something I've been trying to do and just can't get it right.

    I have a NPC that should check if you have registered in your Pokédex different forms of a Pokémon (it doesn't matter if it is seen or owned, I tried both and can't get either to work)

    For example: he wants to see all 3 Wormadams, or all 28 Unowns. I tried setting this up with multiple conditional branches with the script $player.has_species?(:POKEMON, form) , and it worked for Wormadam, however this requires the Pokemon to be in your party, and that wouldn't work for Unown, obviously.

    Then I tried $player.owned?(:POKEMON_form) and $player.seen?(:POKEMON_form) , however both of these ignore the species requirement. For example, if I had owned / seen only one Unown, then all of the conditional branches would be interpreted as positive and the NPC would thank you and give your reward… which shouldn't happen.

    Maybe I'm being stupid about this, but I simply can't figure out a way to have this NPC work. Can someone help me setting up this event to check if you have owned / seen all forms of Unown?

    Thank you very much in advance
     
    Back
    Top