Prev: A81E Up: Map Next: A833
A826: Move Saucer
The handler for entity types 08 to 0B, which are the saucers. A saucer is the faster of the two types of enemy that wander about at random; it can take up to 60 steps in a frame. A saucer that hits the robot explodes.
Input
IX Entity
MoveSaucer A826 CALL NextSpriteNumber Move on to the next sprite using NextSpriteNumber.
A829 CALL RemoveDistantEntity Remove the entity if it is far from the camera using RemoveDistantEntity.
A82C CALL GetPosition Fetch the position of the entity.
A82F LD B,$60 The saucer can take up to 60 steps in this frame.
A831 JR MoveEnemy_Step Jump to take the first step.
Prev: A81E Up: Map Next: A833