Timebeforeexit
timebeforeexit is a non-zero count-down timer. At 26*5, all sounds are stopped and the customexitsound is played if it is > 0. If customexitsound, quote 102 is displayed.
At one, all players are set to end of level mode (.gm) (MODE_EOL) and the next level number is set...