Prev: 98C9 Up: Map Next: 98EC
98D9: Draws lives number on HUD
Used by the routines at 9470, 9D68 and D338.
98D9 LD A,($A1FC) Set A to the number of lives of rex
98DC LD L,A Copy number of lives to HL
98DD LD H,$00
98DF CALL $A5AA Computes the charcode digit of the number of lives
98E2 LD E,$17 Set E to the horizontal position of the unit digit
98E4 LD L,$00 Set L to the vertical position of the number to draw
98E6 LD B,$01 Set B to the number of digits to draw
98E8 CALL $A570 Draw the number at lives at HUD into display file
98EB RET
Prev: 98C9 Up: Map Next: 98EC