![]() |
Routines |
23863 | LD A,(32747) | 32747 holds the inventory flags |
23866 | AND 24 | Has ERIC got the water pistol (bit 3 or 4 set)? |
23868 | RET Z | Return if not |
23869 | LD A,39 | 39: animatory state of ERIC bending over |
23871 | LD HL,23877 | Place address 23877 into 32727 to take care of ERIC from this point on, and update SRB for ERIC's new animatory state |
23874 | JP 57642 |
23877 | LD HL,32747 | Lose bits 3 and 4 of the inventory flags at 32747, thus dropping the water pistol |
23880 | LD A,(HL) | |
23881 | AND 231 | |
23883 | LD (HL),A | |
23884 | JP 31746 | Print the inventory |