![]() |
Routines |
| Prev: F986 | Up: Map | Next: F9AB |
| F99A | LD A,($7FEB) | 7FEB holds the inventory flags | ||
| F99D | AND $18 | Keep only bits 3 and 4 (the pistol bits) | ||
| F99F | RET Z | Return if ERIC hasn't got the water pistol | ||
| F9A0 | CALL $E24F | Give up now if buffer 0xD6 is already being used | ||
| F9A3 | LD HL,$F9AB | The routine at F9AB will control the water fired from the pistol | ||
| F9A6 | LD A,$0E | 0x0E: animatory state of ERIC firing the water pistol | ||
| F9A8 | JP $E12A | Begin the pistol-firing action | ||
| Prev: F986 | Up: Map | Next: F9AB |