Oh ok, so you're completing all the rooms cuz the final boss didnt let you to the machine and cuz of this you start from beginning, but you return with new power and then, he sacrificed himself to destroy that place.
Okay thanks