Prev: A312 Up: Map Next: A323
A31A: Colour Pickup
Used by the routines at HandlerAmuletPiece and HandlerExtraLife.
Sets the attributes of the screen cells covered by a pickup, which is a sprite 10 pixels high and two cells wide, using ColourEntity.
Input
IX Actor record of the pickup
ColourPickup A31A LD HL,$0210 Set the height of the pickup in L to 10 and the number of columns in H to 02.
A31D LD ($96A5),HL Store the height and the number of columns in New_Sprite_Height and New_Sprite_Width.
A320 JP ColourEntity Jump to ColourEntity to colour the pickup.
Prev: A312 Up: Map Next: A323