diff options
Diffstat (limited to 'src/frontier_util.c')
-rw-r--r-- | src/frontier_util.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/frontier_util.c b/src/frontier_util.c index d0dfa61f3..83c9341d5 100644 --- a/src/frontier_util.c +++ b/src/frontier_util.c @@ -2507,11 +2507,12 @@ void CreateFrontierBrainPokemon(void) { if (!(selectedMonBits & 1)) continue; + do { do { - j = Random32(); //Should be one while loop, but that doesn't match + j = Random32(); //should just be one while loop, but that doesn't match } while (IsShinyOtIdPersonality(FRONTIER_BRAIN_OTID, j)); } while (sFrontierBrainsMons[facility][symbol][i].nature != GetNatureFromPersonality(j)); CreateMon(&gEnemyParty[monPartyId], |