I had a similar question and yall helped. A further thing Im wondering is, how to pick the x,y in the varRoomLocation.
Like how do I get the player to be in the exact same position they were last in, in addition to the last room. Or even guarantee a safe position without having to design every room with a safe tile?