I have checked the script, there are some minor errors. After I fixed it , I found the major error. It is all messed up, lots of things are pointing on the wrong direction like the dungeon options goes to the access maps when you unlocked them.. You better read through the whole script and revise it.