![]() |
Routines |
| Prev: C435 | Up: Map | Next: C463 |
|
Used by the routine at UpdateBall.
Plays a tone with a pitch that depends on the type of an object.
|
||||||||
| PlayObjectSound | C455 | LD A,(IX+$00) | Work out the pitch of the tone from the type of the object and set the length of the tone to 06. | |||||
| C458 | CPL | |||||||
| C459 | RRCA | |||||||
| C45A | RRCA | |||||||
| C45B | RRCA | |||||||
| C45C | AND $E0 | |||||||
| C45E | LD B,A | |||||||
| C45F | LD C,$06 | |||||||
| C461 | JR PlayTone | Jump to PlayTone to play the tone. | ||||||
|
View the equivalent code in;
|
||||||||
| Prev: C435 | Up: Map | Next: C463 |