9538: Redraw the attributes after a sprite moves
9538 |
PUSH AF |
9539 |
PUSH BC |
953A |
PUSH DE |
953B |
PUSH HL |
953C |
LD B,$03 |
953E |
LD A,L |
953F |
CP $F1 |
9541 |
JR C,$9544 |
9543 |
DEC B |
9544 |
LD C,$03 |
9546 |
LD A,H |
9547 |
CP $11 |
9549 |
JR NC,$954C |
954B |
DEC C |
954C |
CALL $9584 |
954F |
CALL $95A6 |
9552 |
PUSH BC |
9553 |
PUSH DE |
9554 |
PUSH HL |
9555 |
LD A,(HL) |
9556 |
CP $09 |
9558 |
JR C,$955E |
955A |
LD A,$06 |
955C |
JR $9566 |
955E |
ADD A,$4F |
9560 |
PUSH BC |
9561 |
LD B,$98 |
9563 |
LD C,A |
9564 |
LD A,(BC) |
9565 |
POP BC |
9566 |
LD (DE),A |
9567 |
INC DE |
9568 |
INC HL |
9569 |
DJNZ $9555 |
956B |
POP HL |
956C |
LD DE,$0020 |
956F |
AND A |
9570 |
SBC HL,DE |
9572 |
POP DE |
9573 |
PUSH HL |
9574 |
EX DE,HL |
9575 |
LD DE,$0020 |
9578 |
ADD HL,DE |
9579 |
EX DE,HL |
957A |
POP HL |
957B |
POP BC |
957C |
DEC C |
957D |
JR NZ,$9552 |
957F |
POP HL |
9580 |
POP DE |
9581 |
POP BC |
9582 |
POP AF |
9583 |
RET |