![]() |
Routines |
| Prev: B95E | Up: Map | Next: B985 |
|
Type 0F: the flash of the outlaw's gun when he fires. It grows for four frames, using sprites 07 to 0A, and then makes a bullet hole.
|
||||
| HandleMuzzleFlash | B972 | LD A,(IX+$0C) | Fetch the frame. | |
| B975 | CP $04 | Jump to MakeBulletHole if the flash is over. | ||
| B977 | JR Z,MakeBulletHole | |||
| B979 | INC A | Move on to the next frame. | ||
| B97A | LD (IX+$0C),A | Store the frame. | ||
| B97D | ADD A,$06 | Add six to give the number of the sprite. | ||
| B97F | LD ($B970),A | Store it in the sprite list. | ||
| B982 | JP DrawObject | Jump to DrawObject. | ||
| Prev: B95E | Up: Map | Next: B985 |