Working through most of my issues I had in my other post, but wanting to fix this also.

I need my Z axis to raise before it retracts the Z probe,
I saw your post mentioning changing the code in Marlin_main.cpp
but for the life of me, I dont see what you are seeing to change. Your examples look identical to me.