c $BAFB MPRINT prints a message whose value is in A C $BAFB preserve HL, DE, BC C $BAFE set HL to value in A (message number) C $BB01 set offset by multiplying HL by four (because each entry in message table 1 is four bytes) C $BB03 point DE at game messages table 1 (contains message address, length) C $BB06 add DE to HL to offset into the table for the required message C $BB07 load DE with address of message C $BB0B load C with message length C $BB0C exchange register pairs DE and HL C $BB0D copy C into E as loop counter for routine at $BAEE C $BB0E restore BC C $BB0F call routine at $BAEE (prints character pointed at by HL; E is a loop counter) C $BB12 restore DE and HL C $BB14 return to caller