![]() |
Routines |
| Prev: 43619 | Up: Map | Next: 43681 |
|
The update routine for the chasing dome (objects 120 and 121), which is deadly to touch. It moves towards the player at one unit per pass in each direction.
|
||||||||
|
Head towards the player and redraw the dome.
|
||||||||
| HandleChasingDome | 43657 | CALL SetPixelAdjustments_Sparkle | Call SetPixelAdjustments_Sparkle. | |||||
| 43660 | LD BC,257 | Set the speed along each axis to 1. | ||||||
| 43663 | CALL SetSpeedTowardsPlayer | Call SetSpeedTowardsPlayer. | ||||||
| 43666 | CALL ApplyGravityAndMove | Call ApplyGravityAndMove. | ||||||
| 43669 | CALL ToggleSpriteNumber | Call ToggleSpriteNumber. | ||||||
| 43672 | LD HL,46765 | Point HL at MovingSoundLengths_ChasingDome. | ||||||
| 43675 | CALL PlayMovingSound | Call PlayMovingSound. | ||||||
| 43678 | JP SetDeadlyFlagsAndDraw | Jump to SetDeadlyFlagsAndDraw. | ||||||
| Prev: 43619 | Up: Map | Next: 43681 |