The Flying Cap is in Super Mario 64.
The Wing Cap can be unlocked if the player has 10 power stars. It doesn't matter what level the Power Stars were acquired at. The main hall of Peach's Castle is where you get 10 Power Stars. Oct 19, 2020 is when it will be.