![]() |
Routines |
| Prev: 41625 | Up: Map | Next: 41717 |
|
Finish the teleport by bursting debris at Jetman's new position and clearing TeleportRestore.
|
||||
| FinishTeleport | 41679 | LD A,(24700) | Fetch Jetman_Y. | |
| 41682 | SUB 12 | Subtract 12. | ||
| 41684 | LD (24170),A | Write it to Debris_Y. | ||
| 41687 | CALL FillPickupDebris | Call FillPickupDebris. | ||
|
Animate the burst, then save the particle positions to the template.
|
||||
| 41690 | CALL AnimateDebris | Call AnimateDebris. | ||
| 41693 | CALL InitialiseDebris | Call InitialiseDebris. | ||
|
Restore the template over the particles and animate it twice more.
|
||||
| 41696 | XOR A | Write 0 to Debris_Pitch. | ||
| 41697 | LD (24187),A | |||
| 41700 | CALL CopyDebrisTemplate | Call CopyDebrisTemplate. | ||
| 41703 | CALL AnimateDebrisBurst | Call AnimateDebrisBurst. | ||
| 41706 | CALL CopyDebrisTemplate | Call CopyDebrisTemplate. | ||
| 41709 | CALL AnimateDebrisBurst | Call AnimateDebrisBurst. | ||
| 41712 | XOR A | Write 0 to TeleportRestore. | ||
| 41713 | LD (24168),A | |||
| 41716 | RET | Return. | ||
| Prev: 41625 | Up: Map | Next: 41717 |