Prev: 43038 Up: Map Next: 43059
43046: Move Saucer
The handler for entity types 8 to 11, 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 96 steps in a frame. A saucer that hits the robot explodes.
Input
IX Entity
MoveSaucer 43046 CALL NextSpriteNumber Move on to the next sprite using NextSpriteNumber.
43049 CALL RemoveDistantEntity Remove the entity if it is far from the camera using RemoveDistantEntity.
43052 CALL GetPosition Fetch the position of the entity.
43055 LD B,96 The saucer can take up to 96 steps in this frame.
43057 JR MoveEnemy_Step Jump to take the first step.
Prev: 43038 Up: Map Next: 43059