summaryrefslogtreecommitdiff
path: root/src/battle_dome.c
diff options
context:
space:
mode:
authorSphericalIce <sphericalice@outlook.com>2021-01-07 22:13:14 +0000
committerSphericalIce <sphericalice@outlook.com>2021-01-07 22:13:14 +0000
commit3c2a33b9b25b3bba33c29a10e66d5256b10c537d (patch)
tree6613f51b25ebf67aa75405caa92f0e9e873b0d90 /src/battle_dome.c
parentfb69d97b24209cb7828a49b29ab1fb30c9baa02f (diff)
Use constants for max IVs & the random IV generation flag
Diffstat (limited to 'src/battle_dome.c')
-rw-r--r--src/battle_dome.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/battle_dome.c b/src/battle_dome.c
index 0d1bee8cf..780721768 100644
--- a/src/battle_dome.c
+++ b/src/battle_dome.c
@@ -2875,7 +2875,7 @@ static u8 GetDomeTrainerMonIvs(u16 trainerId)
else if (trainerId <= FRONTIER_TRAINER_TESS) // 200 - 219
fixedIv = 21;
else // 220+ (- 299)
- fixedIv = 31;
+ fixedIv = MAX_PER_STAT_IVS;
return fixedIv;
}