summaryrefslogtreecommitdiff
path: root/engine/pokemon/breeding.asm
diff options
context:
space:
mode:
Diffstat (limited to 'engine/pokemon/breeding.asm')
-rw-r--r--engine/pokemon/breeding.asm4
1 files changed, 2 insertions, 2 deletions
diff --git a/engine/pokemon/breeding.asm b/engine/pokemon/breeding.asm
index eba42c0c..4b68a1d3 100644
--- a/engine/pokemon/breeding.asm
+++ b/engine/pokemon/breeding.asm
@@ -248,7 +248,7 @@ HatchEggs:
ld a, [wCurPartySpecies]
dec de
ld [de], a
- ld [wNamedObjectIndexBuffer], a
+ ld [wNamedObjectIndex], a
ld [wCurSpecies], a
call GetPokemonName
xor a
@@ -661,7 +661,7 @@ EggHatch_DoAnimFrame:
ret
EggHatch_AnimationSequence:
- ld a, [wNamedObjectIndexBuffer]
+ ld a, [wNamedObjectIndex]
ld [wJumptableIndex], a
ld a, [wCurSpecies]
push af