Prev: 40341 Up: Map Next: 40408
40390: Print The Surprised Remark Once
Used by the routine at CharacterAction_InspectorLestradeHelper.
Prints the character-busy line while the counter still has a count, and prints the surprised remark the first time the counter runs out.
PrintSurprisedRemarkOnce 40390 INC HL Step to the next character, then call ProcessCharacterActionParameter to run character action parameter.
40391 CALL ProcessCharacterActionParameter
40394 DEC HL Jump back to ProcessCharacterActionWithText_0 while this byte is not zero.
40395 LD A,(HL)
40396 AND A
40397 JP NZ,ProcessCharacterActionWithText_0
40400 INC A Jump ahead to PrintTextAndHandleControlCharacters to print this message.
40401 LD (HL),A
40402 LD HL,29165
40405 JP PrintTextAndHandleControlCharacters
Prev: 40341 Up: Map Next: 40408