![]() |
Routines |
| Prev: 41586 | Up: Map | Next: 41679 |
|
Play the briefing tune and burst debris around Jetman, then rebuild the play area at the new position and rejoin the actor loop at StartGame_DispatchActor. This sets TeleportRestore, so that FinishTeleport finishes the teleport.
|
||||
| StartTeleport | 41625 | DI | Disable interrupts. | |
| 41626 | LD DE,47658 | DE=Tune_Briefing. | ||
| 41629 | CALL QueueTune | Call QueueTune. | ||
| 41632 | RST 56 | Call the ROM interrupt routine at MASK-INT. | ||
|
Run the first debris burst.
|
||||
| 41633 | XOR A | Write 0 to Debris_Pitch. | ||
| 41634 | LD (24187),A | |||
| 41637 | CALL FillPickupDebris | Call FillPickupDebris. | ||
| 41640 | CALL AnimatePickupDebris | Call AnimatePickupDebris. | ||
|
Redraw Jetman's sprite, then run another debris burst.
|
||||
| 41643 | LD IX,24696 | IX=Jetman_Slot. | ||
| 41647 | CALL DrawCachedSprite | Call DrawCachedSprite. | ||
| 41650 | CALL FillPickupDebris | Call FillPickupDebris. | ||
| 41653 | CALL AnimatePickupDebris | Call AnimatePickupDebris. | ||
|
Reset the laser beam slots and sprite caches, redraw the play area and rejoin the actor loop.
|
||||
| 41656 | CALL Handler_ResetLaserBeamSlots | Call Handler_ResetLaserBeamSlots. | ||
| 41659 | LD A,1 | Write 1 to TeleportRestore. | ||
| 41661 | LD (24168),A | |||
| 41664 | CALL ClearSpriteCaches | Call ClearSpriteCaches. | ||
| 41667 | CALL MessageTeleporting | Call MessageTeleporting. | ||
| 41670 | CALL BlankPlayArea | Call BlankPlayArea. | ||
| 41673 | CALL DrawTerrain | Call DrawTerrain. | ||
| 41676 | JP StartGame_DispatchActor | Jump to StartGame_DispatchActor. | ||
| Prev: 41586 | Up: Map | Next: 41679 |