As the title says. I've figured out how to add an option to change your Pokemon's poke ball from the party menu, but I'd prefer having a post-game NPC who lets you do that. Problem is, when I try to implement such an NPC, I get the following error when I select a pokemon in the party:
![[PokeCommunity.com] Ways to change a Pokemon's ball in-game (via NPC) [PokeCommunity.com] Ways to change a Pokemon's ball in-game (via NPC)](https://data.pokecommunity.com/attachments/14/14507-6ef506a787e8c140e0d7995d3c7d35e3.jpg)
This is my NPC setup:
![[PokeCommunity.com] Ways to change a Pokemon's ball in-game (via NPC) [PokeCommunity.com] Ways to change a Pokemon's ball in-game (via NPC)](https://data.pokecommunity.com/attachments/14/14508-487009e8dbd24e21ddc5312f994a8205.jpg)
And the corresponding script (It's messy. I pulled it from the debug script, but this DOES work if I use it as an option from the party menu itself):
![[PokeCommunity.com] Ways to change a Pokemon's ball in-game (via NPC) [PokeCommunity.com] Ways to change a Pokemon's ball in-game (via NPC)](https://data.pokecommunity.com/attachments/14/14509-1068fe69b29dd890184139272e85fb25.jpg)
I assume it has something to do with me trying to call the event from the field and not from the party screen itself. I talk to the NPC, he lets me choose a pokemon, but the moment I do I get that error message.
Any help is appreciated. Thank you!
![[PokeCommunity.com] Ways to change a Pokemon's ball in-game (via NPC) [PokeCommunity.com] Ways to change a Pokemon's ball in-game (via NPC)](https://data.pokecommunity.com/attachments/14/14507-6ef506a787e8c140e0d7995d3c7d35e3.jpg)
This is my NPC setup:
![[PokeCommunity.com] Ways to change a Pokemon's ball in-game (via NPC) [PokeCommunity.com] Ways to change a Pokemon's ball in-game (via NPC)](https://data.pokecommunity.com/attachments/14/14508-487009e8dbd24e21ddc5312f994a8205.jpg)
And the corresponding script (It's messy. I pulled it from the debug script, but this DOES work if I use it as an option from the party menu itself):
![[PokeCommunity.com] Ways to change a Pokemon's ball in-game (via NPC) [PokeCommunity.com] Ways to change a Pokemon's ball in-game (via NPC)](https://data.pokecommunity.com/attachments/14/14509-1068fe69b29dd890184139272e85fb25.jpg)
I assume it has something to do with me trying to call the event from the field and not from the party screen itself. I talk to the NPC, he lets me choose a pokemon, but the moment I do I get that error message.
Any help is appreciated. Thank you!