This UberASM will fade the brightness in the level in and out. There's two different modes available:
- Constant fading in/out based on a timer.
- Fade based on a certain switch. This can also be of two types: lights go back to bright when hitting a switch, but fade immediately to dark; or they only fade to dark when the switch goes off. Possible switches are: ON/OFF, blue POW, silver POW, red ? block.
In the file you can customize some parameters: how bright/dark the lights go and how long the fade will take. It uses 7 bytes of freeram, and uses HDMA channel 3 by default.