Prev: 41720 Up: Map Next: 41746
41733: Handler: Extra Life
Handles the extra life (sprite ID 133). If the player touches it then a life is added, otherwise it is drawn.
Input
IX Actor record of the extra life
HandlerExtraLife 41733 LD BC,3084 Set how far above and to the right of the extra life the player can be in BC to 3084 (see TestPlayerTouchingActor).
41736 CALL TestPlayerTouchingActor Test whether the player is touching the extra life.
41739 JR NC,ColourPickup Jump to ColourPickup to draw the extra life if the player is not touching it.
41741 CALL AddLife Add a life.
41744 JR CollectPickup Jump to CollectPickup to collect the extra life.
Prev: 41720 Up: Map Next: 41746