![]() |
Super Mario 64 Source
A Super Mario 64 decompilation, brought to you by a bunch of clever folks.
|
Functions | |
static void | fly_guy_act_idle (void) |
Return to regular size. More... | |
static void | fly_guy_act_approach_mario (void) |
Turn toward mario or home, and when positioned nicely, either lunge or shoot fire. More... | |
static void | fly_guy_act_lunge (void) |
Lunge downward at mario, then twirl back up. More... | |
static void | fly_guy_act_shoot_fire (void) |
Turn toward mario, then shoot fire. More... | |
void | bhv_fly_guy_update (void) |
Update function for fly guy. More... | |
Variables | |
static struct ObjectHitbox | sFlyGuyHitbox |
Behavior for bhvFlyGuy. More... | |
static s16 | sFlyGuyJitterAmounts [] = { 0x1000, -0x2000, 0x2000 } |
Unused jitter amounts. More... | |
Turn toward mario or home, and when positioned nicely, either lunge or shoot fire.
If mario is far away, stop and return to the idle action.
Return to regular size.
When mario is close enough or home is far enough, turn toward mario/home and enter the approach mario action.
Lunge downward at mario, then twirl back up.
Enter the approach mario action afterward.
Turn toward mario, then shoot fire.
Then enter the idle action.
By triggering this repeatedly, we can keep obj_grow_then_shrink
|
static |
Behavior for bhvFlyGuy.
Hitbox for fly guy.
|
static |
Unused jitter amounts.