Prev: DB63 Up: Map Next: DB9B
DB83: Draw a horizontally moving sprite
Used by the routine at D815.
DB83 LD A,($D72F)
DB86 DEC A
DB87 LD B,A
DB88 LD A,($D813)
DB8B LD C,A
DB8C PUSH BC
DB8D LD A,(DE)
DB8E LD (HL),A
DB8F INC HL
DB90 INC DE
DB91 DJNZ $DB8D
DB93 INC HL
DB94 XOR A
DB95 LD (HL),A
DB96 POP BC
DB97 DEC C
DB98 JR NZ,$DB8C
DB9A RET
Prev: DB63 Up: Map Next: DB9B