you see , she snuck out of her kennel , and then , navigating through the maze of ventilation tunnels in the castle , made her way down into the sub-basement and used magic to assist both max and jennie , bringing them to their forms of reason , so that they could enter into the fray of battle and help to defeat the enemy .