Prev: B6C9 Up: Map Next: B739
B720: Prints the percentage of the approach.
Used by the routine at Menu_DisplayProgess.
Input
HL Pointer to percentage value.
A Percentage as a BCD.
Percentage_Print B720 LD C,$20
B722 LD B,(HL) Get the upper 'tens' value.
B723 RLD
B725 AND $0F
B727 JR Z,Percentage_Print_0 Print a space if zero.
B729 LD C,$30 Convert into an asci number.
Percentage_Print_0 B72B ADD A,C
B72C CALL Print_Character
B72F LD (HL),B Reset value and get the 'units'
B730 LD A,B
B731 AND $0F
B733 ADD A,$30 Convert into an ascii number.
B735 CALL Print_Character
B738 RET
Prev: B6C9 Up: Map Next: B739