Don't let XY crash the pokeball calculator.

It won't tell you anything /useful/ for XY pokemon, but it won't crash.