Prev: 29643 Up: Map Next: 29693
29681: Open the Science Lab storeroom door if ERIC has the key
Used by the routine at 28315. Opens the Science Lab storeroom door if ERIC is facing it, has the key, and is trying to move forwards.
Input
H 127
29681 LD L,235 HL=32747 (inventory flags)
29683 BIT 1,(HL) Has ERIC got the storeroom key?
29685 RET Z Return if not
29686 LD B,1 1=open (as opposed to 0=close)
29688 LD A,4 This is the Science Lab storeroom door identifier
29690 JP 28736 Open the storeroom door
Prev: 29643 Up: Map Next: 29693