mirror of
https://github.com/kwsch/PKHeX.git
synced 2026-07-28 15:28:07 -05:00
Tweak stat retrieval logic
This commit is contained in:
parent
c9d0db23ac
commit
520af0ff55
|
|
@ -1453,7 +1453,7 @@ public PersonalInfo(byte[] data)
|
|||
public int FormeOffset;
|
||||
public int FormeIndex(int species, int forme)
|
||||
{
|
||||
return forme == 0 ? species : FormeOffset;
|
||||
return FormStats == 0 ? species : FormStats + forme - 1;
|
||||
}
|
||||
public int RandomGender
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user