Merge pull request #2302 from LOuroboros/patch-1
Small syntax fix for CanLearnTeachableMove
This commit is contained in:
commit
54ad9ec1d3
1 changed files with 1 additions and 2 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue