>>47263620(speaking for the GBA/DS games)
Every pokemon has a fixed set of base stats and levelup stat gains for every level
Evolving a pokemon or hatching a pokemon from an egg (Explorers) increases HP by 10 and all other stats by 5 but does not otherwise alter stats
There is no softcap on stats, with enough items you can get your stats up to the hardcaps of 999 (HP) or 255 (other stats)
This means that no pokemon is limited by base stats, so only movepool, type, and abilities are relevant
999 HP Shedinja is a thing and it's beautiful