Interaction type: Difference between revisions

no edit summary
(Added Door, Coin and Water Ring)
No edit summary
Line 102: Line 102:
===Text===
===Text===
===Tornado===
===Tornado===
This interaction is used for the tornadoes in Shifting Sand Land. When the interaction occurs, the game checks to see if Mario is in the tornado twirling action or is squished. If Mario is not in either of this states, Mario stops riding anything or holding anything if he is doing either of those things, his forward velocity is set to 0, a sound effect plays and Mario’s action is set to the tornado twirling action.
===Whirlpool===
===Whirlpool===
This interaction is used for the Whirlpool in Dire, Dire Docks. When the interaction occurs, the game checks if Mario is already in the caught in whirlpool action. If Mario is not, Mario stops riding any object or holding any object if he is doing either of those things. Then, Mario’s forward velocity is set to 0, a sound effect plays, and Mario’s action is set to the caught in whirlpool action.
===Clam/Bubba===
===Clam/Bubba===
===BBH Entrance===
===BBH Entrance===
===Snufit Bullet===
===Snufit Bullet===
===Shocks===
===Shocks===
===Igloo Barrier===
===Igloo Barrier===
This interaction is used for the Igloo Barrier object in Snowman’s Land. When the interaction occurs, the game runs a function that pushes Mario away from the object. Unusually, this interaction sets Mario’s usedObj attribute without updating his action, unlike every other interaction in the game. This has the potential to cause several glitches, but these cannot be performed in regular circumstances since the Igloo Barrier is the only object to use this interaction.