Crash
A Crash, Freeze, or Hardlock is what happens when Super Mario 64's code encounters an error, such as a division-by-zero, that causes the game to stop running and rendering frames. The audio may still play. This is in contrast to a softlock, where the game does still run but is stuck in an indefinite state or a loop where no controller input can change it.
Ways to crash the game
- Exceed the object limit
- Have too many objects at once on the screen
- Send the camera into a PU
- Bully Knockback dividing-by-zero
- Failed Bully/Bob-omb angle double-to-short conversion
- Spawning a 100 coin star in a PU
- This is caused by the star spawning movement routine requires all of its coordinates to be within -12000,12000 and refuses to move if not. The same check applies to a variety of objects including particles, fish, birds, certain moving platforms, Dorrie, etc.