Prev: 47020 Up: Map Next: 47049
47023: Text printing: Return from current level of text printing
Used by the routine at 46902.
47023 PUSH AF Store AF
47024 LD A,(23398) Load recursion depth counter into B...
47027 LD B,A ...
47028 POP AF Restore AF
47029 OR B If recursion depth counter is not zero (i.e. we are not at the end of the top-level string)...
47030 JR NZ,47041 ...then skip ahead to 47041
47032 DEC A Decrease recursion depth counter to 255, as we have reached the end of the top-level string...
47033 LD (23398),A ...
47036 LD A,255 Load A with 255 (end marker)
47038 JP 48389 Print word in temporary text buffer to screen, wrapping text if necessary, then process next word
47041 LD A,(23398) Decrease recursion depth counter...
47044 DEC A ...
47045 LD (23398),A ...
47048 RET Return
Prev: 47020 Up: Map Next: 47049