![]() |
Routines |
| Prev: 72CF | Up: Map | Next: 7303 |
|
Used by the routine at LaunchShot.
Plays noise that is used when a shot starts. The noise is different if bit 7 of offset 16 of the object is set.
|
||||||||
| PlayShotSound | 72F2 | LD C,$0F | A normal shot is 0F clicks. | |||||
| 72F4 | LD E,$17 | It uses pattern 17. | ||||||
| 72F6 | BIT 7,(IX+$16) | Jump to PlayNoise if bit 7 of offset 16 of IX is clear. | ||||||
| 72FA | JP Z,PlayNoise | |||||||
| 72FD | LD C,E | The other shot uses the pattern as its length. | ||||||
| 72FE | LD E,$20 | And pattern 20. | ||||||
| 7300 | JP PlayNoise | Jump to PlayNoise. | ||||||
| Prev: 72CF | Up: Map | Next: 7303 |