I noticed a lot of people having trouble with the marking pokemon in your box codes for EV's, max affection, etc. I couldn't get them to work either until I turned off all the other codes I had on. With only a single one active it seems to work fine for me. I thought I would mention it just in case it might work for someone else as well.