summaryrefslogtreecommitdiff
path: root/home/string.asm
diff options
context:
space:
mode:
authorRangi <remy.oukaour+rangi42@gmail.com>2018-06-24 21:23:51 -0400
committerRangi <remy.oukaour+rangi42@gmail.com>2018-06-24 21:23:51 -0400
commite2fb7acac0e3c1d598021b52fc2583dd983321bc (patch)
treeea5922596ce167e5b0485ea3bacd65f43339ca60 /home/string.asm
parent1a888f22004aec967d2b6049ede7e04b1815f956 (diff)
parent364854623267a8a39242243b0cdf80144e868642 (diff)
Merge branch 'master' of https://github.com/pret/pokecrystal
# Conflicts: # engine/items/mart.asm
Diffstat (limited to 'home/string.asm')
-rw-r--r--home/string.asm8
1 files changed, 3 insertions, 5 deletions
diff --git a/home/string.asm b/home/string.asm
index 492246832..702ab50ff 100644
--- a/home/string.asm
+++ b/home/string.asm
@@ -1,14 +1,13 @@
-InitString:: ; 2ef6
+InitString::
; Init a string of length c.
push hl
jr _InitString
-; 2ef9
-InitName:: ; 2ef9
+InitName::
; Intended for names, so this function is limited to ten characters.
push hl
ld c, 10
-_InitString:: ; 2efc
+_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.
push bc
@@ -34,4 +33,3 @@ _InitString:: ; 2efc
pop bc
pop hl
ret
-; 2f17