There MIGHT BE MISTAKES but so far this has worked.

The grids are 6x6 squares, only the outer rim is all-black, so you're really worrying about 4x4. The outer rim must be surrounded by white. Set up this pattern in the middle:

WBBB

WBBB

WWBB

BBBB

If I'm not mistaken, this is the HYPOTHETICAL pattern for Bulbasaur. Yup, good old #1 in the National. It doesn't work, you'll notice. Yeah, only Unova Pokemon are available for now. And the three event legendaries that GameFreak hasn't officially announced yet are out too, just Victini through Kyurem through now. So, now then, let's say this is the grid:

ABCD

EFGH

IJKL

MNOP

Take the National Pokedex number of the Pokemon you want.

If it is greater than 512 (that's greater than, NOT equal to!), flip F and K (I think, hard to determine with only Unovas), and then subtract 512. Otherwise, skip this step.

If the number you now have is greater than 256, I kinda have to make a guess (there are no Pokemon with National numbers of 768!), but I believe you'd have to flip B and I. Again, don't quote me on this, I could be off base. Subtract 256 now.

If the current number is greater than 128, flip H and I and subtract 128.

If the current number is greater than 64, flip I and O and subtract 64.

If the current number is greater than 32, flip C and E and subtract 32.

If the current number is greater than 16, flip E and L and subtract 16.

If the current number is greater than 8, flip E and N and subtract 8.

If the current number is greater than 4, flip A and D and subtract 4.

If the current number is greater than 2, flip A and P and subtract 2.

If the current number is greater than 1, flip A and M.

Formes I'm still working on. Female Unfezant is #727, but I couldn't make sense of the other formes I looked at; they didn't seem to fit a number (of course, it's possible I'm just sleepy and made some stupid mistake when trying to work them out.)

#1000 is a blank Pokeball. #1001 and #1005 (and maybe everything past #1000, though it maxes at #1024) shows you any random Pokemon you have.

Creator of Jay's Journey (see quote!)

"It's not ten years old! Therefore, it sucks!" - Nostalgia whores everywhere