Prev: 39526 Up: Map Next: 39550
39538: Fill Attributes White
Used by the routines at ShowTitleScreen and RunGame.
Sets every attribute on the screen to bright white ink on black.
FillAttributesWhite 39538 LD HL,22528 Use the first attribute.
FillAttributesWhite_Loop 39541 LD (HL),71 Write the attribute.
39543 INC HL Move on to the next one.
39544 LD A,H Fetch the high byte of the address.
39545 CP 91 Jump back to FillAttributesWhite_Loop if all of the attributes have not been written.
39547 JR NZ,FillAttributesWhite_Loop
39549 RET Return.
Prev: 39526 Up: Map Next: 39550