![]() |
Routines |
| Prev: 50229 | Up: Map | Next: 50275 |
|
Used by the routine at UpdateBall.
Plays a tone with a pitch that depends on the type of an object.
|
||||||||
| PlayObjectSound | 50261 | LD A,(IX+0) | Work out the pitch of the tone from the type of the object and set the length of the tone to 6. | |||||
| 50264 | CPL | |||||||
| 50265 | RRCA | |||||||
| 50266 | RRCA | |||||||
| 50267 | RRCA | |||||||
| 50268 | AND 224 | |||||||
| 50270 | LD B,A | |||||||
| 50271 | LD C,6 | |||||||
| 50273 | JR PlayTone | Jump to PlayTone to play the tone. | ||||||
|
View the equivalent code in;
|
||||||||
| Prev: 50229 | Up: Map | Next: 50275 |