Prev: CB51 Up: Map Next: CB5C
CB54: 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 CB54 LD HL,$A7AF Start at the third object, which is ObjectsTable_Projectiles.
CB57 LD BC,$0680 Set the number of bytes to clear, which is the size of 34 objects.
CB5A JR FillMemory Jump to FillMemory to clear them.
View the equivalent code in;
Prev: CB51 Up: Map Next: CB5C