![]() |
Routines |
| Prev: BC70 | Up: Map | Next: BC9D |
|
The handler for the last of the sparkles in which the player appears (object 3F). The object stops moving and gets back the sprite number which was kept at offset 10 of its record, and the object is handled again straight away with that sprite number.
|
||||||||
|
Stop the sparkle and restore the object.
|
||||||||
| HandleLastAppearingSparkle | BC83 | CALL SetPixelAdjustments_Appearing | Call SetPixelAdjustments_Appearing. | |||||
| BC86 | XOR A | Set the x, y and z speeds to 00. | ||||||
| BC87 | LD (IX+$09),A | |||||||
| BC8A | LD (IX+$0A),A | |||||||
| BC8D | LD (IX+$0B),A | |||||||
| BC90 | RES 6,(IX+$0D) | Reset bit 6 of the flags. | ||||||
| BC94 | LD A,(IX+$10) | Fetch the sprite number which was kept. | ||||||
| BC97 | LD (IX+$00),A | Restore the sprite number of the object. | ||||||
| BC9A | JP RunGame_UpdateObject | Jump to RunGame_UpdateObject. | ||||||
| Prev: BC70 | Up: Map | Next: BC9D |