Prev: 52165 Up: Map Next: 52270
52253: Draw Life Icon
Used by the routine at StartNewLife.
Draws the icon of a knight that shows a life, which is two blocks of two by two characters, one above the other.
After DrawLifeIcon
life-icon
Input
A' Attribute
DE Address of the characters
HL Screen address
Draw the top block, then the bottom block.
DrawLifeIcon 52253 PUSH DE Stash the address of the characters and the screen address on the stack.
52254 PUSH HL
52255 CALL PrintCharacterBlock Draw the top block.
52258 CALL MoveDownRow Move down two rows.
52261 CALL MoveDownRow
52264 CALL PrintCharacterBlock Draw the bottom block.
52267 POP HL Get the address of the characters and the screen address back, and return.
52268 POP DE
52269 RET
Prev: 52165 Up: Map Next: 52270