![]() |
Routines |
| Prev: CBC5 | Up: Map | Next: CC2E |
|
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.
|
||||||||||||||
|
Draw the top block, then the bottom block.
|
||||||||||||||
| DrawLifeIcon | CC1D | PUSH DE | Stash the address of the characters and the screen address on the stack. | |||||||||||
| CC1E | PUSH HL | |||||||||||||
| CC1F | CALL PrintCharacterBlock | Draw the top block. | ||||||||||||
| CC22 | CALL MoveDownRow | Move down two rows. | ||||||||||||
| CC25 | CALL MoveDownRow | |||||||||||||
| CC28 | CALL PrintCharacterBlock | Draw the bottom block. | ||||||||||||
| CC2B | POP HL | Get the address of the characters and the screen address back, and return. | ||||||||||||
| CC2C | POP DE | |||||||||||||
| CC2D | RET | |||||||||||||
| Prev: CBC5 | Up: Map | Next: CC2E |