Skip to content

Commit

Permalink
Merge pull request #2294 from LOuroboros/patch-2
Browse files Browse the repository at this point in the history
Updated GetBattleMonMoveSlot
  • Loading branch information
AsparagusEduardo authored Sep 5, 2022
2 parents 1ba46e0 + 2deabc2 commit 65a4d4e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/battle_util.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 65a4d4e

Please sign in to comment.