Prev: 61314 Up: Map Next: 61348
61330: Call Sub-Message
Used by the routine at PrintMessage.
Control code 31: read a new column and a sub-script id, then dispatch via SubMessageSelect.
CallSubMessage 61330 LD A,(HL) Set the column and left margin from the next script byte.
61331 LD (23543),A
61334 LD (23296),A
61337 INC HL
61338 LD A,(HL) Fetch the sub-script id and stash the script pointer.
61339 INC HL
61340 PUSH HL
61341 CALL SubMessageSelect Call SubMessageSelect and restore the script pointer.
61344 POP HL
61345 JP PrintMessage Jump to PrintMessage.
Prev: 61314 Up: Map Next: 61348