diff options
author | mid-kid <esteve.varela@gmail.com> | 2018-06-04 11:05:53 +0200 |
---|---|---|
committer | mid-kid <esteve.varela@gmail.com> | 2018-06-04 11:05:53 +0200 |
commit | 5e9c785b3f5c4638e61a0e58a11b79566a054636 (patch) | |
tree | 681ea4c043ed2c4d001ced844303151e66e3dcbf /home/copy2.asm | |
parent | 17087489c6b2466b1d4b2d22d7760604d3e755f8 (diff) | |
parent | d596a0c83bfbb97bff5cdb5b3bba925d3f798fa1 (diff) |
Merge branch 'master' of https://github.com/pret/pokecrystal
Diffstat (limited to 'home/copy2.asm')
-rw-r--r-- | home/copy2.asm | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/home/copy2.asm b/home/copy2.asm index 23e1eca7f..63f3cfafb 100644 --- a/home/copy2.asm +++ b/home/copy2.asm @@ -1,7 +1,7 @@ CopyBytes:: ; 0x3026 ; copy bc bytes from hl to de - inc b ; we bail the moment b hits 0, so include the last run - inc c ; same thing; include last byte + inc b ; we bail the moment b hits 0, so include the last run + inc c ; same thing; include last byte jr .HandleLoop .CopyByte: ld a, [hli] @@ -39,8 +39,8 @@ SwapBytes:: ; 0x3034 ByteFill:: ; 0x3041 ; fill bc bytes with the value of a, starting at hl - inc b ; we bail the moment b hits 0, so include the last run - inc c ; same thing; include last byte + inc b ; we bail the moment b hits 0, so include the last run + inc c ; same thing; include last byte jr .HandleLoop .PutByte: ld [hli], a |