Mario drop held object: Difference between revisions
Jump to navigation
Jump to search
Icecream17 (talk | contribs) (page on algorithm within code) |
(No difference)
|
Revision as of 00:50, 6 September 2022
mario_drop_held_object
is a titular function within Super Mario 64's code. It only does anything if Mario is holding an object.
The function goes as follows:
- If holding a water shell,
stop_shell_music()
- The object's held state becomes
bhvCarrySomething4
which I assume means "dropped" - The object's position is at the HOLP but at Mario's y position
- The object's
moveAngleYaw
becomes Mario's facing angle - Mario's
heldObj
isNULL