![]() |
Routines |
| Prev: 74A5 | Up: Map | Next: 7542 |
|
Draws a sprite without erasing anything, or erases a sprite without drawing anything.
|
||||||||||
| DrawSprite | 751C | CALL SetUpSprite_Address | Set up the sprite using SetUpSprite_Address. | |||||||
| 751F | JR DrawSprite_ClearPrevious | Jump to DrawSprite_ClearPrevious. | ||||||||
|
This entry point is used by the routines at RemoveStreamer and RemoveObject.
Erases the sprite at DE from the previous position.
|
||||||||||
| RemoveEntity_Address | 7521 | CALL SetUpPreviousSprite_Address | Set up the previous sprite using SetUpPreviousSprite_Address. | |||||||
| 7524 | JR RemoveEntity_ClearNew | Jump to RemoveEntity_ClearNew. | ||||||||
|
Remove Entity. Erases the previous sprite of an actor.
|
||||||||||
| RemoveEntity | 7526 | CALL SetUpPreviousSprite | Set up the previous sprite using SetUpPreviousSprite. | |||||||
|
This entry point is used by the routine at AnimateExplosion.
Clears the height of the new sprite so that nothing is drawn.
|
||||||||||
| RemoveEntity_ClearNew | 7529 | EXX | Switch to the shadow registers. | |||||||
| 752A | XOR A | Set A to 00. | ||||||||
| 752B | LD C,A | Set the row count in C to 00. | ||||||||
| 752C | LD ($5E11),A | Write 00 to 5E11. | ||||||||
| 752F | LD ($5E0E),A | Write 00 to 5E0E. | ||||||||
| 7532 | EXX | Switch to the shadow registers. | ||||||||
| 7533 | JP MaskSprite | Jump to MaskSprite. | ||||||||
|
Draw Entity. This entry point is not used.
|
||||||||||
| DrawEntity | 7536 | CALL SetUpSprite | Set up the sprite of the actor in IX using SetUpSprite. | |||||||
|
This entry point is used by the routine at DrawCubbyHoleItem.
Clears the height of the previous sprite so that nothing is erased.
|
||||||||||
| DrawSprite_ClearPrevious | 7539 | EXX | Switch to the shadow registers. | |||||||
| 753A | XOR A | Set A to 00. | ||||||||
| 753B | LD ($5E10),A | Write 00 to 5E10. | ||||||||
| 753E | LD C,A | Set the row count in C to 00. | ||||||||
| 753F | JP MaskSprite | Jump to MaskSprite. | ||||||||
| Prev: 74A5 | Up: Map | Next: 7542 |