Prev: 39429 Up: Map Next: 39485
39443: Action: Print The Sale Remark
Prints the sale remark when both character-state marks are set. Otherwise it clears the action marks and prints the other line.
Bit 1 of the state byte at 39245+41 is clear?
ActionPrintSaleRemark 39443 LD A,(39286) Jump to ActionPrintSaleRemark_ResetActionBits if bit 1 of the state byte at 39245+41 is clear.
39446 AND 2
39448 JR Z,ActionPrintSaleRemark_ResetActionBits
Bit 1 of the state byte at 39245+55 is clear?
39450 LD A,(39300) Jump to ActionPrintSaleRemark_ResetActionBits if bit 1 of the state byte at 39245+55 is clear.
39453 AND 2
39455 JR Z,ActionPrintSaleRemark_ResetActionBits
Mark action taken.
39457 CALL MarkActionTaken Call MarkActionTaken to mark the action taken.
39460 LD HL,39346 Set bit 1 of the character state at 39337+9 and take the message at 28058+767.
39463 SET 1,(HL)
39465 LD HL,28825
39468 JP PrintTextAndHandleControlCharacters Jump ahead to PrintTextAndHandleControlCharacters to print this message.
Clears bits 0 and 1 of the action flags and prints the token at 29285.
ActionPrintSaleRemark_ResetActionBits 39471 RES 1,(IX+3) Clear the action-taken flag and clear the action-pending flag.
39475 RES 0,(IX+3)
39479 LD HL,29285 Jump ahead to PrintTextAndHandleControlCharacters to print this message.
39482 JP PrintTextAndHandleControlCharacters
Prev: 39429 Up: Map Next: 39485