| Routines

63898: 'G' pressed - fire water pistol

The address of this routine is found in the table of keypress handling routines at 58704. It is called from the main loop at 63210 when 'G' is pressed.
63898 | LD A,(32747) | 32747 holds the inventory flags
63901 | AND 24 | Keep only bits 3 and 4 (the pistol bits)
63903 | RET Z | Return if ERIC hasn't got the water pistol
63904 | CALL 57935 | Give up now if buffer 214 is already being used
63907 | LD HL,63915 | The routine at 63915 will control the water fired from the pistol
63910 | LD A,14 | 14: animatory state of ERIC firing the water pistol
63912 | JP 57642 | Begin the pistol-firing action