How about adding a modifier for the aggro range of the NPC Trainers? It could be an option in the Trainer editor, where it engages the trainer from [Insert Distance] Blocks away. It could range from 0 blocks to a relative distance of 10 blocks i'd say.
And maybe make a height range as well, such as if you are two blocks above the ground the trainer is on, it will not engage.
I think this will be a useful addition to the mod, and I thank DemonCatLord for the idea.
Legendary Guardians: http://pixelmonmod.com/viewtopic.php?f=135&t=19306
Mystery Dungeon : http://pixelmonmod.com/viewtopic.php?f=135&t=19965
"My Grandfather's Deck Has no Pathetic Cards Kaiba, But it Does Hold the Unstoppable JOHN CENA!"