From d719510d3219b58008d07f14e4bf683df1bfbf0f Mon Sep 17 00:00:00 2001 From: gruxor <95389790+gruxor@users.noreply.github.com> Date: Wed, 24 Aug 2022 22:31:52 -0400 Subject: [PATCH] Apply suggestions from code review Co-authored-by: Eduardo Quezada D'Ottone --- src/daycare.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/daycare.c b/src/daycare.c index 11c89b8cb..1f95706e7 100644 --- a/src/daycare.c +++ b/src/daycare.c @@ -695,7 +695,7 @@ static void BuildEggMoveset(struct Pokemon *egg, struct BoxPokemon *father, stru { for (j = 0; j < NUM_TECHNICAL_MACHINES + NUM_HIDDEN_MACHINES; j++) { - u16 moveId = ItemIdToBattleMoveId(ITEM_TM01_FOCUS_PUNCH + j); + u16 moveId = ItemIdToBattleMoveId(ITEM_TM01 + j); if (sHatchedEggFatherMoves[i] == moveId && CanMonLearnTMHM(egg, moveId)) { if (GiveMoveToMon(egg, sHatchedEggFatherMoves[i]) == MON_HAS_MAX_MOVES)