Prev: 34324 Up: Map Next: 34368
34356: Position And Draw Sprite
Used by the routines at Handler_JetmanMovement and Handler_MoonRover.
Position the actor's sprite with PositionSprite, clear the remaining row count and start the draw through XORSpriteLoop.
Input
IX Actor slot
PositionAndDrawSprite 34356 CALL PositionSprite Call PositionSprite.
This entry point is used by the routine at PrepareSpriteWrite.
PositionAndDrawSprite_ClearWidth 34359 EXX Switch register sets, then write 0 to SpriteCachedRows and the row counter.
34360 XOR A
34361 LD (24154),A
34364 LD C,A
34365 JP XORSpriteLoop Jump to XORSpriteLoop.
View the equivalent code in;
Prev: 34324 Up: Map Next: 34368