Does anyone know how to determine what your union room character will be in FR/LG/EM based on your ID number?

Thanks in advance.

...yes, i'm aware pokemon forever had a page on it. but that's not really an option any more now, is it? -_-