• 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!
  • 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] Pokédex Problem!

  • 73
    Posts
    9
    Years
    I wanted to add my own Pokédex, so I changed the code in SETTINGS to this:

    DEXDEPENDSONLOCATION = false
    def pbDexNames; return [
    [_INTL("Kanto Pokédex"),0],
    [_INTL("Johto Pokédex"),1],
    [_INTL("Seizon Pokédex"),2],
    _INTL("National Pokédex")
    ]; end
    ALWAYSSHOWALLFORMS = false
    DEXINDEXOFFSETS = []

    But, every time I check the Seizon Pokédex, it's just the National Pokédex. Help?
     
    Last edited by a moderator:
    Well, did you set up the RegionalNumbers metadata in pokemon.txt?
    I'll give an example with Bulbasaur.
    Spoiler:
    This is what it looks like in a clean v16.
    This is the line you need to change:
    Code:
    RegionalNumbers=1,231
    Each comma separated number is for a dex. So, 1 is Kanto and 231 is Johto. Just add the regional number to that list, or a 0 if you don't want bulbasaurs to show up in the pokedex.
    Wiki Link!
     
    Vendily said:
    Well, did you set up the RegionalNumbers metadata in pokemon.txt?
    I'll give an example with Bulbasaur.
    I did all of it, but I added in the Pokédex I want, the Seizon Pokédex, and did this:

    Spoiler:


    But, all 649 Pokémon are showing up when I check the Seizon Pokédex. Even when I go into DEBUG and check National Pokédex, it checks Seizon instead. What?
     
    Well, I added your pokemon to my pbs file.
    Can you confirm that if you go to the "Dex List Availability" in the debug, that the Seizon dex is selected?
    Because I was able to do it in a clean v16.2
    [PokeCommunity.com] Pokédex Problem!

    [PokeCommunity.com] Pokédex Problem!
     
    Vendily said:
    Well, I added your pokemon to my pbs file.
    Can you confirm that if you go to the "Dex List Availability" in the debug, that the Seizon dex is selected?
    Because I was able to do it in a clean v16.2

    Yes, I don't know why this happened. Here's a link to a youtube video I just uploaded of the video of the problem. Please, ask about the placeholder sprite for Chosol, I know it looks hideous.

    In the video, I show all my problems. I did everything correctly, but in the end, it get's messed up! Why? The error in the video that made the game crash, ignore that one, that isn't my problem.

    https://youtu.be/PfLzPRPJq5A
     
    Vendily said:
    Can you make sure that all of your PBS files are compiled? (Debug then "Compile Data".)
    Yeah, sure, just compiled them, it didn't change anything. I am very confused as well. Maybe I'm doing something wrong?
     
    Back
    Top