Prev: BB88 Up: Map Next: BB9F
BB8F: Reset Attribute Buffer
Used by the routine at GameInitialisation.
ResetAttributes BB8F LD HL,$5800 HL=attribute buffer.
This entry point is used by the routine at ClearPlayArea_Attributes.
ResetAttributes_0 BB92 LD B,$5B B=5B (i.e. finish once we reach the end of the attribute buffer).
BB94 LD C,$40 C=00 (value to write).
BB96 JR ResetCopier Jump to ResetCopier.
BB98 ADD A,L
BB99 LD L,A
BB9A LD A,H
BB9B ADC A,$00
BB9D LD H,A
BB9E RET
View the equivalent code in;
Prev: BB88 Up: Map Next: BB9F