If/else restore function

hey - i’ve searched, but unable to find the answer to a what I believe is a pretty simple question.

I need to restore a function if a statement is untrue:

if (_root.main.set6 == 100) {
		this.onMouseMove = null();
	} else {
		_restore.onMouseMove();
	}

basically I need the onMouseMove to work again if the statement is untrue cancelling out the “null();”. apparently “_restore” is not a flash command…

anyone know?
thanks