![]() |
Routines |
| Prev: 29391 | Up: Map | Next: 29443 |
|
Used by the routine at LaunchShot.
Plays noise that is used when a shot starts. The noise is different if bit 7 of offset 22 of the object is set.
|
||||||||
| PlayShotSound | 29426 | LD C,15 | A normal shot is 15 clicks. | |||||
| 29428 | LD E,23 | It uses pattern 23. | ||||||
| 29430 | BIT 7,(IX+22) | Jump to PlayNoise if bit 7 of offset 22 of IX is clear. | ||||||
| 29434 | JP Z,PlayNoise | |||||||
| 29437 | LD C,E | The other shot uses the pattern as its length. | ||||||
| 29438 | LD E,32 | And pattern 32. | ||||||
| 29440 | JP PlayNoise | Jump to PlayNoise. | ||||||
| Prev: 29391 | Up: Map | Next: 29443 |