|  | Routines | 
| Prev: 47796 | Up: Map | Next: 47832 | 
| 
Used by the routine at Handler_DisplayCharacterLocation.
 
 
 | ||||||||||||
| CountBytesToTerminator | 47822 | LD B,0 | B=0. | |||||||||
| CountBytesToTerminator_Loop | 47824 | LD A,(HL) | A=*HL. | |||||||||
| 47825 | CP 255 | If A is 255 then return. | ||||||||||
| 47827 | RET Z | |||||||||||
| 47828 | INC B | Increment B by one. | ||||||||||
| 47829 | INC HL | Increment HL by one. | ||||||||||
| 47830 | JR CountBytesToTerminator_Loop | Jump to CountBytesToTerminator_Loop. | ||||||||||
| Prev: 47796 | Up: Map | Next: 47832 |