Hangable ceiling: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
mNo edit summary |
||
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]] |
Revision as of 03:57, 7 March 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:
- The Castle Grounds (The flat ceiling above the double doors and the undersides of the two bridges)
- Bob-omb Battlefield (The underside of the wooden bridge)
- Hazy Maze Cave (The red mesh maze above the A-Maze-ing Emergency Exit star)
- Shifting Sand Land (Gray meshes inside the pyramid)
- Bowser in the Fire Sea (The green mesh room above the pole)
- Tall, Tall Mountain (The vine bridge)
- Tiny-Huge Island (The underside of the floor of the Wiggler room)
- Wing Mario over the Rainbow (On the underside of the starting cloud; inaccessible)