Merge pull request #2294 from LOuroboros/patch-2
Updated GetBattleMonMoveSlot
This commit is contained in:
commit
65a4d4ed44
1 changed files with 1 additions and 1 deletions
|
@ -7913,7 +7913,7 @@ u8 GetBattleMonMoveSlot(struct BattlePokemon *battleMon, u16 move)
|
|||
{
|
||||
u8 i;
|
||||
|
||||
for (i = 0; i < 4; i++)
|
||||
for (i = 0; i < MAX_MON_MOVES; i++)
|
||||
{
|
||||
if (battleMon->moves[i] == move)
|
||||
break;
|
||||
|
|
Loading…
Reference in a new issue