User:EmbryoYall/Fun events

At the beginning of the game, a random number between 1 and 100 is chosen. This number, which in the game data is flag[5], is known as the "fun value," and different values can cause different events to occur. Most notably, the Gaster NPCs can only be encountered when the fun value is within a certain set of values. If the value is 1, 51-55, 58-60, 64, 67-79, or 90, no fun event will occur. This means that there is exactly a 24% chance no fun event will occur, and a 76% chance that one will.

Phone Calls
There are three different phone calls that the player will receive if the fun value is set anywhere from 2 to 50.

Wrong Number Song
If the fun value is from 2 to 39, the Asriel fight has not yet been completed, the player has not yet received the call, and if the plot value is less than 120 (the "saving Monster Kid cutscene" has not yet occurred), the player will receive a phone call in room_tundra_dock (70).