Fix encryption function

Encryption function would not properly
encrypt the first four bytes of every
pokemon's data structure.