public void cargar()
    {
        try
        {
            String workingDir = System.getProperty("user.dir");
            
            File dex = new File(workingDir+"/pokeDexNac.txt");
            BufferedReader pokeDex = new BufferedReader(new FileReader(dex));
            File stats = new File(workingDir+"/pokeStats.txt");
            BufferedReader pokeStats = new BufferedReader(new FileReader(stats));
            File pokAbc = new File(workingDir+"/pokeDexAbc.txt");
            BufferedReader pokeAbc = new BufferedReader(new FileReader(pokAbc));
            pokeDex.readLine();
            pokeStats.readLine();
            pokeAbc.readLine();
            
            
            while(pokeDex.ready() && pokeStats.ready())
            {   
                String statString[], abc[];
                abc = pokeDex.readLine().split("\t");
                statString = pokeStats.readLine().split("\t");
            
                String numeroString, nombre, tipo1, tipo2, desc;

                numeroString = abc[2].trim();
                nombre = abc[3].trim();
                tipo1 = abc[4].trim();
                try
                {
                    tipo2 = abc[5];
                }catch(ArrayIndexOutOfBoundsException e)
                {
                    tipo2 = "";
                }
                int numero = Integer.parseInt(numeroString);
                int hp = Integer.parseInt(statString[2].trim());
                int atk = Integer.parseInt(statString[3].trim());
                int def = Integer.parseInt(statString[4].trim());
                int spAtk = Integer.parseInt(statString[5].trim());
                int spDef = Integer.parseInt(statString[6].trim());
                int speed = Integer.parseInt(statString[7].trim());
                String average = statString[8].trim().replace(",", ".");
                double avg = Double.parseDouble(average);
                desc = "";
                
                pokeId[numero-1] = new Pokemon(numero, nombre, hp, atk, def, spAtk, spDef, speed, avg, desc, tipo1, tipo2);
            }
        
                
            String[] temp = pokeAbc.readLine().split("\t");
                
            for(int i = 0; pokeAbc.ready(); i++)
            {
                temp = pokeAbc.readLine().split("\t");
                int numero = Integer.parseInt(temp[1].trim());
                pokeAlf[i] = pokeId[numero-1];
            }
            
        
        }
        catch(IOException e)
        {
            System.out.println(e.getLocalizedMessage());
        }
 
    }