Trainer Pokemon Faints

I'm back from lunch. I tried to put the trainer pokemon fainted feature
into one fucntion. I tested it out with Amaya and it seems to work.
Will test with Anna too!
Trainer Anna

Added the same function that Amaya uses for Trainer Anna. They are both
calling the trainerCanBattle and they are passing their index.