- 37
- Posts
- 1
- Years
- Seen Apr 6, 2025
I've set up every HM field move so it can be done without a Pokémon knowing it. However, it doesn't work for Fly or Flash. Flash is an easy enough workaround, but Fly seems to be picky.
I tried using the method posted here. Here's how it looks in my file (plus some extra for context):
I changed
The problem is, it ends up adding Rock Smash to every Pokémon's party menu. I'm hoping changing whatever is causing it to Fly is fairly simple, I'm just not sure what to change.
I tried using the method posted here. Here's how it looks in my file (plus some extra for context):
C:
if (GetMonData(&mons[slotId], i + MON_DATA_MOVE1) == sFieldMoves[j])
{
// AppendToList(sPartyMenuInternal->actions, &sPartyMenuInternal->numActions, j + CURSOR_OPTION_FIELD_MOVES);
// break;
[B] if (sFieldMoves[j] != MOVE_FLY) // If Mon already knows FLY, prevent it from being added to action list
AppendToList(sPartyMenuInternal->actions, &sPartyMenuInternal->numActions, j + CURSOR_OPTION_FIELD_MOVES);
break;
}
}
}
if (sPartyMenuInternal->numActions < 5 ) // If Mon action list consists of < 4 moves, add FLY to action list
AppendToList(sPartyMenuInternal->actions, &sPartyMenuInternal->numActions, 5 + CURSOR_OPTION_FIELD_MOVES);[/B]
if (GetMonData(&mons[1], MON_DATA_SPECIES) != SPECIES_NONE)
AppendToList(sPartyMenuInternal->actions, &sPartyMenuInternal->numActions, CURSOR_OPTION_SWITCH);
if (ItemIsMail(GetMonData(&mons[slotId], MON_DATA_HELD_ITEM)))
AppendToList(sPartyMenuInternal->actions, &sPartyMenuInternal->numActions, CURSOR_OPTION_MAIL);
MENU_FIELD_MOVES
to CURSOR_OPTION_FIELD_MOVES
because the former doesn't seem to exist in pokefirered and the latter seems to be the equivalent.The problem is, it ends up adding Rock Smash to every Pokémon's party menu. I'm hoping changing whatever is causing it to Fly is fairly simple, I'm just not sure what to change.