It still doesn't work :( it's stuck to 516 now.
I understand what you did, I tried to change this value a little, and I saw that 00 limits to 255 EVs, you add 40 and it gets to the actual 510 EVs, and then x3 for the 1530 EVs (40x3 = C0 in hexadecimal).
I thought it would work too this time...