Prev: 52087 Up: Map Next: 52105
52097: Clear Screen Buffer
Used by the routines at GameMenu, ShowVictoryScreen, ShowGameOverScreen and BuildRoom.
Clears the screen buffer, in which the objects are drawn before they are copied to the screen.
ClearScreenBuffer 52097 LD BC,6144 Set the number of bytes to clear, which is the size of the buffer.
52100 LD HL,55439 Start at the beginning of the buffer, which is ScreenBuffer.
52103 JR FillMemory Jump to FillMemory to clear it.
View the equivalent code in;
Prev: 52087 Up: Map Next: 52105