Prev: 48096 Up: Map Next: 48142
48133: Script routine: (04) If current character and target entity are in the same room then set pending sound
Used by the routine at 48096.
Input
HL Current address in script data
IX Address of complex state data for an entity
48133 INC HL Advance HL to parameter (sound index)...
48134 INC HL ...
48135 LD A,(HL) Load A with sound index
48136 CALL 59601 If current character is in same room as target entity at IX then set pending sound to A
48139 JP 48096 Advance HL to next script instruction and execute
Prev: 48096 Up: Map Next: 48142