diff --git a/engine/events/odd_egg.asm b/engine/events/odd_egg.asm index f58ac0770..a6ca15b8c 100644 --- a/engine/events/odd_egg.asm +++ b/engine/events/odd_egg.asm @@ -45,7 +45,7 @@ _GiveOddEgg: ; Writes to wOddEgg, wOddEggName, and wOddEggOTName, ; even though OddEggs does not have data for wOddEggOTName ld de, wOddEgg - ld bc, NICKNAMED_MON_STRUCT_LENGTH + MON_NAME_LENGTH + ld bc, NICKNAMED_MON_STRUCT_LENGTH + NAME_LENGTH call CopyBytes ld a, EGG_TICKET diff --git a/wram.asm b/wram.asm index e19e99e4a..4631475c9 100644 --- a/wram.asm +++ b/wram.asm @@ -379,7 +379,7 @@ NEXTU ; c608 ; odd egg wOddEgg:: party_struct wOddEgg wOddEggName:: ds MON_NAME_LENGTH -wOddEggOTName:: ds MON_NAME_LENGTH +wOddEggOTName:: ds NAME_LENGTH NEXTU ; c608 ; battle tower temp struct