I got it to work. I moved around the EnsureCapacity and messed with it some more. I figured I could do it all in one loop, as far as the last two ArrayLists went, using the size of the first arrayList to ensure the capacity of the others. :3 Thanks for all the help, guys. Sorry for being a bother ;P
typesList1.ensureCapacity(pokemonsTypeCheck.size());
typesList2.ensureCapacity(pokemonsTypeCheck.size());
for (int count = 0; count < (pokemonsTypeCheck.size()); count++){
//File typeList1 = new File("types1.txt"); //Buffered Reader //Fix
//File typeList2 = new File("types2.txt");
//final Scanner types1 = new Scanner(typeList1);
//final Scanner types2 = new Scanner(typeList2);
BufferedReader types1 = new BufferedReader(new FileReader(typeList1));
BufferedReader types2 = new BufferedReader(new FileReader(typeList2));
//String currentLine;
int spareCounter=0;
spareCounter=0;
while (hnnng){
try {
typesCheck1 = types1.readLine();
typesCheck2 = types2.readLine();
} catch (IOException e) {
// TODO Auto-generated catch block
e.printStackTrace();
}
typesList1.add(spareCounter, typesCheck1);
typesList2.add(spareCounter, typesCheck2);
spareCounter++;
if ((typesList1.size())==(pokemonsTypeCheck.size())){
hnnng=false;
}
}
}
System.out.print(pokemonsTypeCheck.get(pokemonNumber)+" is a "+typesList1.get(pokemonNumber));
if (typesList2.get(pokemonNumber).equals(" ")){
System.out.println(" type.");
}
else{
System.out.println("/"+typesList2.get(pokemonNumber)+" type.");
}