mirror of
https://github.com/kwsch/PKHeX.git
synced 2026-10-01 06:26:40 -05:00
Tweak stat retrieval logic
This commit is contained in:
@@ -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
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user