- 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
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