SheNaNigans

From Ukikipedia
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

SheNaNigans are a category of glitches that occur due to Mario's position being NaN.

Obtaining a NaN position

Due to the nature of floats and the N64 hardware, there is no currently known way for Mario to reach a position of NaN on an N64 due to the console crashing from a floating point exception long before obtaining this value, but it has been done on emulators.

The basic idea is to first reach INF or -INF speed, and then have a joystick position that will multiply that speed by a zero value[citation needed]. A multiplication between 0 and -INF will return the value NaN. This has been achieved previously using the elevator Big Boo's Haunt.

Object Interaction

Whenever Mario's position is NaN in any given axis, the game will make Mario interact with all objects on the plane of that axis. This is because the game return "true" by default when evaluating object collision, and a NAN value will always make any comparison return "false"[1]. This can be used to collect coins, stars or interact with any constantly loaded object.



References