>>18754330It's not just that 16 is an even number.
It's that 16 is a power of 2, which makes it extremely convenient in programming. Hidden Power's type is calculated by converting a Pokemon's IVs into one of the sixteen binary numbers from 0000 to 1111, inclusive, and each of those numbers maps to a different type.
Overhauling Hidden Power to select from anything other than 16
or 8 or 32 possible types would make it orders of magnitude more complicated than it already is.
>>18754533I can explain exactly how it works. Having some experience with "working" in Assembly makes some of the logic much easier to understand.