The unlock room issue sounded like a conditional issue forcing the code to always remain default.