Fixed bug that prevents field moves from being displayed when adding more field moves (#3933)
When adding a new field move, no field moves will be displayed in the party menu screen at all. This fixes this issue.
This commit is contained in:
parent
f9c21afb75
commit
338740e256
1 changed files with 1 additions and 1 deletions
|
@ -2787,7 +2787,7 @@ static void SetPartyMonFieldSelectionActions(struct Pokemon *mons, u8 slotId)
|
||||||
// Add field moves to action list
|
// Add field moves to action list
|
||||||
for (i = 0; i < MAX_MON_MOVES; i++)
|
for (i = 0; i < MAX_MON_MOVES; i++)
|
||||||
{
|
{
|
||||||
for (j = 0; sFieldMoves[j] != FIELD_MOVES_COUNT; j++)
|
for (j = 0; j != FIELD_MOVES_COUNT; j++)
|
||||||
{
|
{
|
||||||
if (GetMonData(&mons[slotId], i + MON_DATA_MOVE1) == sFieldMoves[j])
|
if (GetMonData(&mons[slotId], i + MON_DATA_MOVE1) == sFieldMoves[j])
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue