summaryrefslogtreecommitdiff
path: root/engine/pack.asm
diff options
context:
space:
mode:
Diffstat (limited to 'engine/pack.asm')
-rw-r--r--engine/pack.asm2
1 files changed, 1 insertions, 1 deletions
diff --git a/engine/pack.asm b/engine/pack.asm
index f6f67845b..f9c7490af 100644
--- a/engine/pack.asm
+++ b/engine/pack.asm
@@ -630,7 +630,7 @@ GiveItem: ; 103fd
call GetCurNick
ld hl, StringBuffer1
ld de, wMonOrItemNameBuffer
- ld bc, PKMN_NAME_LENGTH
+ ld bc, MON_NAME_LENGTH
call CopyBytes
call TryGiveItemToPartymon
pop af