Dungeon Reuse System and Switches

I make a game with Dhobby's Dungeon Reuse System and actually made a dungeon which was built on 10 levels.

The script is similar to random dungeon generators and the system randomly chooses maps to make a dungeon.

Now I want to know how I can turn Switch A on when actors enter the 1st floor and turn Switch B on when actors enter the 2nd floor.

Does anybody know how to solve the problem?

Dungeon Reuse System http://forums.rpgmakerweb.com/index.php?/topic/2766-dungeon-reuse-system/
Why don't you use variables?

Like, you add 1 to some variable when you change floor, and then check is variable 1 or 2 instead of checking switches?
I really didn't notice that variable could solve the problem.

Thank you so much for your good advice!

Original thread: https://forums.rpgmakerweb.com/threads/dungeon-reuse-system-and-switches.49138/