summaryrefslogtreecommitdiff
path: root/src/battle_setup.c
diff options
context:
space:
mode:
authorluckytyphlosion <10688458+luckytyphlosion@users.noreply.github.com>2020-12-16 14:51:21 -0500
committerluckytyphlosion <10688458+luckytyphlosion@users.noreply.github.com>2020-12-16 14:51:21 -0500
commit34fc9789c9d11464161aabf022eb270597c6778a (patch)
treed7f97e29db99b3983d2d50678dcc250da179d32d /src/battle_setup.c
parentcc5db41f30708c1cc2d33a46879c96a9404764a3 (diff)
parent49bdaeb940afc98e3f98b24c9a5afe1bb8d5d86b (diff)
Merge branch 'master' of https://github.com/pret/pokeemerald into rebase-install-md
Diffstat (limited to 'src/battle_setup.c')
-rw-r--r--src/battle_setup.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/battle_setup.c b/src/battle_setup.c
index 7b9d13980..40b5993f0 100644
--- a/src/battle_setup.c
+++ b/src/battle_setup.c
@@ -1564,8 +1564,7 @@ static s32 TrainerIdToRematchTableId(const struct RematchTrainer *table, u16 tra
{
for (j = 0; j < REMATCHES_COUNT; j++)
{
- if (table[i].trainerIds[j] == 0)
- break;
+ if (table[i].trainerIds[j] == 0) break; // one line required to match -g
if (table[i].trainerIds[j] == trainerId)
return i;
}