![]() |
Routines |
| Prev: A2F8 | Up: Map | Next: A312 |
|
Handles the extra life (sprite ID 85). If the player touches it then a life is added, otherwise it is drawn.
|
||||||||
| HandlerExtraLife | A305 | LD BC,$0C0C | Set how far above and to the right of the extra life the player can be in BC to 0C0C (see TestPlayerTouchingActor). | |||||
| A308 | CALL TestPlayerTouchingActor | Test whether the player is touching the extra life. | ||||||
| A30B | JR NC,ColourPickup | Jump to ColourPickup to draw the extra life if the player is not touching it. | ||||||
| A30D | CALL AddLife | Add a life. | ||||||
| A310 | JR CollectPickup | Jump to CollectPickup to collect the extra life. | ||||||
| Prev: A2F8 | Up: Map | Next: A312 |