| ← B883 | Map | B8A7 → |
B898: Sound effect: ball-bat bounce
|
The sound when a ball reflects off the bat.
|
||||
|
|
||||
| sfx_ball_bounce | B898 | PUSH DE | Preserve the caller's BC and DE. | |
| B899 | PUSH BC | |||
| B89A | LD D,$64 | Fixed period and burst length | ||
| B89C | LD C,$07 | |||
| sfx_ball_bounce_0 | B89E | CALL sound_blip | Emit the burst at the one period. | |
| B8A1 | DEC C | |||
| B8A2 | JR NZ,sfx_ball_bounce_0 | |||
| B8A4 | POP BC | Hand the caller's registers back. | ||
| B8A5 | POP DE | |||
| B8A6 | RET | |||
| ← B883 | Map | B8A7 → |
