999 Timer
This works in all versions, as well as the SNES version of Super Mario Bros.. In any castle level, if an axe is touched while the timer is at 0, it will loop to 999 and award the player 50,000 points. However in the non-castle levels, if a flagpole is touched while the timer is at 0, no points are awarded at all.