Misc fixes

This commit is contained in:
mid-kid
2019-06-04 13:31:22 +02:00
parent 309079524b
commit b6277408a0
5 changed files with 13 additions and 14 deletions

View File

@@ -6,7 +6,7 @@ InitString::
InitName::
; Intended for names, so this function is limited to ten characters.
push hl
ld c, 10
ld c, NAME_LENGTH - 1
_InitString::
; if the string pointed to by hl is empty (defined as "zero or more spaces
; followed by a null"), then initialize it to the string pointed to by de.