diff options
author | yenatch <yenatch@gmail.com> | 2016-04-18 08:01:12 -0400 |
---|---|---|
committer | yenatch <yenatch@gmail.com> | 2016-04-18 08:01:12 -0400 |
commit | 7aef59841489ea449b9a34d424c681a4b48b88ab (patch) | |
tree | 72d46f1cc076564f62b11f5379960cd745a7fc9a /home/copy2.asm | |
parent | c5fb2c947ffcdd0ddd80319a24a6acbe828d9598 (diff) | |
parent | 5d94fb22ed0e4c9edfca506b80f50ef71fd78664 (diff) |
Merge pull request #338 from PikalaxALT/master
Battle anims, HP Bar anim
Diffstat (limited to 'home/copy2.asm')
-rw-r--r-- | home/copy2.asm | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/home/copy2.asm b/home/copy2.asm index 538be572f..23e1eca7f 100644 --- a/home/copy2.asm +++ b/home/copy2.asm @@ -3,11 +3,11 @@ CopyBytes:: ; 0x3026 inc b ; we bail the moment b hits 0, so include the last run inc c ; same thing; include last byte jr .HandleLoop -.CopyByte +.CopyByte: ld a, [hli] ld [de], a inc de -.HandleLoop +.HandleLoop: dec c jr nz, .CopyByte dec b @@ -16,7 +16,7 @@ CopyBytes:: ; 0x3026 SwapBytes:: ; 0x3034 ; swap bc bytes between hl and de -.Loop +.Loop: ; stash [hl] away on the stack ld a, [hl] push af @@ -42,9 +42,9 @@ ByteFill:: ; 0x3041 inc b ; we bail the moment b hits 0, so include the last run inc c ; same thing; include last byte jr .HandleLoop -.PutByte +.PutByte: ld [hli], a -.HandleLoop +.HandleLoop: dec c jr nz, .PutByte dec b |