Eaten By Bubba: Difference between revisions

not sure
(add intangible note)
(not sure)
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Action_infobox
{{Action_infobox
|title= Eaten by [[Bubba]]
|title= Eaten by [[Bubba]]
Line 8: Line 7:
|group= Cutscene
|group= Cutscene
|id= 0x117
|id= 0x117
|into= [[Quicksand Death]] (theoretically), [[Uninitialized]] (death warp)
|into= [[Quicksand Death]] (theoretically), [[Uninitialized]] (death warp) (or is it [[Disappeared]]?)
|out of= Theoretically almost any action, but probably some kind of underwater action.
|out of= Theoretically almost any action, but probably some kind of underwater action.
|animation= A_POSE
|animation= A_POSE
Line 23: Line 22:
if Mario's floor type is <code>SURFACE_INSTANT_QUICKSAND</code> and <span style="color:green;">Mario's action has the <code>INVULNERABLE</code> flag</span> and <span style="color:green;">Mario's action is not [[Quicksand Death]]</span>, the action is cancelled to [[Quicksand Death]].
if Mario's floor type is <code>SURFACE_INSTANT_QUICKSAND</code> and <span style="color:green;">Mario's action has the <code>INVULNERABLE</code> flag</span> and <span style="color:green;">Mario's action is not [[Quicksand Death]]</span>, the action is cancelled to [[Quicksand Death]].


Needless to say this cannot happen in vanilla SM64 because Bubba is not near quicksand.
Needless to say this cannot happen in vanilla SM64 because Bubba is not in a level with quicksand.
== Behavior ==
== Behavior ==
The <code>act_eaten_by_bubba</code> function does the following: <ref>https://github.com/n64decomp/sm64/blob/66018e9f3caaa67399218971d61366cb3f7ba7d7/src/game/mario_actions_cutscene.c#L751</ref>
The <code>act_eaten_by_bubba</code> function does the following: <ref>https://github.com/n64decomp/sm64/blob/66018e9f3caaa67399218971d61366cb3f7ba7d7/src/game/mario_actions_cutscene.c#L751</ref>
Line 31: Line 30:
* Set Mario's [[health]] to <code>0xFF</code> (makes Mario die)
* Set Mario's [[health]] to <code>0xFF</code> (makes Mario die)
* If the <code>actionTimer</code> is 60, <code>level_trigger_warp(m, WARP_OP_DEATH)</code> (basically black screen and bowser laugh and warp)
* If the <code>actionTimer</code> is 60, <code>level_trigger_warp(m, WARP_OP_DEATH)</code> (basically black screen and bowser laugh and warp)
The function returns <code>false</code> in all cases, exiting the action loop. Basically it cannot be cancelled into any other action, except for the quicksand possibility mentioned earlier. Note that Mario can't escape from this action by interacting with an object either, since this action has the "intangible" flag. (See https://ukikipedia.net/wiki/Action#Frame step 8)
The function returns <code>false</code> in all cases, exiting the action loop. Basically it cannot be cancelled into any other action, except for the quicksand death mentioned earlier. Note that Mario can't escape from this action by interacting with an object either, since this action has the "intangible" flag. (See https://ukikipedia.net/wiki/Action#Frame step 8)
==References==
<references/>
{{actions}}
{{actions}}
192

edits