diff options
Diffstat (limited to 'engine/events')
-rw-r--r-- | engine/events/daycare.asm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engine/events/daycare.asm b/engine/events/daycare.asm index cd9ec42de..1c08ca1b8 100644 --- a/engine/events/daycare.asm +++ b/engine/events/daycare.asm @@ -480,7 +480,7 @@ DayCare_GiveEgg: ld bc, PARTYMON_STRUCT_LENGTH call DayCare_GetCurrentPartyMember ld hl, wEggMon - ld bc, wEggMonEnd - wEggMon + ld bc, BOXMON_STRUCT_LENGTH call CopyBytes call GetBaseData @@ -548,7 +548,7 @@ DayCare_InitBreeding: .UselessJump: xor a ld hl, wEggMon - ld bc, wEggMonEnd - wEggMon + ld bc, BOXMON_STRUCT_LENGTH call ByteFill ld hl, wEggNick ld bc, MON_NAME_LENGTH |