![]() |
Routines |
| Prev: 47454 | Up: Map | Next: 47493 |
|
Type 15: the flash of the outlaw's gun when he fires. It grows for four frames, using sprites 7 to 10, and then makes a bullet hole.
|
||||
| HandleMuzzleFlash | 47474 | LD A,(IX+12) | Fetch the frame. | |
| 47477 | CP 4 | Jump to MakeBulletHole if the flash is over. | ||
| 47479 | JR Z,MakeBulletHole | |||
| 47481 | INC A | Move on to the next frame. | ||
| 47482 | LD (IX+12),A | Store the frame. | ||
| 47485 | ADD A,6 | Add six to give the number of the sprite. | ||
| 47487 | LD (47472),A | Store it in the sprite list. | ||
| 47490 | JP DrawObject | Jump to DrawObject. | ||
| Prev: 47454 | Up: Map | Next: 47493 |