![]() |
Routines |
| Prev: F0E6 | Up: Map | Next: F10B |
|
The author's ATTRI: all 768 attribute bytes set to ROOM_COLOUR. A room is drawn unseen, its attributes cleared (DRAW_CURRENT_ROOM), and coloured only when it is complete: under the title and GAME OVER (TITLE_SCREEN), at the end of the quest (ROOMST), and after the first pass of a new room, when every object has been drawn (MAIN_LOOP).
|
||||
| ATTRI | F0FB | LD A,(ROOM_COLOUR) | ||
| F0FE | LD HL,$5800 | |||
| F101 | LD (HL),A | |||
| F102 | LD DE,$5801 | |||
| F105 | LD BC,$02FF | |||
| F108 | LDIR | |||
| F10A | RET | |||
| Prev: F0E6 | Up: Map | Next: F10B |