![]() |
Routines |
| Prev: 36885 | Up: Map | Next: 36912 |
|
Used by the routine at ApplyCollisionEffects.
Gives the player an extra ship, up to a maximum of ten.
|
||||
| AddShip | 36896 | LD A,(62957) | Fetch the number of ships from 62957. | |
| 36899 | INC A | Add one. | ||
| 36900 | CP 10 | Is it ten? | ||
| 36902 | RET Z | Return if so. | ||
| 36903 | LD (62957),A | Store the new number of ships. | ||
| 36906 | CALL PlayHitSound | Play the explosion sound. | ||
| 36909 | JP PrintShipsRemaining | Show the number of ships. | ||
| Prev: 36885 | Up: Map | Next: 36912 |