Super Mario 64 Source
A Super Mario 64 decompilation, brought to you by a bunch of clever folks.
Functions | Variables
swoop.inc.c File Reference

Functions

static void swoop_act_idle (void)
 If necessary, grow to full size. More...
 
static void swoop_act_move (void)
 Swoop downward toward mario. More...
 
void bhv_swoop_update (void)
 Update function for swoop. More...
 

Variables

static struct ObjectHitbox sSwoopHitbox
 Behavior for bhvSwoop. More...
 

Function Documentation

◆ bhv_swoop_update()

void bhv_swoop_update ( void  )

Update function for swoop.

◆ swoop_act_idle()

static void swoop_act_idle ( void  )
static

If necessary, grow to full size.

Wait for mario to enter range, then turn toward him and enter the move action.

◆ swoop_act_move()

static void swoop_act_move ( void  )
static

Swoop downward toward mario.

Stop moving downward and speed up after reaching him. Return to home once mario is far away.

Variable Documentation

◆ sSwoopHitbox

struct ObjectHitbox sSwoopHitbox
static
Initial value:
= {
0,
1,
0,
1,
100,
80,
70,
70,
}
#define INTERACT_HIT_FROM_BELOW
Definition: interaction.h:28

Behavior for bhvSwoop.

Has a native room. Hitbox for swoop.