Global 100 Coin Star Script
This easily editable script allows the 100 coin star to spawn in any level that isn't one of the 15 main courses. It was used in my Ultra Mario 64 port to make it spawn in the cap levels, then I thought this could be a very useful resource so now I am releasing it as a separate script.
In it you'll find a list of all the non main levels the star can spawn into, just add/remove them as you see fit. Plus the required amount of coins to spawn can be edited to be anything you want. Enjoy!
(Special Thanks to Jay/bluelightzero and xLuigiGamerx for helping me figure this out)