Board Thread:General Discussion/@comment-27618057-20160426101344

I understand that the fun value is a value randomly set that triggers some certain events. My question is: when is it set? Is it set when starting a new game or when first buying undertale?  