Explanation:
The occipetal lobe of brain is associated with the sense of vision. Any damage or activation of occipetal neurons will lead to disturbed visual effects.
Sometimes severe injury to this part may lead to vision loss or permanent blindness.
So we can conclude that Pavia started seeing stars and flashes of light as a result of activation of cells in the occipetal lobe.