
# If this script (exit.scr) is present in filesystem 0
# it will be executed when the user presses ESC.

 # Flash palette
 xxx xxx  InitFADE          -  pal/white.pal  20  0 255
 xxx xxx  WaitFrames        20

 # Fade out palette and volume
 xxx xxx  InitVolFADE       70  -1 0
 xxx xxx  InitFADE          -  pal/black.pal  70  0 255
 xxx xxx  WaitFrames        70

 xxx xxx  StopModule        0
 xxx xxx  FreeModule        0

 # Back to text mode
 xxx xxx  SetScreenMode     3
 xxx xxx  WaitFrames        70
 xxx xxx  Text Do you smell something burning?
