make it compile

This commit is contained in:
DizzyEggg
2018-02-28 00:18:59 +01:00
parent 59ff4aec9b
commit d29b9d268f
4 changed files with 11 additions and 8 deletions
+1 -2
View File
@@ -766,9 +766,8 @@ void TryPutLinkBattleTvShowOnAir(void)
species = GetMonData(&gEnemyParty[i], MON_DATA_SPECIES, NULL);
if (species != SPECIES_NONE && !GetMonData(&gEnemyParty[i], MON_DATA_IS_EGG, NULL))
{
s32 id = 1;
for (sum = 0, j = 0; j < 4; j++)
sum += movePoints->points[id][i * 4 + j];
sum += movePoints->points[1][i * 4 + j];
if (opponentBestSum == sum)
{