Tip: When determining a time limit, remember that players won't be as familiar with the level as you are. If you normally complete the level with the timer around 100, others might run out of time on their first try.
Tested with: UberASMTool 1.4, LM 3.10, SA-1 1.32, Snes9x 1.60.
This version fixes an oversight in the original code that, among other things, caused Mario to jump even when just holding down the jump buttons.
(I think this could also be fixed just by changing the STA $0DAx to TSB $0DAx, but since how you did it also adds the option to filter out held buttons, I guess it could be useful).