PKHeX/PKHeX.Core/PKM
Kurt 279f44a645 Simplify GB stat calc, fix pk2->pk1 xfer fainting
Remove unnecessary floor operation, don't fetch stat arrays for each
stat

Current HP is a box stat in pk1 format (offset 0x1), which isn't stored
in box pk2's. If the hp is zero, set it to the current HP.

Thanks HaxAras for the conversion tip!
2018-07-24 16:41:18 -07:00
..
Shared Extract geolocation logic to interface 2018-07-14 10:34:34 -07:00
Util Add pk1/pk2 direct import checks 2018-07-24 15:49:00 -07:00
BK4.cs Add batrev party viewing/handling 2018-05-19 14:42:21 -07:00
CK3.cs Refactoring 2018-07-06 17:37:07 -07:00
PK1.cs Simplify GB stat calc, fix pk2->pk1 xfer fainting 2018-07-24 16:41:18 -07:00
PK2.cs Simplify GB stat calc, fix pk2->pk1 xfer fainting 2018-07-24 16:41:18 -07:00
PK3.cs Refactoring 2018-07-06 17:37:07 -07:00
PK4.cs Don't clear unown forme on pk4->bk4 2018-06-16 10:29:36 -07:00
PK5.cs Skip format check on pk* init 2018-06-04 20:25:54 -07:00
PK6.cs Extract geolocation logic to interface 2018-07-14 10:34:34 -07:00
PK7.cs Clean up pk7/sav6/sav7 simple methods 2018-07-20 20:25:28 -07:00
PKM.cs Misc clean / xmldoc updates 2018-07-21 19:20:11 -07:00
XK3.cs Refactoring 2018-07-06 17:37:07 -07:00