private void savePokemonStats() {
		// Write pokemon names
		int offs = romEntry.getValue("PokemonNamesOffset");
		int nameLength = romEntry.getValue("PokemonNamesLength");
		for (int i = 1; i <= pokedexCount; i++) {
			int rbynum = pokeNumToRBYTable[i];
			int stringOffset = offs + (rbynum - 1) * nameLength;
			writeFixedLengthString(pokes[i].name, stringOffset, nameLength);
		}
		// Write pokemon stats
		int pokeStatsOffset = romEntry.getValue("PokemonStatsOffset");
		for (int i = 1; i <= pokedexCount; i++) {
			if (i == 151) {
				continue;
			}
			saveBasicPokeStats(pokes[i], pokeStatsOffset + (i - 1) * 0x1C);
		}
		// Write MEW
		int mewOffset = romEntry.isYellow ? pokeStatsOffset + 150 * 0x1C
				: romEntry.getValue("MewStatsOffset");
		saveBasicPokeStats(pokes[151], mewOffset);
	}