mirror of
https://github.com/thornAvery/kep-hack.git
synced 2025-09-17 02:40:50 +12:00
use rept macro
This commit is contained in:
parent
4889e8fa3e
commit
07165f25dc
|
@ -89,16 +89,9 @@ FlashSprite8Times:
|
||||||
|
|
||||||
CopyHealingMachineOAM:
|
CopyHealingMachineOAM:
|
||||||
; copy one OAM entry and advance the pointers
|
; copy one OAM entry and advance the pointers
|
||||||
|
rept 4
|
||||||
ld a, [de]
|
ld a, [de]
|
||||||
inc de
|
inc de
|
||||||
ld [hli], a
|
ld [hli], a
|
||||||
ld a, [de]
|
endr
|
||||||
inc de
|
|
||||||
ld [hli], a
|
|
||||||
ld a, [de]
|
|
||||||
inc de
|
|
||||||
ld [hli], a
|
|
||||||
ld a, [de]
|
|
||||||
inc de
|
|
||||||
ld [hli], a
|
|
||||||
ret
|
ret
|
||||||
|
|
Loading…
Reference in a new issue