Back to Skool Routines
63898: 'G' pressed - fire water pistol
The address of this routine is found in the keypress table at 58624.
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