The scripting command MoveObj has the opcode (0x0B).
- Byte - The object number as given on the map.
- X-Coordinate (byte)
- Y-Coordinate (byte)
Moves the map object to the given coordinates. If no event exists at that position, it defaults to "Nothing Here".
This opcode is how chests move, and huts turn into fire. The X/Y coordinates can be made to be outside the map as well, to make it appear the object has disappeared.