}
@Override
public void onReturn(Activity activity, Player player) {
if (activity instanceof SelectMoveFromPokemonActivity) {
SelectMoveFromPokemonActivity smflpa = (SelectMoveFromPokemonActivity) activity;
moveIndex = smflpa.getMoveIndex();
if (battle.getTrainerCount() == 2) {
for (Slot slot : battle) {
if (slot.trainer().id().equals(player.id())) {
continue;