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

Functions

void bhv_pole_init (void)
 Behaviors for bhvPoleGrabbing and bhvGiantPole. More...
 
void bhv_giant_pole_loop (void)
 Main loop for bhvGiantPole. More...
 

Function Documentation

◆ bhv_giant_pole_loop()

void bhv_giant_pole_loop ( void  )

Main loop for bhvGiantPole.

It is equivalent to BehClimbDetectLoop() except for the fact that it spawns a yellow sphere at the top of the pole on the first frame.

◆ bhv_pole_init()

void bhv_pole_init ( void  )

Behaviors for bhvPoleGrabbing and bhvGiantPole.

bhvPoleGrabbing is a generic behavior used almost anywhere the player can grab onto and climb up another object.

bhvGiantPole controls the large pole in Whomp's Fortress and differs from other poles because it spawns a yellow ball that rests at its top. Initialize the hitbox height field for bhvPoleGrabbing.

This is equivalent to using o->oBehParams2ndByte according to spawn_objects_from_info.