Use NAME_LENGTH_JAPANESE more

This commit is contained in:
Remy Oukaour
2017-12-21 11:56:33 -05:00
parent 02609940db
commit d6dccb7df5
10 changed files with 24 additions and 24 deletions

View File

@@ -257,7 +257,7 @@ CopyMobileEZChatToC608: ; 11c156
sla c
rl b
add hl, bc
ld bc, 5 ; length of a string
ld bc, NAME_LENGTH_JAPANESE - 1
.copy_string
ld de, $c608
call CopyBytes
@@ -3236,7 +3236,7 @@ EZChat_GetCategoryWordsByKana: ; 11d4aa
push hl
; skip to the attributes
ld hl, 5 ; length of a string
ld hl, NAME_LENGTH_JAPANESE - 1
add hl, de
; get the number of words in the category