Prev: 36692 Up: Map Next: 36709
36703: Get start of next zero-terminated string
Used by the routines at 28272, 34842 and 36830.
Input
HL Current position in a list of zero-terminated strings
Output
HL Byte immediately after the first zero byte following HL (input) address
36703 LD A,(HL) Get byte at HL
36704 INC HL Advance HL
36705 OR A Is byte value from old HL position zero?
36706 RET Z If so then exit
36707 JR 36703 If not, then restart this loop with new HL
Prev: 36692 Up: Map Next: 36709