private void saveMoves() {
		int offs = romEntry.getValue("MoveData");
		for (int i = 1; i <= 354; i++) {
			rom[offs + (i - 1) * 0xC] = (byte) moves[i].effectIndex;
			rom[offs + (i - 1) * 0xC + 1] = (byte) moves[i].power;
			rom[offs + (i - 1) * 0xC + 2] = typeToByte(moves[i].type);
			int hitratio = (int) Math.round(moves[i].hitratio);
			if (hitratio < 0) {
				hitratio = 0;
			}
			if (hitratio > 100) {
				hitratio = 100;
			}
			rom[offs + (i - 1) * 0xC + 3] = (byte) hitratio;
			rom[offs + (i - 1) * 0xC + 4] = (byte) moves[i].pp;
		}
	}