public void swapBoostMessage(String poke1, String poke2, String stats, String from)
	{
		Pokemon pokemon1 = getPokemon(poke1);
		Pokemon pokemon2 = getPokemon(poke2);
		ArrayList<Integer> statarray = new ArrayList<>();
		for(String s : stats.split("\\,"))
		{
			statarray.add(getStatIndex(s));
		}
		for(int i = 0; i < statarray.size();i ++)
		{
			int f = statarray.get(i);
			double temp = pokemon1.getBoosts()[f];
			pokemon1.setBoost(f, pokemon2.getStats()[i]);
			pokemon2.setBoost(f, temp);
		}
		if(from != null && !from.equals(""))
		{
			switch(cleanEffect(from))
			{
			case "guardswap":
				rawMessage(pokemon1.getName() + " switched all changes to its Defense and Sp. Def with the target!");
				break;
			case "heartswap":
				rawMessage(pokemon1.getName() + " switched stat changes with the target!");
				break;
			case "powerswap":
				rawMessage(pokemon1.getName() + " switched all changes to its Attack and Sp. Atk with the target!");
				break;
			}
		}
	}