![]()  | 
Routines | 
| Prev: 48008 | Up: Map | Next: 48031 | 
| 
 
Used by the routine at GameInitialisation.
 
 | 
||||
| ResetAttributes | 48015 | LD HL,22528 | HL=attribute buffer. | |
| 
 
This entry point is used by the routine at ClearPlayArea_Attributes.
 
 | 
||||
| ResetAttributes_0 | 48018 | LD B,91 | B=91 (i.e. finish once we reach the end of the attribute buffer). | |
| 48020 | LD C,64 | C=0 (value to write). | ||
| 48022 | JR ResetCopier | Jump to ResetCopier. | ||
| 48024 | ADD A,L | |||
| 48025 | LD L,A | |||
| 48026 | LD A,H | |||
| 48027 | ADC A,0 | |||
| 48029 | LD H,A | |||
| 48030 | RET | |||
| 
 
View the equivalent code in; 
 
 | 
||||
| Prev: 48008 | Up: Map | Next: 48031 |