summaryrefslogtreecommitdiff
path: root/engine/breeding.asm
diff options
context:
space:
mode:
authorRemy Oukaour <remy.oukaour@gmail.com>2018-01-20 12:25:55 -0500
committerRemy Oukaour <remy.oukaour@gmail.com>2018-01-20 12:25:55 -0500
commit05382d3e3c03616d6edf21833e89a8264a8cd10a (patch)
treedf62bed28665b4c1f8e6bc54c07bd4ce8efbccea /engine/breeding.asm
parent8127d1fbcfccb7cd5c3e210699dd540e370b6634 (diff)
PARTY_LENGTH; MON_NAME; sgb_border.bin
Diffstat (limited to 'engine/breeding.asm')
-rwxr-xr-xengine/breeding.asm4
1 files changed, 2 insertions, 2 deletions
diff --git a/engine/breeding.asm b/engine/breeding.asm
index 489154f71..b16747089 100755
--- a/engine/breeding.asm
+++ b/engine/breeding.asm
@@ -320,7 +320,7 @@ HatchEggs: ; 16f70 (5:6f70)
call PrintText
ld a, [CurPartyMon]
ld hl, PartyMonNicknames
- ld bc, PKMN_NAME_LENGTH
+ ld bc, MON_NAME_LENGTH
call AddNTimes
ld d, h
ld e, l
@@ -345,7 +345,7 @@ HatchEggs: ; 16f70 (5:6f70)
.nonickname
ld hl, StringBuffer1
- ld bc, PKMN_NAME_LENGTH
+ ld bc, MON_NAME_LENGTH
call CopyBytes
.next ; 1707d (5:707d)