![]() |
Routines |
| Prev: 62603 | Up: Map | Next: 62654 |
|
Used by the routine at JumpTable_DrawStatus.
Draws one life icon for each remaining life, then a blank.
|
||||
| Draw_StatusIcons | 62632 | CALL Set_PrintPosition | Call Set_PrintPosition. | |
| 62635 | LD A,(25780) | Jump to Draw_StatusIcons_Skip if *Player_Lives is the last life. | ||
| 62638 | DEC A | |||
| 62639 | JR Z,Draw_StatusIcons_Skip | |||
| 62641 | LD B,A | Set the remaining-life count and the 227 icon. | ||
| 62642 | LD A,227 | |||
| Draw_StatusIcons_Target | 62644 | CALL Print_Character | Call Print_Character. | |
| 62647 | DJNZ Draw_StatusIcons_Target | Decrease the life count and loop back to Draw_StatusIcons_Target until all lives are drawn. | ||
| Draw_StatusIcons_Skip | 62649 | LD A,200 | A=200. | |
| 62651 | JP Print_Character | Jump to Print_Character. | ||
|
View the equivalent code in Booty.
|
||||
| Prev: 62603 | Up: Map | Next: 62654 |