Something that I think might be helpful:
Incase anyone has Black 2, I made a code to empty the pokedex and another to fill it without shiny pokemon. I remember someone saying that the reason the errors were happening is because the orignal full pokedex code included pokemon that didn't have shiny forms. I haven't tested either of them yet, but I'll post them incase anyone wants to test them. To activate press select.
First here's an empty pokedex:
And now a full without shiny:
EDIT: Neither works, sorry guys...