• 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!
  • Scottie, Todd, Serena, Kris - which Pokémon protagonist is your favorite? Let us know by voting in our 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.

Pokedex option doesn't appear after getting a starter

  • 2
    Posts
    9
    Years
    • Seen Nov 9, 2015
    I created my own Pokemon to use as a starter, but when the player first gets a Pokedex, it doesn't show in the start menu until I capture an existing Pokemon in game.

    However once I catch one, both show in the Pokedex. Any ideas would be helpful!
     
    It's probably because your starter is being given without being registered as "seen". All the usual methods of giving a pokémon to the player should add it to the seen list by default, but maybe you accidentally set that parameter to "false" or something. Does what you used look something like this?

    Code:
    pbAddPokemon(:PIKACHU,20,false)
    If it does, change it to

    Code:
    pbAddPokemon(:PIKACHU,20,true)
    or just delete the "false" and the last comma entirely (since it's set to "true" by default).

    If that doesn't help, show us the code you're using to give the player this starter. I'm sure someone will know how to fix it, or, failing that, you can just explicitly set the starter species to "seen" by following these instructions. Try making sure there's no "false" there first, though.

    EDIT: On a second read of your problem, I'm wondering whether that's actually the case—if it's not already "seen", I'm not sure it would show up in the pokédex after you caught something. Maybe it might; my project doesn't really involve the pokédex or giving people normal starters so I've not really had a reason to play with that sort of thing, haha. Definitely give this a try first, though, and if it doesn't solve things then share any other information you have about your setup (which version of Essentials you're using, any addons, have you changed anything else, etc.).
     
    Last edited:
    Wow, I finally made it on time to a threat to answer a question!

    This is a simple fix, somewhere after you get your Pokémon, you're going to want to add this Event Command:
    Code:
    @>Script: $Trainer.pokedex=true

    Here is an example of what mine looks like:
    Code:
    @>Play SE: 'itemlevel', 80, 100
    @>Text: \PN received a Pokédex!
    @>Script: $Trainer.pokedex=true
    @>Script: pbUnlockDex

    The pbUnlockDex part unlocked the national dex, which is good for if you want the player to be able to see all the Pokémon in the Pokédex. If you have any other questions, feel free to reply back.
     
    Back
    Top