I'm working on a proc gen using pre built rooms. What I have are 3 arrays. Array 01, arraybit, arrayrooms. I use array01 to build rooms using 0s and 1s. Then I use arraybit to give each room a value depending on neighboring rooms. Then I use arrayrooms to place the appropriate layout.
One thing I noticed I did wrong was I was adding bit value to a value that is already 1. I need to add it to a value in bitarray, not array01 like I have it. I will see if this works tonight when I get home.