Hi and welcome to the GMC!
Yes, there is.
As the answer on your previous topic explained to you,
you can use global variables to keep track of values when switching rooms.
Global variables are variables that are shared by all instances, objects and rooms.
You use a global variable by putting "global." in front of the name of the variable, like so:
global.myvar will now be 5 everywhere, in every room.
To spawn at the same height in a different room, you would store the y coordinate of the player in a global variable
and restore it in the other room.
For a more specific example of how to do this,
I would like to ask how the holes are positioned in the room (at the very edge of the room? always horizontally? always at the same height?)
and what the sizes of the rooms are (always the same height?).