• Do not use Discord to host any images you post, these links expire quickly! You can learn how to add images to your posts here.
  • Reminder: AI-generated content is not allowed on the forums per the Rules and Regulations. Please contact us if you have any questions!

Event script to count Pokémon by Type or Shape?

JayCee

Rookie
Member
Joined
Mar 25, 2026
Posts
1
So I am having a lot of fun fumbling through making my first fan-game but have hit a wall with one of my ideas. I want there to be an NPC who rewards the player based on how many different Pokémon they have seen of X type or body shape. Like, a badge or prize for seeing 10 different Dragon types or 40 Insectoid-shaped Pokemon.

I don't think I can modify player.pokedex.seen_count to filter itself like that. But I know the Pokédex can retrieve this information via its search screen as it displays a figure under Search Results but I cannot make sense of how a script would count this data in an event.

Thanks for any help!
 
Back
Top