diff options
author | SphericalIce <sphericalice@outlook.com> | 2021-01-07 22:13:14 +0000 |
---|---|---|
committer | SphericalIce <sphericalice@outlook.com> | 2021-01-07 22:13:14 +0000 |
commit | 3c2a33b9b25b3bba33c29a10e66d5256b10c537d (patch) | |
tree | 6613f51b25ebf67aa75405caa92f0e9e873b0d90 /src/battle_controllers.c | |
parent | fb69d97b24209cb7828a49b29ab1fb30c9baa02f (diff) |
Use constants for max IVs & the random IV generation flag
Diffstat (limited to 'src/battle_controllers.c')
-rw-r--r-- | src/battle_controllers.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/battle_controllers.c b/src/battle_controllers.c index a95bb2f6a..297a8b577 100644 --- a/src/battle_controllers.c +++ b/src/battle_controllers.c @@ -64,7 +64,7 @@ void SetUpBattleVarsAndBirchZigzagoon(void) if (gBattleTypeFlags & BATTLE_TYPE_FIRST_BATTLE) { ZeroEnemyPartyMons(); - CreateMon(&gEnemyParty[0], SPECIES_ZIGZAGOON, 2, 32, 0, 0, OT_ID_PLAYER_ID, 0); + CreateMon(&gEnemyParty[0], SPECIES_ZIGZAGOON, 2, USE_RANDOM_IVS, 0, 0, OT_ID_PLAYER_ID, 0); i = 0; SetMonData(&gEnemyParty[0], MON_DATA_HELD_ITEM, &i); } |