diff options
author | GriffinR <griffin.g.richards@gmail.com> | 2021-01-07 18:00:10 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-01-07 18:00:10 -0500 |
commit | 42a0b20e57f7947f5ccfd61b12fdb71ef1891950 (patch) | |
tree | 1c730449a2b91fd05dba577489814ca6faa6892a /src/battle_controllers.c | |
parent | c506cf747fa2e0a0eaff428cfd28ada7ffa58b67 (diff) | |
parent | f02afc134b206b82bd5c73885d0ee9d8855df90a (diff) |
Merge pull request #1295 from sphericalice/pokeemerald
Use constants for IV-related values
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); } |