Prev: EC0F Up: Map Next: EC2B
EC1D: Handler: Is A Given Task Completed
Used by the routines at DrawRoom, DrawCharacterItemLabel, EDB3, F177 and F5F1.
Input
A Task ID
Handler_TaskCompleted EC1D PUSH HL Stash HL and DE on the stack.
EC1E PUSH DE
EC1F LD E,A Create an offset in DE.
EC20 LD D,$00
EC22 LD HL,$EC0F HL=Flag_Bottle_Full+DE.
EC25 ADD HL,DE
EC26 LD A,(HL) A=*HL.
EC27 POP DE Restore DE and HL from the stack.
EC28 POP HL
EC29 OR A Set flags.
EC2A RET Return.
Prev: EC0F Up: Map Next: EC2B