Small syntax fix for CanLearnTeachableMove

This commit is contained in:
LOuroboros 2022-09-08 17:53:15 -03:00 committed by GitHub
parent 066a5bee85
commit db6d285f00
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;
}