diff --git a/Use-HMs-Without-Any-Pokemon-in-your-Party-Knowing-Them.md b/Use-HMs-Without-Any-Pokemon-in-your-Party-Knowing-Them.md index fe3ef64..06d9574 100644 --- a/Use-HMs-Without-Any-Pokemon-in-your-Party-Knowing-Them.md +++ b/Use-HMs-Without-Any-Pokemon-in-your-Party-Knowing-Them.md @@ -318,7 +318,7 @@ index eef081849..920f672a8 100755 { - AppendToList(sPartyMenuInternal->actions, &sPartyMenuInternal->numActions, j + MENU_FIELD_MOVES); + // If Mon already knows FLY and the HM is in the bag, prevent it from being added to action list -+ if (sFieldMoves[j] != MOVE_FLASH || !CheckBagHasItem(ITEM_HM05_FLASH, 1)){ ++ if (sFieldMoves[j] != MOVE_FLY || !CheckBagHasItem(ITEM_HM02_FLY, 1)){ + // If Mon already knows FLASH and the HM is in the bag, prevent it from being added to action list + if (sFieldMoves[j] != MOVE_FLASH || !CheckBagHasItem(ITEM_HM05_FLASH, 1)){ + AppendToList(sPartyMenuInternal->actions, &sPartyMenuInternal->numActions, j + MENU_FIELD_MOVES);