Prev: 7F1A Up: Map Next: 7F77
7F60: Throw away any orders waiting for character A
Used by the routines at TAKE_ORDER and KILL.
KILL does this, so that the dead do not act on what they were told.
CANCEL_ORDERS 7F60 PUSH HL
7F61 PUSH DE
7F62 PUSH BC
7F63 LD HL,ORDERS
7F66 LD DE,$0019
7F69 LD B,$08
CANCEL_ORDERS_0 7F6B CP (HL)
7F6C JR NZ,CANCEL_ORDERS_1
7F6E LD (HL),$00
CANCEL_ORDERS_1 7F70 ADD HL,DE
7F71 DJNZ CANCEL_ORDERS_0
7F73 POP BC
7F74 POP DE
7F75 POP HL
7F76 RET
Prev: 7F1A Up: Map Next: 7F77