Is there an easy way to allow npc trainers access to Illegal EV's (more than 252 per stat and more than 510 total) while still keeping the caps in place for players?
Whenever you try and do so ingame or in the pbs the game either will stop you with an error during compilation or outright just not let you do it.
Realistically, just searching for "EV_LIMIT" in CompilePBS and commenting out those lines should be enough. Or just remove that whole section, since that seems to be it's entire purpose.
If you're on v18 this will probably be different, but it's the same for both v19 and v20