From Zelda Legends Wiki
The boss of level 1, the Spirit's Grave, Pumpkin Head guards the Eternal Spirit, an Essence of Time. He has a carved pumpkin as a head. Defeat him by attacking with your sword, then picking up his head and throwing it. Then attack the ghost with your sword.