Prev: 34821 Up: Map Next: 34854
34842: Advance HL to B-th entry in list of zero-terminated strings (e.g. object names table)
Used by the routines at 30222, 31370, 34864 and 34914.
Input
B Index of required text string
Output
HL Points to string of index B (input)
34842 LD HL,41236 Point HL at start of object names table
This entry point is used by the routines at 31370, 32655, 33663, 34106, 34854 and 34859.
34845 LD A,B Load string index into A
34846 OR A Return if index is zero...
34847 RET Z ...
34848 CALL 36703 Advance HL to start of next zero-terminated string
34851 DJNZ 34848 Decrease B and repeat loop
34853 RET Return
Prev: 34821 Up: Map Next: 34854