Revert "[DF-4642] Add enum to introspection. Minor fix in SpriteObject."

This reverts commit bee14c4f354cb31354dfe27edf5b31bbbd597f67.