@Override
	public void setTrainerNames(List<String> trainerNames) {
		if (romEntry.getValue("CanChangeTrainerText") > 0) {
			int[] offsets = romEntry.arrayEntries
					.get("TrainerClassNamesOffsets");
			Iterator<String> trainerNamesI = trainerNames.iterator();
			int offset = offsets[offsets.length - 1];
			for (int j = 0; j < tclassesCounts[1]; j++) {
				String name = readVariableLengthString(offset);
				if (singularTrainers.contains(j)) {
					String newName = trainerNamesI.next();
					writeFixedLengthString(newName, offset,
							internalStringLength(name) + 1);
				}
				offset += (internalStringLength(name) + 1);
			}
		}
	}