![]() |
Routines |
| Prev: ED45 | Up: Map | Next: ED71 |
|
Used by the routine at Unpack_Rooms.
|
||||
| Clear_RoomBuffers | ED51 | PUSH AF | Stash AF on the stack. | |
| ED52 | XOR A | Write 00 to *ATTR_P. | ||
| ED53 | LD ($5C8D),A | |||
| ED56 | LD B,$18 | Clear the bottom 18 lines using CL_LINE. | ||
| ED58 | CALL $0E44 | |||
| ED5B | LD HL,$5DCE | Fill Buffer_RoomTiles with C8. | ||
| ED5E | LD DE,$5DCF | |||
| ED61 | LD (HL),$C8 | |||
| ED63 | LD BC,$0320 | |||
| ED66 | LDIR | |||
| ED68 | LD (HL),$00 | Fill Buffer_RoomAttributes with 00. | ||
| ED6A | LD BC,$031F | |||
| ED6D | LDIR | |||
| ED6F | POP AF | Restore AF from the stack. | ||
| ED70 | RET | Return. | ||
| Prev: ED45 | Up: Map | Next: ED71 |