Based on your description, the game you are referring to might be "Pokemon Crater." Pokemon Crater was a popular online text-based Pokemon game that gained popularity around 2016-2017. It was playable on web browsers and allowed players to catch Pokemon, battle other trainers, and explore various regions.
Unfortunately, Pokemon Crater was shut down in 2007 due to legal issues with Nintendo, the company behind the Pokemon franchise. Since then, there have been similar fan-made games and online Pokemon simulators that have tried to recreate the experience of Pokemon Crater.
If you are looking for a similar text-based Pokemon game to play now, you can try searching for fan-made Pokemon games or online simulators that offer a similar gameplay experience. Just be sure to check the legality of the game and respect the intellectual property rights of the Pokemon franchise.