Prev: BC1B Up: Map Next: BC38
BC1F: Next bit, next byte, then work out the percentage
Used by the routine at count_visited_bit.
next_visited_bit BC1F DJNZ count_visited_bit eight bits per byte, 32 bytes
BC21 POP BC
BC22 DEC C
BC23 JR NZ,count_screens
BC25 LD A,E rooms visited less one, for the rating in game_over_summary
BC26 DEC A
BC27 LD ($5BC6),A
BC2A LD A,($5BBB) charms count double
BC2D SLA A
BC2F ADD A,E
BC30 LD E,A
BC31 LD BC,$A41A HL = fraction, A = BCD whole part
BC34 LD HL,$0000
BC37 XOR A
Prev: BC1B Up: Map Next: BC38