Difference between revisions of "SCUMM/V5 opcodes"

Jump to navigation Jump to search
34 bytes added ,  02:34, 19 April 2009
m
→‎resourceRoutines ($0C): clearHeap doesn't take an argument
m (→‎stopObjectCode ($00): stopObjectCode opcode is $A0)
m (→‎resourceRoutines ($0C): clearHeap doesn't take an argument)
Line 1,091: Line 1,091:
sub-opcodes:
sub-opcodes:
  $01 resID[p8]
  $01 resID[p8]
  ... $01 through $13 take the same arguments ...
  ... $01 through $10 take the same arguments ...
$10 resID[p8]
$11
$12 resID[p8]
  $13 resID[p8]
  $13 resID[p8]
  $14 room[p8] object[p16]
  $14 room[p8] object[p16]
Line 1,159: Line 1,162:
|$25||Sound Pitch||Sets the pitch of a sound resource. Used in Indy3 and Zak. Takes 1 byte (pitch = "foo" - "center" semitones. Center is at $32 in the sound resource.)
|$25||Sound Pitch||Sets the pitch of a sound resource. Used in Indy3 and Zak. Takes 1 byte (pitch = "foo" - "center" semitones. Center is at $32 in the sound resource.)
|}
|}


==roomOps ($33)==
==roomOps ($33)==
125

edits

Navigation menu