Sorry, I'm not quite understanding where I need to put the page break.
I have a scene that sends you to one of several different scenes. The random variable is part of that first scene. If people clicked to the stat screen and back during the first scene, they wouldn't have seen which scene was supposed to follow it, so it wouldn't matter whether it got set to something else.
The different scenes, which are what get changed around from going to stats and back, do not have any random variable creation. At that point the variable pointing to the room is still set, but it isn't used for anything. Why should changing that variable affect anything, when you haven't been back to the scene where it sends you different places depending on that?
This is the relevant code from my disambiguation scene:
#Choose a room.
#(Some other choices leading to non-random scenes)
*rand room 1 10
*if ((room=1) and not (room_1_explored))
*if ((room=1) and (room_1_explored))
There are then nine more pairs of these for rooms 2-10. The "explored true" variable gets set in each individual scene. The rooms just send you back to the beginning of that first scene with a goto_scene (scene_name) at the end of each.
@FairyGodFeather Thanks for the information, but I really want to do it this way. The choices come into play in different ways.