Hangable ceiling: Difference between revisions

From Ukikipedia
Jump to navigation Jump to search
No edit summary
m (MMMMMMMMMMMMM moved page Hangable Ceiling to Hangable ceiling: Sentence casify the wiki)
 
(2 intermediate revisions by 2 users not shown)
Line 2: Line 2:


* Mario is not hitting out-of-bounds
* Mario is not hitting out-of-bounds
* Mario has not landed onto a floor
* Mario is not landing on a floor
* Mario is hitting a ceiling
* Mario is hitting a ceiling
* Mario is moving upwards
* Mario is moving upwards
Line 9: Line 9:


Notice that if Mario hits a ceiling from the side, and a ceiling far above him is hangable, the game will consider him to be hanging on the high ceiling and will then move him there. This is the cause of the [[Hangable Ceiling Upwarp]].
Notice that if Mario hits a ceiling from the side, and a ceiling far above him is hangable, the game will consider him to be hanging on the high ceiling and will then move him there. This is the cause of the [[Hangable Ceiling Upwarp]].
Being pushed off of a hangable ceiling while idling will cause the game to crash due to a null pointer exception.


==Locations==
==Locations==
Line 27: Line 29:


[https://github.com/n64decomp/sm64/blob/06ec56df7f951f88da05f468cdcacecba496145a/src/game/mario_step.c#L446 Code]
[https://github.com/n64decomp/sm64/blob/06ec56df7f951f88da05f468cdcacecba496145a/src/game/mario_step.c#L446 Code]
[https://www.youtube.com/watch?v=_FPQHW3Zeg0 "Null Ceiling-Triangle Game Freeze" by Pannenkoek2012]


[[Category:Mechanics]]
[[Category:Mechanics]]

Latest revision as of 01:37, 11 May 2021

A Hangable Ceiling is a ceiling Mario can hang on. Any ceiling with the hangable surface type is hangable. Mario will grab onto a ceiling if all of the following conditions are satisfied:

  • Mario is not hitting out-of-bounds
  • Mario is not landing on a floor
  • Mario is hitting a ceiling
  • Mario is moving upwards
  • Mario is single jumping or double jumping
  • The first ceiling above Mario is hangable

Notice that if Mario hits a ceiling from the side, and a ceiling far above him is hangable, the game will consider him to be hanging on the high ceiling and will then move him there. This is the cause of the Hangable Ceiling Upwarp.

Being pushed off of a hangable ceiling while idling will cause the game to crash due to a null pointer exception.

Locations

The following courses have hangable ceilings:

References

"All Hangable Ceilings" by Pannenkoek2012

Code

"Null Ceiling-Triangle Game Freeze" by Pannenkoek2012