Prev: 49271 Up: Map Next: 49336
49323: Sounds: Play Selected Sound
Used by the routine at Sounds_PlayQueue.
Sounds_PlaySound 49323 LD HL,49369 HL=49369.
Create an offset in DE.
49326 ADD A,A E=A*2.
49327 LD E,A
49328 LD D,0 D=0.
49330 ADD HL,DE HL+=DE.
49331 LD E,(HL) E=*HL.
49332 INC HL Increment HL by one.
49333 LD D,(HL) D=*HL.
49334 EX DE,HL Exchange the DE register with the shadow HL register.
49335 JP (HL) Jump to the address held in *HL.
Prev: 49271 Up: Map Next: 49336