Prev: 47755 Up: Map Next: 47818
47793: Start Outlaw Drawing
Used by the routine at HandleWaitingOutlaw.
Called when the outlaw has finished moving about. He is turned into an outlaw who is drawing (type 13), and "DRAW!!" is printed in red if it is not yet on the screen.
Input
IX The address of the outlaw
StartOutlawDrawing 47793 LD (IX+0),13 Turn the outlaw into one who is drawing.
47797 LD HL,41489 Point HL at DrawMessageState.
47800 LD A,(HL) Fetch the flag.
47801 AND A Jump to StartOutlawDrawing_CheckHit if the draw message has been printed.
47802 JR NZ,StartOutlawDrawing_CheckHit
47804 LD (HL),2 Set the flag to two.
Print the "DRAW!!" message.
47806 LD HL,20526 Point HL at 20526 (in the screen buffer).
47809 LD DE,47818 Point DE at DrawMessages.
47812 CALL PrintLargeText Print the message.
StartOutlawDrawing_CheckHit 47815 JP HandleWaitingOutlaw_CheckHit Jump to check whether he has been hit.
Prev: 47755 Up: Map Next: 47818