diff options
author | Thomas Winwood <twwinwood@gmail.com> | 2020-08-28 17:14:45 +0100 |
---|---|---|
committer | Thomas Winwood <twwinwood@gmail.com> | 2020-08-28 17:14:45 +0100 |
commit | 69ba856ad88d4121a02a5be1ce38393b0aa68069 (patch) | |
tree | 1dec045a199fb389f40238ae2c1f7408683b55f7 | |
parent | 43f7b9f33ec95e3918b10d35b26b4ff227153dec (diff) |
Destroyed Capping EV gain to 252. (markdown)
-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 |