diff options
-rw-r--r-- | Capping-EV-gain-to-252..md | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/Capping-EV-gain-to-252..md b/Capping-EV-gain-to-252..md deleted file mode 100644 index eff42ee..0000000 --- a/Capping-EV-gain-to-252..md +++ /dev/null @@ -1,16 +0,0 @@ -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!
\ No newline at end of file |