Thank you for the reply again, I'm not sure if I understand what you mean though? Could you give me an example of what you are describing? I can post more code, but I'm not sure what would help.
Currently what is happening is:
The class with the main method contains -
import java.util.Scanner;
public class PokemonBattler
{
public static Scanner in = new Scanner(System.in);
}
and the class calling it is doing something like -
System.out.print("\n\t\tYou have the following pokemon:\n ");
for (int i = 0; i < characters.length; i++)
{
System.out.print("\n" + (i + 1) + ". " + characters[i].toString());
}
do
{
System.out.print("\n\n\tEnter your choice: ");
boolean isInt = PokemonBattler.in.hasNextInt();