![]() |
Super Mario 64 Source
A Super Mario 64 decompilation, brought to you by a bunch of clever folks.
|
Functions | |
static void | enemy_lakitu_act_uninitialized (void) |
Wait for mario to approach, then spawn the cloud and become visible. More... | |
static void | enemy_lakitu_update_vel_y (f32 offsetY) |
Accelerate toward mario vertically. More... | |
static void | enemy_lakitu_update_speed_and_angle (void) |
Control speed based on distance to mario, turn toward mario, and change move angle toward mario. More... | |
static void | enemy_lakitu_sub_act_no_spiny (void) |
When close enough to mario and facing roughly toward him, spawn a spiny and hold it, then enter the hold spiny sub-action. More... | |
static void | enemy_lakitu_sub_act_hold_spiny (void) |
When close to mario and facing toward him or when mario gets far enough away, enter the throw spiny sub-action. More... | |
static void | enemy_lakitu_sub_act_throw_spiny (void) |
Throw the spiny, then enter the no spiny sub-action. More... | |
static void | enemy_lakitu_act_main (void) |
Main update function. More... | |
void | bhv_enemy_lakitu_update (void) |
Update function for bhvEnemyLakitu. More... | |
Variables | |
static struct ObjectHitbox | sEnemyLakituHitbox |
Behavior for bhvEnemyLakitu. More... | |
Wait for mario to approach, then spawn the cloud and become visible.
When close to mario and facing toward him or when mario gets far enough away, enter the throw spiny sub-action.
When close enough to mario and facing roughly toward him, spawn a spiny and hold it, then enter the hold spiny sub-action.
Throw the spiny, then enter the no spiny sub-action.
Control speed based on distance to mario, turn toward mario, and change move angle toward mario.
|
static |
Behavior for bhvEnemyLakitu.
Lakitu comes before it spawned spinies in processing order. TODO: bhvCloud processing oredr Hitbox for evil lakitu.