UseFieldObject(xOD,x00)

Changes the state of a static object on the map.

OD = Object ID.

ID of static object to effect.  Not every map has static objects to affect, so which IDs go with which objects will require experimentation.