void fetchType()
	{
		DatabaseController typedbc = new DatabaseController("veekun-pokedex.sqlite");
		ArrayList<ArrayList<Object>> request = typedbc.request("SELECT t.identifier, pt.slot " + 
					"FROM pokemon AS p, types AS t, pokemon_types AS pt " + 
					"WHERE p.identifier='" + this.name + "' AND p.id=pt.pokemon_id AND pt.type_id=t.id");
		
		//Check if the pokemon has 1 or two types
		if(request.size() == 1)
		{
			this.type = new Type((String)request.get(0).get(0));
		}
		else
		{
			//Check if index 0 type is primary type and place types accordingly
			if((int)request.get(0).get(1) == 1)
			{
				this.type = new Type((String)request.get(0).get(0), (String)request.get(1).get(0));
			}
			else
			{
				
				this.type = new Type((String)request.get(1).get(0), (String)request.get(0).get(0));
			}
			
		}
		
	}