Prev: A07A Up: Map Next: A0A3
A08D: Colour a thing that moved right
The room's colour into the column to the left of the block, which the thing has just left, then the block.
COLOUR_MOVED_RIGHT A08D POP HL
This entry point is used by the routine at COLOUR_MOVED_UP_RIGHT.
COLOUR_RIGHT_BODY A08E PUSH BC
A08F PUSH HL
A090 DEC L
A091 LD (HL),E
A092 INC L
COLOUR_MOVED_RIGHT_0 A093 LD (HL),D
A094 INC L
A095 DJNZ COLOUR_MOVED_RIGHT_0
A097 POP HL
A098 LD BC,$0020
A09B AND A
A09C SBC HL,BC
A09E POP BC
A09F DEC C
A0A0 JR NZ,COLOUR_RIGHT_BODY
A0A2 RET
Prev: A07A Up: Map Next: A0A3