Prev: 75FD Up: Map Next: 7617
7607: Remove Entity
Used by the routine at HandleLevelIntroduction.
Erases the sprite at the position recorded by StoreEntity.
Before After
remove-entity-before remove-entity-after
RemoveEntity 7607 CALL PrepareOldSprite Prepare the recorded sprite using PrepareOldSprite.
RemoveEntity_Fetched 760A EXX Switch to the shadow registers.
760B XOR A A=00.
760C LD C,A C=00.
760D LD ($5F1A),A Write 00 to ActorSprite_RowsRemaining.
7610 LD ($5F17),A Write 00 to ActorSprite_Rows.
7613 EXX Switch to the normal registers.
7614 JP XORSpriteLoop Jump to XORSpriteLoop.
View the equivalent code in;
Prev: 75FD Up: Map Next: 7617