![]() |
Routines |
| Prev: 62716 | Up: Map | Next: 62797 |
|
Used by the routine at RunLife.
Used when the planet has been completed. It clears the playfield, runs CompletePlanet and plays a tune. After a short delay it clears the playfield and the map cells at CurrentPlayerState_MapCells again, and carries on with PrepareLife.
|
||||
| FinishPlanet | 62762 | CALL ClearPlayfield | Call ClearPlayfield. | |
| 62765 | CALL CompletePlanet | Call CompletePlanet. | ||
| 62768 | LD DE,62826 | The tune: planet complete. | ||
| 62771 | CALL PlayMusic | Call PlayMusic. | ||
| 62774 | LD B,14 | B=14. | ||
| FinishPlanet_Wait | 62776 | CALL Delay | Call Delay. | |
| 62779 | DJNZ FinishPlanet_Wait | Decrease B and jump to FinishPlanet_Wait until none remain. | ||
| 62781 | CALL ClearPlayfield | Call ClearPlayfield. | ||
| 62784 | XOR A | Clear A. | ||
| 62785 | LD (62954),A | Update the bitmap of map cells. | ||
| 62788 | LD (62955),A | The second byte of the map-cell bitmap. | ||
| 62791 | LD (62956),A | The third byte of the map-cell bitmap. | ||
| 62794 | JP PrepareLife | Jump to PrepareLife. | ||
| Prev: 62716 | Up: Map | Next: 62797 |