diff options
author | ProjectRevoTPP <projectrevotpp@hotmail.com> | 2018-01-15 18:59:30 -0500 |
---|---|---|
committer | ProjectRevoTPP <projectrevotpp@hotmail.com> | 2018-01-15 18:59:30 -0500 |
commit | ce391ed0696c22e8fa1f33430b4025a08a3bc360 (patch) | |
tree | dbdd06262cd738bb682d8a9304293ac5d944a071 /src/field/daycare.c | |
parent | bdb0628c913fe7f2e77598d6390f8f7d951b1703 (diff) | |
parent | ed152b1566fa5c39ee72ca190c49fbfe30708036 (diff) |
Merge branch 'master' of https://github.com/pret/pokeruby into fixes
Diffstat (limited to 'src/field/daycare.c')
-rw-r--r-- | src/field/daycare.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/field/daycare.c b/src/field/daycare.c index 7e4530906..36dd7ec03 100644 --- a/src/field/daycare.c +++ b/src/field/daycare.c @@ -557,7 +557,7 @@ void BuildEggMoveset(struct Pokemon *egg, struct BoxPokemon *father, struct BoxP { for (j = 0; j < NUM_TECHNICAL_MACHINES + NUM_HIDDEN_MACHINES; j++) { - if (gHatchedEggFatherMoves[i] == ItemIdToBattleMoveId(ITEM_TM01 + j) && CanMonLearnTMHM(egg, j)) + if (gHatchedEggFatherMoves[i] == ItemIdToBattleMoveId(ITEM_TM01_FOCUS_PUNCH + j) && CanMonLearnTMHM(egg, j)) { if (GiveMoveToMon(egg, gHatchedEggFatherMoves[i]) == 0xffff) DeleteFirstMoveAndGiveMoveToMon(egg, gHatchedEggFatherMoves[i]); |