Prev: 47299 Up: Map Next: 47316
47305: Sounds: Pickup Item
Used by the routine at 35953.
SoundsPickupItem 47305 LD D,64 D=64 (duration).
47307 LD C,48 C=48 (pitch).
This entry point is used by the routines at 45885, 46176, 47293, 47299 and 47316.
SquareWave_Loop 47309 CALL PlaySquareWave Call PlaySquareWave.
47312 DEC D Decrease duration by one and loop back to SquareWave_Loop until duration is zero.
47313 JR NZ,SquareWave_Loop
47315 RET Return.
View the equivalent code in;
Prev: 47299 Up: Map Next: 47316