Prev: BA8B Up: Map Next: BACA
BAB1: 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 0D), and "DRAW!!" is printed in red if it is not yet on the screen.
Input
IX The address of the outlaw
StartOutlawDrawing BAB1 LD (IX+$00),$0D Turn the outlaw into one who is drawing.
BAB5 LD HL,$A211 Point HL at DrawMessageState.
BAB8 LD A,(HL) Fetch the flag.
BAB9 AND A Jump to StartOutlawDrawing_CheckHit if the draw message has been printed.
BABA JR NZ,StartOutlawDrawing_CheckHit
BABC LD (HL),$02 Set the flag to two.
Print the "DRAW!!" message.
BABE LD HL,$502E Point HL at 502E (in the screen buffer).
BAC1 LD DE,$BACA Point DE at DrawMessages.
BAC4 CALL PrintLargeText Print the message.
StartOutlawDrawing_CheckHit BAC7 JP HandleWaitingOutlaw_CheckHit Jump to check whether he has been hit.
Prev: BA8B Up: Map Next: BACA