Merge pull request #2302 from LOuroboros/patch-1

Small syntax fix for CanLearnTeachableMove
This commit is contained in:
Eduardo Quezada D'Ottone 2022-09-08 17:01:15 -04:00 committed by GitHub
commit 54ad9ec1d3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -7297,9 +7297,8 @@ u8 CanLearnTeachableMove(u16 species, u16 move)
u8 i;
for (i = 0; gTeachableLearnsets[species][i] != MOVE_UNAVAILABLE; i++)
{
if (gTeachableLearnsets[species][i] == move) {
if (gTeachableLearnsets[species][i] == move)
return TRUE;
}
}
return FALSE;
}