What do the day/night panels do in Kirby’s Dream Course?

Some of the 2-player stages in Kirby’s Dream Course have a sun/moon panel. Hitting it switched the stage from day to night, but didn’t seem to have any effect on gameplay.

What does hitting the day/night panel do?


Solution 1:

According to this guide, hitting the panel will swap your and your opponent's star points for that level.