![]() |
Routines |
| Prev: 80D2 | Up: Map | Next: 814B |
|
Used by the routine at UPDATE_KNIGHT.
The knight's fire routine, called from UPDATE_KNIGHT. The same three tests and FIRE_WEAPON as the other two, with SOUND_SWEEP_A41B for its noise and sprite $40 for the axe.
|
||||
| KNIGHT_FIRE | 8134 | LD A,($EA98) | ||
| 8137 | AND A | |||
| 8138 | RET NZ | |||
| 8139 | LD A,($5E2D) | |||
| 813C | AND A | |||
| 813D | RET NZ | |||
| 813E | CALL SOUND_SWEEP_A41B | |||
| 8141 | CALL FIRE_WEAPON | |||
| 8144 | LD HL,$EA98 | |||
| 8147 | LD (HL),$40 | |||
| 8149 | JR LAUNCH_SHOT | |||
| Prev: 80D2 | Up: Map | Next: 814B |