Prev: B8C3 Up: Map Next: B8D4
B8C9: Sounds: Pickup Item
Used by the routine at 8C71.
SoundsPickupItem B8C9 LD D,$40 D=40 (duration).
B8CB LD C,$30 C=30 (pitch).
This entry point is used by the routines at A880, B460, B8BD, B8C3 and B8D4.
SquareWave_Loop B8CD CALL PlaySquareWave Call PlaySquareWave.
B8D0 DEC D Decrease duration by one and loop back to SquareWave_Loop until duration is zero.
B8D1 JR NZ,SquareWave_Loop
B8D3 RET Return.
View the equivalent code in;
Prev: B8C3 Up: Map Next: B8D4