![]() |
Routines |
| Prev: F48B | Up: Map | Next: F4BE |
|
Used by the routine at JumpTable_DrawStatus.
Draws one life icon for each remaining life, then a blank.
|
||||
| Draw_StatusIcons | F4A8 | CALL Set_PrintPosition | Call Set_PrintPosition. | |
| F4AB | LD A,($64B4) | Jump to Draw_StatusIcons_Skip if *Player_Lives is the last life. | ||
| F4AE | DEC A | |||
| F4AF | JR Z,Draw_StatusIcons_Skip | |||
| F4B1 | LD B,A | Set the remaining-life count and the E3 icon. | ||
| F4B2 | LD A,$E3 | |||
| Draw_StatusIcons_Target | F4B4 | CALL Print_Character | Call Print_Character. | |
| F4B7 | DJNZ Draw_StatusIcons_Target | Decrease the life count and loop back to Draw_StatusIcons_Target until all lives are drawn. | ||
| Draw_StatusIcons_Skip | F4B9 | LD A,$C8 | A=C8. | |
| F4BB | JP Print_Character | Jump to Print_Character. | ||
|
View the equivalent code in Booty.
|
||||
| Prev: F48B | Up: Map | Next: F4BE |