var mc:Array = [new room1(),new room1(),new room2(),new room1()] thought_bot_room = mc[Math.floor( Math.random() * mc.length )]