blob: eff42eed9c3ab492e6764f72e2d3aea5b70178b5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
From Gen VI onwards, the max Effort Value of a stat was changed from 255 to 252.
To change this, go to the `MonGainEVs` function in `src\pokemon.c`:
```c
...
if (evs[i] + (s16)evIncrease > 255)
{
int val1 = (s16)evIncrease + 255;
int val2 = evs[i] + evIncrease;
evIncrease = val1 - val2;
}
...
```
And change both `255` to `252`.
That's it!
|