Prev: 40390 Up: Map Next: 40447
40408: Store A Set Mark At The Pointer
Used by the routine at CharacterAction_InspectorLestradeHelper.
Marks this character's set state and prints the line once the status count has run out.
StoreSetMarkPointer 40408 CALL ProcessCharacterActionParameter Call ProcessCharacterActionParameter to run character action parameter, then call ProcessGameStatusEntries to run game status entries.
40411 LD (HL),1
40413 CALL ProcessGameStatusEntries
40416 CALL ProcessGameStatusEntriesAlternate Jump ahead to StoreSetMarkPointer_TestMarkByte if the count is not zero.
40419 LD A,B
40420 AND A
40421 JR NZ,StoreSetMarkPointer_TestMarkByte
40423 CALL ProcessGameStatusEntriesWithCounter Return if the count is zero.
40426 AND A
40427 RET Z
40428 PUSH IX Take the message, then call PrintTextAndHandleControlCharacters to print the message, keeping character record.
Print "[0B] ??? UNKNOWN WORD ??? WELL CAN YOU PROVe THAT [05] YET, HOLMES ?" [1E] [0B] ??? UNKNOWN WORD ??? WHAT" [1E] [0B] ??? UNKNOWN WORD ??? THAT MAY WELL BE, HOLMES, I WILL THINK ABOUT IT".
40430 LD HL,29229
40433 CALL PrintTextAndHandleControlCharacters
40436 RET Return.
Return if bit 4 of the action state is set.
StoreSetMarkPointer_TestMarkByte 40437 BIT 4,(IX+3) Return if the action state flag is set.
40441 RET NZ
40442 LD A,1 Jump ahead to PrintTextBasedOnFlag to print text based on flag.
40444 JP PrintTextBasedOnFlag
Prev: 40390 Up: Map Next: 40447