![]() |
Routines |
| Prev: A064 | Up: Map | Next: A08D |
|
The first of nine attribute fillers DRAW_FROM_RECORD picks by comparing a thing's old and new position: each paints the thing's block of cells in D, its own colour, and the column or row it has just moved out of in E, the room's colour -- so a creature carries its colour with it and hands the room's back. This one, for a thing that has not moved, only paints the block.
|
||||
| COLOUR_STILL | A07A | POP HL | ||
|
This entry point is used by the routine at COLOUR_MOVED_UP.
|
||||
| COLOUR_STILL_BODY | A07B | PUSH BC | ||
| A07C | PUSH HL | |||
| COLOUR_STILL_0 | A07D | LD (HL),D | ||
| A07E | INC L | |||
| A07F | DJNZ COLOUR_STILL_0 | |||
| A081 | POP HL | |||
| A082 | LD BC,$0020 | |||
| A085 | AND A | |||
| A086 | SBC HL,BC | |||
| A088 | POP BC | |||
| A089 | DEC C | |||
| A08A | JR NZ,COLOUR_STILL_BODY | |||
| A08C | RET | |||
| Prev: A064 | Up: Map | Next: A08D |