Skip to content

Commit

Permalink
Import Dex IVs
Browse files Browse the repository at this point in the history
  • Loading branch information
thejetou committed Nov 19, 2023
1 parent c6e588c commit 8db3ad0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion import/src/set-import.ts
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ function dexToPset(
nature: first(dset.nature) ?? '',
gender: '',
evs: TeamValidator.fillStats(first(dset.evs) ?? null, gen.num < 3 ? 252 : 0),
ivs: TeamValidator.fillStats(null, gen.num === 2 ? 30 : 31),
ivs: TeamValidator.fillStats(first(dset.ivs) ?? null, gen.num === 2 ? 30 : 31),
level: first(dset.level) ?? getLevel(formatID),
teraType: first(dset.teratypes),
};
Expand Down

0 comments on commit 8db3ad0

Please sign in to comment.