public void drawWave2Text(int x, String text, int effectSpeed, int y, int color) { // method387
		if (text == null) {
			return;
		}
		x -= getANTextWidth(text) / 2;
		y -= trimHeight;
		for (int i = 0; i < text.length(); i++) {
			char c = text.charAt(i);
			if (c != ' ') {
				drawChar(pixels[c], x + horizontalKerning[c] + (int) (Math.sin(i / 5D + effectSpeed / 5D) * 5D), y + verticalKerning[c] + (int) (Math.sin(i / 3D + effectSpeed / 5D) * 5D), width[c], height[c], color);
			}
			x += charWidths[c];
		}
	}