Prev: D7D6 Up: Map Next: D813
D7E7: Draw a vertically moving sprite
Used by the routine at D6BF.
Input
DE Position to draw the sprite
D7E7 LD A,($D6BC)
D7EA LD B,A
D7EB LD HL,($D6BD)
D7EE LD A,D
D7EF AND $07
D7F1 ADD A,A
D7F2 LD C,A
D7F3 XOR A
D7F4 ADD A,C
D7F5 DJNZ $D7F4
D7F7 LD C,A
D7F8 BIT 0,D
D7FA JR NZ,$D803
D7FC LD A,$18
D7FE SUB C
D7FF LD C,A
D800 ADD HL,BC
D801 JR $D808
D803 LD A,$90
D805 SUB C
D806 LD C,A
D807 ADD HL,BC
D808 LD D,(IY+$01)
D80B LD BC,($D6BB)
D80F CALL $E96B
D812 RET
Prev: D7D6 Up: Map Next: D813