Prev: 52049 Up: Map Next: 52060
52052: Clear Objects
Used by the routine at BuildRoomScenery.
Clears all of the objects from the third one on, which leaves the two of the player.
ClearObjects 52052 LD HL,42927 Start at the third object, which is ObjectsTable_Projectiles.
52055 LD BC,1664 Set the number of bytes to clear, which is the size of 52 objects.
52058 JR FillMemory Jump to FillMemory to clear them.
View the equivalent code in;
Prev: 52049 Up: Map Next: 52060