The scripting command ExchObj has the opcode (0x33).
- Byte - The first object number as given on the map.
- Byte - The second object number as given on the map.
Exchanges two objects on the map.
This is effectively the same as two MoveObj opcodes: move first object to second objects location, and then second object to the first objects original location. Uses include exchanging a closed barrel with an open barrel, or turning a tent into a fire.