Hangable ceiling: Difference between revisions

From Ukikipedia
Jump to navigation Jump to search
(Completely rewrote article)
No edit summary
Line 1: Line 1:
Hangable ceilings are a type of ceiling onto which Mario can hang and move around. These ceilings are those consisting of surfaces using surface type 5, SURFACE_HANGABLE. When the game performs an air movement quarter step, if Mario's next Y-position is within 160 units of a ceiling, his vertical speed is positive, his current action has the "CHECK_HANG" argument, the referenced ceiling is not null and the referenced ceiling is hangable, Mario begins hanging onto the ceiling. Since only [[Single Jump]] and [[Double Jump]] have the "CHECK_HANG" argument, Mario will only grab the ceiling if he is in one of those two actions. As long as the A-Button is held and Mario's referenced ceiling is hangable, Mario will hang on the ceiling and can move around. If the A-Button stops being held, or if Mario's referenced ceiling is not hangable, Mario goes into freefall. If the Z-Button is pressed, Mario does a ground pound.
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 has not landed onto 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]].


==Locations==
==Locations==
Line 5: Line 14:
The following courses have hangable ceilings:
The following courses have hangable ceilings:


* [[Tiny-Huge Island]] (in the [[Red Coin]] area)
* [[The Castle]] Grounds (The flat ceiling above the double doors and the undersides of the two bridges)
* [[Bowser in the Fire Sea]]
* [[Bob-omb Battlefield]] (The underside of the wooden bridge)
* [[Bob-omb Battlefield]]
* [[Hazy Maze Cave]] (The red mesh maze above the [[A-Maze-ing Emergency Exit]] star)
* [[Shifting Sand Land]] (inside the pyramid)
* [[Shifting Sand Land]] (Gray meshes inside the pyramid)
* [[The Castle]] (Castle Grounds)
* [[Bowser in the Fire Sea]] (The green mesh room above the pole)
* [[Hazy Maze Cave]]
* [[Tall, Tall Mountain]] (The vine bridge)
* [[Wing Mario over the Rainbow]] (Inaccessible)
* [[Tiny-Huge Island]] (The underside of the floor of the Wiggler room)
* [[Tall, Tall Mountain]]
* [[Wing Mario over the Rainbow]] (On the underside of the starting cloud; inaccessible)


==References==
==References==

Revision as of 04:16, 25 March 2020

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 has not landed onto 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.

Locations

The following courses have hangable ceilings:

References

"All Hangable Ceilings" by Pannenkoek2012

Code