During the War Pearl didn't have her spear. In Sworn to the Sword and in The Answer she is shown using swords as her weapon. I assume she figured out how to summon a spear much later.