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.
- Doesn't use a dedicated HDMA channel anymore (smh).
- Uses 2 bytes of freeram instead of 7.
- Smaller code.