You've already forked pokecrystal-board
mirror of
https://gitlab.com/xCrystal/pokecrystal-board.git
synced 2025-09-08 08:13:02 -07:00
Move more code from home.asm into home/
This commit is contained in:
14
home/copy_name.asm
Normal file
14
home/copy_name.asm
Normal file
@@ -0,0 +1,14 @@
|
||||
CopyName1:: ; 30d6
|
||||
; Copies the name from de to wStringBuffer2
|
||||
ld hl, wStringBuffer2
|
||||
|
||||
CopyName2:: ; 30d9
|
||||
; Copies the name from de to hl
|
||||
.loop
|
||||
ld a, [de]
|
||||
inc de
|
||||
ld [hli], a
|
||||
cp "@"
|
||||
jr nz, .loop
|
||||
ret
|
||||
; 30e1
|
||||
Reference in New Issue
Block a user