summaryrefslogtreecommitdiff
path: root/engine/routines/checknickerrors.asm
diff options
context:
space:
mode:
Diffstat (limited to 'engine/routines/checknickerrors.asm')
-rw-r--r--engine/routines/checknickerrors.asm2
1 files changed, 1 insertions, 1 deletions
diff --git a/engine/routines/checknickerrors.asm b/engine/routines/checknickerrors.asm
index 245c28586..87ebd6bb3 100644
--- a/engine/routines/checknickerrors.asm
+++ b/engine/routines/checknickerrors.asm
@@ -6,7 +6,7 @@ CheckNickErrors:: ; 669f
push bc
push de
- ld b, PKMN_NAME_LENGTH
+ ld b, MON_NAME_LENGTH
.checkchar
; end of nick?