Prev: 53967 Up: Map Next: 54029
53999: Set Border Attributes
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 53999 XOR A Set A to the attribute for black on black.
54000 LD HL,23222 Point HL at the attributes of the left side.
54003 LD BC,259 Set the width to 1 and the height to 3.
54006 CALL FillWindow Colour the left side.
54009 LD HL,23229 Point HL at the attributes of the right side.
54012 LD BC,259 Set the width to 1 and the height to 3.
54015 CALL FillWindow Colour the right side.
54018 LD A,66 Set A to the attribute for bright red on black.
54020 LD HL,23191 Point HL at the attributes of the window.
54023 LD BC,1540 Set the width to 6 and the height to 4.
54026 JP FillWindow Jump to FillWindow.
View the equivalent code in;
Prev: 53967 Up: Map Next: 54029