mirror of
https://github.com/Ninjdai1/pokeemerald.git
synced 2025-02-21 11:43:37 +01:00
Merge pull request #2294 from LOuroboros/patch-2
Updated GetBattleMonMoveSlot
This commit is contained in:
commit
65a4d4ed44
@ -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…
x
Reference in New Issue
Block a user