I am thinking of having a path finding thingy in the game so trainers are automatically detected. You can set the range of the "sight" of the trainers in the level file.
The trainers will also have a trainer script file ID set in the Action value of its Entity. In this file the Pokémon, Sprites in battle and dialogues are set.
The trainers will also have a trainer script file ID set in the Action value of its Entity. In this file the Pokémon, Sprites in battle and dialogues are set.