Prev: 34858 Up: Map Next: 34887
34861: Text printing: Return from current level of text printing
Used by the routine at 34762.
34861 PUSH AF Store AF
34862 LD A,(23488) Load recursion depth counter into B...
34865 LD B,A ...
34866 POP AF Restore AF
34867 OR B If recursion depth counter is not zero (i.e. we are not at the end of the top-level string)...
34868 JR NZ,34879 ...then skip ahead to 34879
34870 DEC A Decrease recursion depth counter to 255, as we have reached the end of the top-level string...
34871 LD (23488),A ...
34874 LD A,255 Load A with 255 (end marker)
34876 JP 36602 Print word in temporary text buffer to screen, wrapping text if necessary, then jump to 34784 to return
34879 LD A,(23488) Decrease recursion depth counter...
34882 DEC A ...
34883 LD (23488),A ...
34886 RET Return
Prev: 34858 Up: Map Next: 34887