summaryrefslogtreecommitdiff
path: root/src/field_specials.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/field_specials.c
parentfb69d97b24209cb7828a49b29ab1fb30c9baa02f (diff)
Use constants for max IVs & the random IV generation flag
Diffstat (limited to 'src/field_specials.c')
-rw-r--r--src/field_specials.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/field_specials.c b/src/field_specials.c
index 1863a462c..a6831ec5b 100644
--- a/src/field_specials.c
+++ b/src/field_specials.c
@@ -1449,7 +1449,7 @@ void SetShoalItemFlag(u16 unused)
void PutZigzagoonInPlayerParty(void)
{
u16 monData;
- CreateMon(&gPlayerParty[0], SPECIES_ZIGZAGOON, 7, 32, FALSE, 0, OT_ID_PLAYER_ID, 0);
+ CreateMon(&gPlayerParty[0], SPECIES_ZIGZAGOON, 7, USE_RANDOM_IVS, FALSE, 0, OT_ID_PLAYER_ID, 0);
monData = TRUE;
SetMonData(&gPlayerParty[0], MON_DATA_ABILITY_NUM, &monData);
monData = MOVE_TACKLE;