![]() |
Super Mario 64 Source
A Super Mario 64 decompilation, brought to you by a bunch of clever folks.
|
Functions | |
static s32 | spiny_check_active (void) |
If the spiny was spawned by lakitu and mario is far away, despawn. More... | |
static void | spiny_act_walk (void) |
Walk around randomly, and dick around with oFlags, oMoveFlags, and oInteractType. More... | |
static void | spiny_act_held_by_lakitu (void) |
Wait for the lakitu to throw the spiny. More... | |
static void | spiny_act_thrown_by_lakitu (void) |
Spin around. More... | |
void | bhv_spiny_update (void) |
Update function for bhvSpiny. More... | |
Variables | |
static struct ObjectHitbox | sSpinyHitbox |
Behavior for bhvSpiny. More... | |
static u8 | sSpinyWalkAttackHandlers [] |
Attack handlers for spiny while walking. More... | |
Wait for the lakitu to throw the spiny.
The spiny is placed in this action after being spawned by a lakitu.
Spin around.
After landing, enter the walk action.
Walk around randomly, and dick around with oFlags, oMoveFlags, and oInteractType.
If the spiny was spawned by lakitu and mario is far away, despawn.
It's possible for the lakitu to despawn while the spiny still
|
static |
Behavior for bhvSpiny.
When spawned by lakitu, its parent object is the lakitu. Lakitu comes before it spawned spinies in processing order. Hitbox for spiny both while thrown and walking. The interaction type is changed to INTERACT_UNKNOWN_08 while walking.
|
static |
Attack handlers for spiny while walking.