There's a lot of ways to approach this actually.
One creative way is to perhaps make a 2D array for the rooms and such, where a 1 means that the player is in the room and a 0 means the player isn't.
There could be 2 global variables to track down the player's X and Y position which corresponds to the room they're in. If the player clicks a certain direction, it changes the value of their X or Y coordinate variable, and then sets the corresponding (x,y) value in the array to be 1 while setting the other rooms back to 0.
Then, you can perhaps add some events that make it so when the value at a given position is 1, it puts the player into a layout with the same name as the given coordinates. [Go to layout name str(xvalue) & str(yvalue)]
Of course, there's probably easier ways you can accomplish this (especially if it's only a few pictures!) but I figure this will likely work for your use case. Just experiment around with arrays really, lol