Prev: 60431 Up: Map Next: 60459
60445: Handler: Is A Given Task Completed
Used by the routines at DrawRoom, DrawCharacterItemLabel, 60851, 61815 and 62961.
Input
A Task ID
Handler_TaskCompleted 60445 PUSH HL Stash HL and DE on the stack.
60446 PUSH DE
60447 LD E,A Create an offset in DE.
60448 LD D,0
60450 LD HL,60431 HL=Flag_Bottle_Full+DE.
60453 ADD HL,DE
60454 LD A,(HL) A=*HL.
60455 POP DE Restore DE and HL from the stack.
60456 POP HL
60457 OR A Set flags.
60458 RET Return.
Prev: 60431 Up: Map Next: 60459