![]() |
Routines |
| Prev: D2CF | Up: Map | Next: D30D |
|
Used by the routine at RunGame.
Sets the colours of the panel at the bottom of the screen: black for the two columns at the sides of the window of the sun and moon, and bright red for the window itself.
|
||||
|
Colour the sides black and the sun/moon window bright red.
|
||||
| SetBorderAttributes | D2EF | XOR A | Set A to the attribute for black on black. | |
| D2F0 | LD HL,$5AB6 | Point HL at the attributes of the left side. | ||
| D2F3 | LD BC,$0103 | Set the width to 01 and the height to 03. | ||
| D2F6 | CALL FillWindow | Colour the left side. | ||
| D2F9 | LD HL,$5ABD | Point HL at the attributes of the right side. | ||
| D2FC | LD BC,$0103 | Set the width to 01 and the height to 03. | ||
| D2FF | CALL FillWindow | Colour the right side. | ||
| D302 | LD A,$42 | Set A to the attribute for bright red on black. | ||
| D304 | LD HL,$5A97 | Point HL at the attributes of the window. | ||
| D307 | LD BC,$0604 | Set the width to 06 and the height to 04. | ||
| D30A | JP FillWindow | Jump to FillWindow. | ||
|
View the equivalent code in;
|
||||
| Prev: D2CF | Up: Map | Next: D30D |