summaryrefslogtreecommitdiff
path: root/src/frontier_util.c
diff options
context:
space:
mode:
authorPikalaxALT <PikalaxALT@users.noreply.github.com>2020-11-03 09:28:45 -0500
committerGitHub <noreply@github.com>2020-11-03 09:28:45 -0500
commit99dd461befcfe3bef3ce188fea2fb372c2f21b98 (patch)
tree2b0198d394186c371987f018677d12f929a66a44 /src/frontier_util.c
parent9e55ae22b19d58eca8fc0cdd2fcea9f2cca14319 (diff)
parentca950a8daf6dd95ab5dacc51f250fea7b605361c (diff)
Merge pull request #1189 from aaaaaa123456789/reverts
Undo PokeCodec's PRs and port changes
Diffstat (limited to 'src/frontier_util.c')
-rw-r--r--src/frontier_util.c3
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],