• 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.
  • Ever thought it'd be cool to have your art, writing, or challenge runs featured on PokéCommunity? Click here for info - we'd love to spotlight your work!
  • Our weekly protagonist poll is now up! Vote for your favorite Conquest protagonist in the poll by clicking here.
  • 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.

[Tool] FireRed Safari Zone Enounters Not Showing Up in Porymap?

  • 37
    Posts
    1
    Years
    • Seen Apr 6, 2025
    I was looking at different areas of FireRed using Porymap, and I noticed a few encounters aren't listed. Parasect, Chansey, and Scyther/Pinsir aren't showing up in Porymap. Does anyone know the reason for that? Do I have to manually edit a different file? If so, what file? Please help.

    EDIT: I figured out what was wrong, but now I need to know how to work with or around it. Is it possible to give separate encounter rates for each area instead of the encounter type (grass/Surf/Rock Smash/fishing)? Also, what happens when the game tries to load an encounter and the RNG lands on "SPECIES_NONE"?
     

    Attachments

    • [PokeCommunity.com] FireRed Safari Zone Enounters Not Showing Up in Porymap?
      SafariBulbapedia.PNG
      44.4 KB · Views: 7
    • [PokeCommunity.com] FireRed Safari Zone Enounters Not Showing Up in Porymap?
      SafariPorymap.PNG
      27.3 KB · Views: 6
    Last edited:
    I was looking at different areas of FireRed using Porymap, and I noticed a few encounters aren't listed. Parasect, Chansey, and Scyther/Pinsir aren't showing up in Porymap. Does anyone know the reason for that? Do I have to manually edit a different file? If so, what file? Please help.

    I don't know why porymap doesn't show all the encounters, but you can always manually edit src/data/wild_encounters.json with a text editor. All of the encounters are there.
     
    I just checked it, and those encounters aren't listed there, either. I swear I haven't messed with the files at all before now.
    Well, something must have happened on your end, because the table is complete on Pret's end.
    https://github.com/pret/pokefirered/blob/master/src/data/wild_encounters.json#L1479-L1546

    Perhaps you deleted entries by accident and didn't realize it?
    You can use git log src/data/wild_encounters.json or alternatively git diff depending on how often you make commits in order to find out.
     
    Last edited:
    Perhaps you deleted entries by accident and didn't realize it?
    That's exactly what happened. I was editing encounters on Route 1. I didn't realize that the encounter table was universal for all tall grass encounters.

    That, of course, now begs the question, is it possible to add individual encounter rates to specific locations? Another question, what happens during the game when the RNG tries to load an encounter with "SPECIES_NONE"?
     
    That, of course, now begs the question, is it possible to add individual encounter rates to specific locations?
    By default? No. You'll have to make code changes of your own to the functions inside src/wild_encounter.c and also the Inja template that generates the src/data/wild_encounters.json file, which is handled by src/data/wild_encounters.json.txt.

    Another question, what happens during the game when the RNG tries to load an encounter with "SPECIES_NONE"?
    The slot would spawn a somewhat functional MissingNo. aka the Species No. 0 when encountered In Game.
     
    By default? No. You'll have to make code changes of your own to the functions inside src/wild_encounter.c and also the Inja template that generates the src/data/wild_encounters.json file, which is handled by src/data/wild_encounters.json.txt.
    I see. So it's either figure that out, or determine where I want the largest number of different encounter ratios and just redundantly fill in the slots for all other areas.

    Sorry, but what's an Inja template? Also, is there a guide that would even kind of help how to edit those files?
     
    Sorry, but what's an Inja template? Also, is there a guide that would even kind of help how to edit those files?
    A template file whose contents let you to build text-based files in an automatized manner.
    As I said, the contents of the Inja template within src/data/wild_encounters.json.txt are what allows these projects to generate a src/data/wild_encounters.json file.

    As for guides, refer to the documentation in the GitHub repository of the Inja template engine.
    https://github.com/pantor/inja#tutorial
     
    Back
    Top