Convert to -g; will be required for eliminating fakematches.

This commit is contained in:
Kaz
2020-09-16 19:27:55 -04:00
parent 327dd877b5
commit 171154a097
8 changed files with 24 additions and 42 deletions

View File

@@ -1565,8 +1565,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;
}