• 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.

[RB] Bug with Pokedex AREA functionality

  • 12
    Posts
    258
    Days
    • Seen Apr 26, 2025
    I am working on my ROM hack of Pokemon Red/Blue and I'm running into a bug with the Pokedex AREA functionality not working properly.

    I modified data/wild/grass_water.asm to include WildDataPointers for the towns and cities of the game and this has caused the AREA functionality not to function adequately. Right now, the Pokedex is misreporting where Pokemon can be found. For example, although I have made SQUIRTLE to show up in Pallet Town, Route 21, Route 10, and the Safari Zone, the game is showing completely different areas instead.

    Anyone knows what may be causing this issue?
     
    To add a bit of context and explain the situation more. I added encounter tables to the game for places such as Pallet Town and Viridian City, and with these new tables I had to add WildDataPointers to /data/wild/grass_water.asm. This made "bank3" too large, and originally I moved the engine/overworld/wild_mons.asm portion of the bank to a bank2 just before. This caused part of the error and I have since addressed it, however the CheckMapForMon function in /engine/items/item_effects.asm is still not finding all the Pokemon locations correctly. There are no issues for some Pokemon, but for others only some of the locations appear and others do not. I am not sure exactly what is going on, but I believe it has something to do with wBuffer.

    Please, any help would be appreciated.
     
    Back
    Top